Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

learn more… | top users | synonyms

3
votes
3answers
775 views

Issues when rewrite rules collide?

Is it a problem to have a custom taxonomy and a custom post type use the same rewrite structure? I have a custom taxonomy people and a custom post type people_bio. The idea is that you get a list of ...
1
vote
1answer
571 views

Category slug field missing with registered custom taxonomy

I have registered a new taxonomy term using the same code on two different sites. On one site (a vanilla install), If I go to my taxonomy term in the admin menu, I see a 'slug' option for the add ...
1
vote
1answer
95 views

Is there a way of storing posts and pages under the same hierarchy?

I'm working on a site which needs to have pages and posts sorted into the same categories. The pages have their own individual hierarchy structure. Is there a way to do this using a custom taxonomy?
3
votes
1answer
3k views

Displaying the Name of the Queried Taxonomy Term on a Term Archive Page?

(Moderator's note: post was originally entitled "Taxonomy.php title") How can I display the "Posts classified under:" title for the taxonomy.php page? For example, this code is used in tag.php: ...
2
votes
2answers
4k views

Displaying Posts Related to Other Posts by a Taxonomy Term?

I have a custom post type for musician's profiles, and a taxonomy for their location (categorised hierachically into Countries and then Cities). On the musician's individual profile pages I need to ...
5
votes
1answer
10k views

Get term SLUG by term ID

I have a hierarchical taxonomy called 'tarefa' I have to display all posts from a child taxonomy. I used get_term_children function function to verify if the taxonomy parent has children. If the ...
15
votes
6answers
21k views

Include custom taxonomy term in search

I have two custom taxonomies applied to two custom post types. the terms list on the sidebar just fine and will list all posts associated with it. However, if you search one of the terms in specific, ...
2
votes
1answer
6k views

Get the 'slug' of a custom taxonomy

Use case: I have a custom post type of 'show' for a music venue. In the sidebar we want to display any related 'show' to the current one on single-show.php. They will be related by a custom taxonomy ...
0
votes
1answer
129 views

custom taxonomies label in hebrew

I'm trying to add a custom taxonomy. using the following code: function cities_custom_taxonomies() { register_taxonomy( 'city', // internal name = machine-readable taxonomy name ...
4
votes
5answers
3k views

How to replicate some of Drupal Views functionality in WordPress?

I admit, I still think in Drupal. (In choosing between developing in WordPress and Drupal, I still tend to favor Drupal, because I haven't yet figured out a few things on the WordPress side.) Can ...
4
votes
5answers
5k views

Add post classes for custom taxonomies to custom post type?

I was surprised to learn that custom taxonomies aren't added as body or post classes like categories and tags are. I'm sure this will be added in a future version of WordPress, but in the meantime I ...
5
votes
3answers
3k views

Getting the Intersection of Two Custom Taxonomy Terms for a Custom Post Type?

(Moderators note: Was originally titled "How to get_posts of a custom post type that is in two custom taxonomies?") I have a custom post type that has two taxonomies which are separate, one called ...
3
votes
1answer
806 views

How to Programically add to the new WordPress menus

Pre WordPress 3.x I was using: add_action( 'init', 'product_register' ); add_filter( 'wp_page_menu', 'custom_page_nav', 90 ); function product_register() { // register_post_type( 'product', ...
3
votes
1answer
569 views

Sorting for each custom taxonomy

I have a custom post type called Baseball Players which contains teams, positions, and a league taxonomy. A team consists of the team name, logo, description, and coach. A position just consists of ...
2
votes
1answer
451 views

Custom Taxonomy list: how to make “choose from most used” default to open, checklist

I'm doing a site for a wine importer. The wines have many custom taxonomies (type of wine, import/domestic, etc.) When adding a wine, the taxonomies show up in the right column but not the way I'd ...
11
votes
1answer
7k views

Saving Taxonomy Terms

I have an interesting problem which I hope someone can quickly answer. I have created my own metabox which, based on "MY METABOX CODE" (list below) is correctly displaying a dropdown list of all my ...
0
votes
1answer
360 views

Which file/template is in charge of taxonomies for custom post types?

I have set up a CPT, lets say "Movies". 'rewrite' => array( 'slug'=>'movies', 'with_front'=>FALSE ) I added a taxonomy "Genre". 'rewrite' => array( 'slug'=>'movies/genre', ...
4
votes
3answers
5k views

Fixing Pagination with Custom Taxonomy Archive

I've been trying to set up a way to write posts in a series on my site. The idea is that each post can belong to a different series in a custom taxonomy. I've gotten just about everything set up the ...
0
votes
2answers
83 views

Implementing Pillar Posts; Long Posts yet with Some Page-Like Handling?

One of the best blogging practices is that of writing "pillar posts" - featured content that's longer than a typical post and will likely generate a high volume of traffic to your site. Extensive ...
3
votes
2answers
3k views

Linking between custom post types as if they where taxonomies?

Let's say we create an IMDB like website. So (for example) we can have two types of custom post types: movies actors We would like to see in each movie page all of it's actors. And in each ...
2
votes
1answer
5k views

Custom Metabox with Taxonomy Dropdown - Saving Issue

My goal was simple --- to create a custom post type with a custom metabox with a simple drop down list of taxonomy terms instead of utilizing the tags or checkboxes. The reason was to ensure that the ...
4
votes
5answers
5k views

Adding Custom Field to Taxonomy Input :Panel

I am looking to achieve something which I figured would be fairly simple to accomplish but it seems there are no real examples available to achieve my needs. Essentially I have a custom post type of ...
1
vote
1answer
240 views

How do I create a custom archive page depending on the custom taxonomy type?

I've created a custom taxonomy called 'productCategories' using register_taxonomy() function. I've set the rewrite slug to 'products'. My question is: How do I render a different template to ...
2
votes
1answer
2k views

Removing Duplicate Custom Taxonomy Terms from within a Dropdown Select?

I have a custom post type that includes a custom taxonomy, called client_name. There is a page that loads these custom post types and displays them. What I need to develop is a dropdown list that ...
6
votes
3answers
24k views

Loop through custom taxonomies and display posts

While I've been able to get this working for normal WP categories I've been unable to get it working for custom taxonomies. I'd like to loop through each custom taxonomy (categories in my case) and ...