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)

2
votes
1answer
3k 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
870 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
856 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
1answer
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
2k 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
2answers
110 views

Restrict individual category combinations

While assigning multiple categories to a post, I need to restrict the category choices on a post depending on what other categories have already been assigned to the particular post. For example, ...
2
votes
1answer
811 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
448 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
444 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
893 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
94 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
2answers
3k 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
631 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
2k 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
1answer
7k views

How can I add the featured image functionality to a custom taxonomy?

I would like to be able to use the 'featured image' functionality, found on post types, for a custom taxonomy. I have a taxonomy called 'collections' and I would like each collection to have a ...
2
votes
2answers
2k 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
146 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

Is there a way to use regular categories with custom post types?

Is there a way to use regular categories with custom post types? It seems like there is better functionality and options with regular categories (such as permalink options, etc.).
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
9k 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
435 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
203 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
960 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
796 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
774 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
265 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
55 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
474 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
7k 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
67 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
468 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
1k 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){ ...
2
votes
2answers
8k views

Setting Custom Sort Order of Posts within a Category

I've got this category setup that includes several posts. By design it's not a blog, but a staff listing. Currently all of the staff members have their own posts with the category. I'd like to be able ...
2
votes
2answers
2k views

How can I make post fields required in Wordpress?

I am setting up a Wordpress site as a CMS and trying to figure out a way to make certain post fields "required" before an author can publish a post. In particular, I want authors to be required to ...
2
votes
1answer
303 views

How to override Category rendering mechanism

Currently for every category there is a separate template (category-1.php, category-2.php, etc..), in my case there is over a hundred of them. I want refactor it to 4, so for instance if $cat is in ...
2
votes
1answer
1k views

Categories not working as expected with custom post type

I have a custom post type set up like: add_action('init', 'portfolio_register'); function portfolio_register() { $labels = array( 'name' => _x('Photos', 'post type general name'), ...
2
votes
1answer
5k views

How can I limit WordPress editor roles to a specific category?

We're trying to use WordPress as a light CMS system and we need to be able to section off parts of WordPress so that editors for one product aren't able to edit other products. Seems like out of the ...
2
votes
2answers
714 views

Calling clean_term_cache() fails when called in the same plugin that creates terms, succeeds when called separately?

My plugin code is below. In the myPlugin_cleanup() function, I'm creating some categories and assigning term id 1 as the parent. Due to the known bug with creating categories via script (the ...
2
votes
3answers
2k views

Display only one result from “get_the_category_list”

I'd like get_the_category_list to only display one or two categories instead of all the categories associated with the post. Haven't been able to find any results. <?php echo ...
2
votes
1answer
1k views

get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category

Thanks to @MikeSchinkel I have the following code: $term = get_query_var('term'); $brand = get_term_by('slug',$term,'brands'); // This here just to illustrate $categories = ...
2
votes
2answers
171 views

How to control template resolution if both Author and Category filter in place?

The following url resolves to the category template: http://localhost/author/myusername/?category_name=somecategory I have a category-somecategory.php template and just a generic author.php template. ...
2
votes
1answer
608 views

how do I filter single_cat_title to remove all instances of a particlular word

I have certain names in my category title (that need to stay there for other reasons). I am displaying all category titles with the blog name prefixed, but on categories that already have this name I ...
2
votes
1answer
64 views

Permalink Settings: optional settings doesn’t apply to editor

In my WordPress 3.8 in my "Permalink Settings" I've chosen the option "Post name". Then I've added "Optional" for "Category" ( %category%/%postname% ), the URLs works like I wanted - ...
2
votes
1answer
40 views

Edit category output

I am using the following to display all the categories from my custom post type. How can I edit it so instead of having the output of the categories in <ul><li> elements it has <a href ...
2
votes
1answer
471 views

Get tags specific category

I use this code to get tags from category. get all tags from category I want to display in the category page the specific tags. I have 8 categories and this is my code: <?php if ...
2
votes
1answer
158 views

How to create tabled index of posts in a certain category

I have a tech blog, what I want to do is to create an index page for articles in a certain category. For example, I want all the articles under the category "WordPress BasiX" to be arranged in an ...
2
votes
1answer
475 views

How to generate and display widgets areas dynamically?

I want display different content in sidebar for every category, but as I create new ones I have to create the area for it. How can I have widget areas for every category and also display them on theme ...
2
votes
1answer
277 views

Unpublish all posts in a category

I have a category with about 3.500 posts. 2.500 are not published, but saved as drafts. I want to unpublish all the remaining 1000 posts from this one category. Maybe I will want to delete all of the ...
2
votes
1answer
402 views

Category and tag with same name

IN my blog, if I have a category and tag with the same name, it will make the tag have a number in the URI. Example: category/php tags/php-2 Is there anyway to make my tags with the same name as ...