Every Post in WordPress is filed under one or more Categories. Categories allow the classification of your Posts into groups and subgroups, thereby aiding viewers in the navigation and use of your site.

learn more… | top users | synonyms (1)

3
votes
4answers
148 views

View category in the preview of Theme Customizer

I am building a theme which Theme customizer changes colors, sizes, etc. and has also the option to choose a category and style that category specifically. How can I display that category in the ...
3
votes
1answer
123 views

Excluding posts from a category but only if they're not in multiple categories

I am looking to exclude a category in Wordpress. I am referring to the Wordpress Codex page on wp_query but I am having the following problem: I want to exclude posts from category 1, but if a post ...
3
votes
1answer
108 views

How can I create a loop to build slides based on multiple categories using Coda Slider

I'm using a loop to generate the slides I need for a Coda Slider slideshow. The slides should be pulling the most recent post from 5 different categories. The problem I'm having is that it's pulling ...
3
votes
1answer
178 views

Saving two categories from two dropdowns in front end posting form

So, here's the deal: I have two category dropdowns, the first for the parent categories and the second for the child categories. They form a chain so that when you select the parent category the ...
3
votes
1answer
1k views

How to convert regular categories to custom taxonomy?

I have a big list of categories/subcategories (around 60 in all). It now makes sense that instead of these categories being available to any post type's category list, these categories should be moved ...
3
votes
1answer
522 views

Redirecting specific category to subdomain

I have a problem in following situation: I have 2 separate Wordpress 3.3.1 instances, main at domain.com and one of them (which consists of simple Q&A type site) is available from subdomain ...
3
votes
2answers
438 views

What could be causing my wp_query pagination to break?

I'm using categories and wp_query to create an "advanced search" feature on my website. It was working great until recently I noticed that the pagination was broken. The following 2 links should ...
3
votes
1answer
862 views

How can you make permalink work for custom post type and taxonomy?

I have spent days now trying to figure this out, StackOverflow is my last resort. All I want is the following: ...
3
votes
1answer
761 views

Remove date and category filters when editing custom post types

The answers to this question give excellent instructions for adding filters to the admin edit.php screen for custom post types. But they don't explain how to remove the existing filters on date and ...
3
votes
1answer
1k views

Display only the latest post from multiple categories

I have a jQuery slider at the top of my index.php, which works fine. The only problem is that I would like to use query_posts to only display the latest post from five different categories, and always ...
3
votes
4answers
2k views

How to change the layout and styling of posts according to their category in WordPress?

I'm customizing a WordPress installation and was wondering what the best way to do this is. I want to customize each post completely depending on the category. Each post will be under only one ...
3
votes
2answers
1k views

adding custom fields to next and previous post link

Im trying to make my next and previous post buttons display my custom field but for some reason it doesnt display the custom field its just blank. Heres my code. <div id="next-prev-links"> ...
3
votes
1answer
863 views

Qtranslate displays empty categories with get_categories()

I am using qtranslate (Wordpress Plugin) on a website and I don't want to display categories that don't contain posts for a language. So when I do get_categories() (without qtranslate) the ...
3
votes
2answers
1k views

Using URL parameters, list posts from category and custom taxonomy

For example, http://example.com/?cat=6&tag=books lists posts that belong to category ID 6 and tagged 'books' (i.e. posts that satisfy both conditions). Similarly, ...
2
votes
2answers
847 views

Using categories & “stickyness” together

I've got a custom query on my homepage showing all posts in a certain category. I need this query to respect sticky posts, but it seems from my research that category queries ignore stickyness. My ...
2
votes
1answer
4k views

Are Custom Taxonomy Templates Possible?

I am trying to have some information specific to a taxonomy term appear above that taxonomy's archive list. Example: Taxonomy is 'Sports', with football, soccer, and baseball being terms within the ...
2
votes
1answer
9k views

WooCommerce: List All Categories

I'm using the WooCommerce plugin with WordPress and within my theme I'd like to list all categories within a navigation menu with PHP. I've tried using woocommerce_product_categories(); but I don't ...
2
votes
1answer
951 views

get_categories returns an array with one category

I'm running a query on a custom plugin to display all categories and put them into a dropdown (the select parts are outside the loop) which looks like this: <?php $ember_categories = ...
2
votes
2answers
896 views

Preventing index.php?category_name=something from redirecting

I'm trying to filter posts in a category by the year of the post's date. I also want to do this without being redirected to the year template so my ideal URL would be ...
2
votes
2answers
8k views

Getting Wordpress custom taxonomy/category?

Well, I'm using my own taxonomy for custom post type. It looks like this: register_taxonomy("our_gallery", array("gallery"), array("hierarchical" => true, "label" => "Types", "singular_label" ...
2
votes
2answers
3k views

Removing the number in a category slug

I have a category that ends with -2, and there's no way I can change it back to the plain word. I know there are problems with numeric slugs, but this is just a word. I also know that a common answer ...
2
votes
1answer
895 views

Why aren't sub-categories nested after creating post in the WP Admin?

I have several sub-categories set up. Everything displays properly as far as nesting (see below) when creating a new post. Category 1 --Sub Category 1 --Sub Category 2 --Sub ...
2
votes
3answers
478 views

Is there a plugin that will completely remove the category system?

I have no use in categorizing/tagging my posts with anything, at all, and it doesn't look very good to have every post say "filed under: uncategorized." Is there any plugin to do this, or do I need ...
2
votes
3answers
637 views

Exclude category on blog list page

I've got a site with a News page (archive for category 'news') and a separate Blog page. When I make a post for the News page I select the category 'news'. So, on the news page you only see the posts ...
2
votes
1answer
1k views

Only list categories that contain posts of a specific custom post type

I have three custom post types set up, articles, videos and photos. I am using standard categories for these post types, and sharing the categories across all post types. I am trying to create a nav ...
2
votes
2answers
98 views

Categories Template Assistance

I have found a tutorial online for creating a custom categories template for my archived posts within a particular category. This however is targetting a specific category ID (see below), is there ...
2
votes
4answers
1k views

How to show custom static content at top of each category page?

I want to display custom static content, essentially an image and a small description, at the top of each category page (different for each category and sub category), displayed above a list of titles ...
2
votes
1answer
2k views

Filter front page posts by category

I have three categories (news, pics, vids), but I have all of them showing up on my front page. I would just like the front page to have the news category (and possibly uncategorized category) to ...
2
votes
2answers
4k views

Search by word, category, tag, author

I want to make a search page, offering search functionalities by: 1) word 2) tag 3) category 4) author Can you recommend any technique, any guideline as per how to tackle this?
2
votes
4answers
745 views

How to hide certain categories in wordpress dashboard?

I have two categories which I dont want to show to my site's admin, I want them to be added automatically everytime a new post is creatd or updated. I have the code for it. But now i also want to hide ...
2
votes
2answers
3k views

List posts by category exclude current post

I'm trying to get a list of posts from one category, echo the title and the permalink of all posts on that category but exclude the permalink and the post name IF the current post is on that list. It ...
2
votes
2answers
3k views

Show Previous/Next Posts navigation only inside the same category

Is it possible to force previous/next navigation to browse through the posts (back and forth) that are only inside the same category (and to exclude other categories)?
2
votes
2answers
3k views

Restrict categories to a custom post type

In the WP-Admin when creating a post or a custom post type I want to restrict certain categories to a custom post type. For example, Posts will only be able to select Category A and B. And custom post ...
2
votes
2answers
1k views

WP 3.0.5: Best way to add custom metaboxes for post categories?

I haven't been working with WP for a while and noticed that there are some new features in WP 3+ such as creating meta data for taxonomies. I'd like to be able to add unique meta data setups for ...
2
votes
2answers
147 views

Server-side subscribe by email?

Is there a server-side email solution that will allow users to subscribe to updates via email and, specifically, also be able to do this by category? I'm aware of Aweber and Feedburner being able to ...
2
votes
1answer
1k views

Create terms when registering taxonomy?

I'm registering taxonomy in my functions.php file: register_taxonomy("our_gallery_types", array("gallery"), array("hierarchical" => true, "label" => "Categories", "singular_label" => ...
2
votes
8answers
10k views

Filter get_categories() for taxonomy term in WordPress

I want to show a category only if a (custom) post is in that category AND region = $name for that post. So, e.g. I have a custom post (type "business") named "Mamma Mia" in child-category: ...
2
votes
2answers
478 views

How do I view a feed consisting of posts from multiple categories?

By default, my site's RSS feed URLs are in this format: category/[category-name]/feed/ As far as I can tell, that doesn't allow me to view a feed using multiple categories. Is anyone aware of a ...
2
votes
2answers
952 views

Display posts from the same category using next/previous post link

I am using this code, but once I click on the next post/previous post link, I am redirected to the next post/ previous post of the different category previous_post_link('%link', 'Prev post in ...
2
votes
2answers
210 views

Show pages and articles in category search result

I'm using "Map Categories to Pages" to add categories to pages. When I call the link http://mypage.com/category/catA+catB I get all my articles, that are associated to the categories catA and catB. ...
2
votes
2answers
1k views

Remove / Rename Uncategorized Category In Wordpress

I have installed wordpress Muilit Site (NETWORK) I need to Remove / Rename Uncategorized Category In Wordpress. How is this possible?
2
votes
2answers
1k views

Different templates for parent and children categories/taxonomies

I would like to know what is the best way to create a different template for parent and children categories and/or taxonomies. Example: I have a taxonomy called region, which I want to divide in ...
2
votes
4answers
1k views

Assign an icon to a category post

Is there a way to assign an icon to a category post as well as the posts original image that's set in the featured images? So if had a post about grapes I would have an image of some grapes in the ...
2
votes
2answers
296 views

How to show a category post to a specific registered user

I'm working a private blog and I'd like to know if this can be done with any other plugin or any other way: Lets say we have 3 categories: CA, CB and CC, and 3 users, UA, UB and UC, all of them can ...
2
votes
2answers
56 views

Rewrite category wordpress

Is it possible to rewrite only one category ? I have a category "Photos" and just for this category. I just want to rewrite it from /category/photos to /photos
2
votes
2answers
504 views

Are Categories, Tags and Custom Taxonomies any different in regards to SEO?

Simple question, really. I know pretty much nothing about SEO, and i'm trying to define a good structure for this clients online magazine. I already know i'll be using a few custom taxonomies along ...
2
votes
2answers
9k views

Show posts of category in a page

I would like to be able to display all the posts in a certain category on a page so that all posts are on that one page and there is no pagination. If possible, I would also like to display a short ...
2
votes
1answer
69 views

What Defines What Category A Post Picks (if in multiple)

If I have a post in multiple categories, what defines what category shows up in the URL? Assuming I have permalinks setup as /%category%/%postname% is it the ID or the name?
2
votes
1answer
624 views

Control term order on a per-post basis

I have a taxonomy in which term order matters, but varies from post to post. So I want to be able to set the order that terms are displayed in on a per-post basis: My first post | Tagged: Apples, ...
2
votes
2answers
2k views

How to remove categories filter from wordpress admin?

I removed the categories column from "All posts" page by applying this code. add_filter("manage_edit-post_columns", "my_post_edit_columns"); function my_post_edit_columns($columns){ ...