Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.
3
votes
1answer
400 views
Highlight nav menu terms
OK so i have custom post types and custom taxonomies. I have a sub-menu that is made of the custom taxonomies.
Example:
registered taxonomy: Movies
and
terms: action, adventures, etc. (= menu ...
3
votes
1answer
530 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
0answers
50 views
How can I get WP to build a feed based on multiple taxonomy terms
Currently, the best way to get a feed generated for a single taxonomy term is by letting wordpress generate the content automatically:
example.com/wordpress/feed?tax_slug=term_slug
However, is ...
2
votes
1answer
229 views
Best Way to Leverage Custom Post Type Related Content and Consider SEO
I'm doing a real estate project for a client. I've created a custom post type called "communities" to list new construction communities in her area.
I also want to have deeper sub pages but I would ...
2
votes
1answer
1k views
How to get the first term for the current taxonomy?
I'm using the following code to display the term for a specified taxonomy:
$terms = get_terms( "book_review" );
$category = $terms[0]->name;
However I want to display the term for whatever the ...
2
votes
1answer
570 views
Page queried instead of a custom taxonomy
When I try to get an archive for a custom taxonomy, WP searches for a page and doesn’t find anything.
The Setup
My code from the functions.php:
add_action( 'init', 'register_store_taxonomy' );
...
1
vote
1answer
140 views
Combine two taxonomies in a hierarchical tree
For example, I have WooCommerce products that have taxonomies:
brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand)
category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
1
vote
1answer
94 views
Automatically create child pages when saving a (parent) page
I have a bit of a tricky one...
I have a hierarchical Custom Post Type ('shows') that represents events. Is it possible for the user to create a new page (ie show), save the page and for Wordpress to ...
1
vote
3answers
274 views
Many to Many Taxonomies or rewrite rules?
Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies.
I had a custom post type called "company" with 2 taxnomies
Taxonomy #1 is category with ...
1
vote
2answers
419 views
Add/overwrite a parameter on an existing post type/taxonomy
I have several sites with Custom Post Types and Taxonomies registered by different plugins. Is there a way to add or change a parameter like this
"'rewrite' => array( 'hierarchical' => true )"
...
1
vote
3answers
2k views
how to group custom post type posts by custom taxonomy terms
I would really appreciate if you could help me :) I'm very stuck and don't know how to proceed.
I have a custom post type called event and 2 custom taxonomies registered for it:
event_type with ...
1
vote
3answers
1k views
How to create non-unique sub-category slugs?
What’s the best way to make Wordpress accept non-unique sub-category slugs?
By default, Wordpress ensures that every ‘slug’ portion of permalink URLs is unique, and is very savvy about using this to ...
1
vote
2answers
652 views
Dynamic variable for custom taxonomy in loop?
I have a custom page template that loops through all custom posts with the post_type of "product_listing" AND the custom taxonomy "product_cat" of "shirts" and returns 4 posts per page (as seen ...
1
vote
1answer
1k views
Query posts by custom post type and custom taxonomy
I am writing a custom loop query to filter through a custom post type and custom taxonomy. I have replaced any variables with static values for the purpose of showing you what result I want.
$args = ...
0
votes
1answer
41 views
wp query with dynamic taxonomies and terms?
I need wp_query with more than one taxonomies and terms which are dynamic. Multiple terms to one taxonomies each. Like If one taxonomy is Color it has terms blue,green,red Second taxonomy is Size and ...
0
votes
1answer
96 views
Post type archive page not working
I registered a custom post type using Custom Post Type UI, and created an archive page and named it archive-recipe.php, 'recipe' is my custom post type name. But its not working, instead its using the ...
0
votes
2answers
229 views
Automatically assign a custom post to a custom taxonomy based on custom field value
We have a custom post type called listings, and each listing has a custom field zipcode (which is a 5 digit number). We then have a custom taxonomy area, which can be "New York", "Los Angeles" etc.
...
0
votes
1answer
101 views
Child and grandchild taxonomy listings - 404
I have the following structure:
Hotels (custom post type)
Continents (taxonomy)
Working actual links examples leading to single post:
hotels/europe/france/a-hotel
...
0
votes
1answer
743 views
add filter to wp_list_categories and query if used to list tax-terms?
this is probably a confusing title of my question, but it's exactly what's describing my problem best.
I want to add the category-slug as classname to my wp_list_categories() output.
I found a really ...
0
votes
1answer
343 views
meta_box or custom_field as a second tinymce post-instance?
probably a rather weird question but I have no idea if this is possible or not!?
I created a custom-post-type to handle events. An event always has a future date but once this date is over I want to ...
0
votes
2answers
341 views
automatically create taxonomy with same name as post title
I have a custom post type called "Country Story". The title of which will be the name of the country. I want Wordpress to automatically create a new taxonomy called "country" of the same name, i.e. a ...
0
votes
1answer
2k views
wp_set_post_terms example?
My client has a post type that uses a lot taxonomies. I plan to put this script in a post meta box and hide the existing taxonomies.
Do you know of a great wp_set_post_terms example?
I want to make ...
0
votes
1answer
635 views
show term description instead of list terms of custom taxonomy
For a custom post type (review) I have enabled a few custom taxonomies. One of them is author rating and for that I have added images to the description field of the terms in the taxonomy (1 star to 5 ...
4
votes
1answer
1k views
Sort Custom Post Type Archive by Taxonomy Term
What is the best method (as of 3.1 or 3.2 beta) to sort a custom post type archive by a given taxonomy term?
I'm trying to make a staff page and I want to sort employees by department. So the ...
3
votes
1answer
714 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
1k views
restrict_manage_posts not working in 3.3.1
I have noticed my custom taxonomy filters no longer work in the 3.3.1 admin as per these methods:
Adding a Taxonomy Filter to Admin List for a Custom Post Type?
I also discovered that to filter a ...
2
votes
2answers
198 views
Create new category upon save based on post information
After finding a couple of leads on how to do this, I'm coming up blank. What I am trying to accomplish is to add the post to a new category based on camera name. If the category doesn't exist, then to ...
2
votes
1answer
361 views
How to remove parent taxonomy name from the title generated by wp_title()?
I have a custom taxonomy "Portfolio Categories", and a few these categories say "Cloth", "Shoes", ...
When open some category page, i want the title to be like 'Site Name | Cloth', but with ...
2
votes
2answers
609 views
Redirect to Post List by Taxonomy on User Selection of Taxonomy Dropdown?
(Moderator's note: The original title was "drop down taxonomy")
I want to add a drop-down box filled
with my custom taxonomies, so when
someone selects any value, it
redirects to ...
1
vote
1answer
42 views
Change in custom taxonomy permalink cause 404 error for another custom taxonomy
I have created hierarchy based custom permalinks with help of this link.
But now it is causing 404 error on another custom taxonomy used in site. Although I want custom permalinks on this taxonomy ...
1
vote
2answers
166 views
remove custom taxonomy metabox form custom post type
I have created a custom post type 'hotel' and custom 'taxonomy' so when administrator creates a new hotel and saves it it related custom taxonomy automatically get created but I don't want to show ...
1
vote
1answer
91 views
Posts in loop displaying all taxonomies
I have a loop set up to display projects with two types of taxonomies attached to each. My issue is that within the loop I have set up a function to select specific posts to attach different ...
1
vote
0answers
229 views
Display one post from each term in a custom taxonomy
I am trying to display a list which shows one post (and information about the person posting) from each custom taxonomy term.
The code I am using is as follows, but it is instead printing out EVERY ...
1
vote
0answers
31 views
How do I list terms of a custom taxonomy at i.e. domain.com/brands/
I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be:
domain.com/brands - should list the brands
domain.com/brands/brand/ - should list products of the ...
1
vote
2answers
389 views
Custom Post Type: How to display all of same taxonomy?
Isn't there a permalink structure that will essentially list out all categories of a certain post type?
function create_faqs_post_type() {
register_post_type( 'faqs',
array(
...
1
vote
1answer
454 views
Taxonomy posts on Archive page
Hello, I have been stumped for a few days on a perfect way to display the posts using my custom post type (track) and the taxonomies ( genre, sub_genre). When a user goes to ...
1
vote
2answers
1k views
List all posts in Custom Post Type but group dynamically by Custom Taxonomies
I have a custom post type named "Resources" which has a Taxonomy named "Types."
I have it manually pulling each term which isn't the most elegant solution and every time there is a new term added, I ...
1
vote
1answer
103 views
How to output the taxonomy term name in a widget
I have a taxonomy for example "country" and I want to simply display the term in the side bar eg. New Zealand.
There is only one possible taxonomy per post so I don't need to create a list or ...
1
vote
2answers
2k views
Removing taxonomy base using WP rewrite
I´m trying to create the following URL structure:
example.com/attractions <-- post type archive
example.com/attractions/taxonomy_term <-- taxonomy archive
...
1
vote
2answers
1k views
Passing form inputs into multi-taxonomy query
I'm in the process of building out a search page to perform a query on a custom post type and its associated meta and taxonomy. Eventually, I would it to query multiple taxonomies as well as compare ...
1
vote
2answers
452 views
How to remove “Taxonomy name:” from wp_title
The wp_title-generated <title> in my custom taxonomy archive pages contains the singular taxonomy name with a colon. I can't figure out where this is coming from (or if it's default Wordpress ...
1
vote
1answer
222 views
How to edit/remove a term that's in multiple taxonomies?
Some of the terms on my site appear with the same exact slug, in multiple taxonomies.
For example: 'education' appears in both the 'department' taxonomy and the 'topic' taxonomy.
Now, I can't seem ...
1
vote
3answers
2k views
Get the term id belonging to custom taxonomy on a custom single-post-type.php template page
I have custom post-type 'sermon' with custom taxonomy 'speaker' attached to it. I wanted to assign custom meta values to the speaker taxonomy, so I am using the taxonomy meta class from Rilwis:
...
1
vote
1answer
630 views
Custom post type permalinks giving 404s
I'm having trouble setting up permalinks for a custom post type.
Below is the code from my init function:
register_post_type('topic',
array(
...
'hierarchical' => true,
'query_var' ...
1
vote
5answers
6k views
How to get current term in my custom taxonomy in WordPress?
I need to display the current term in my custom taxonomy in a single post.
example:
My custom taxonomy is products and term of them is product-1, product-2 and products-3.
My post is assigned to ...
1
vote
2answers
616 views
Help with issues on “Adding a Taxonomy Filter to Admin List for a Custom Post Type?”
This question relates to a solution found here from user somatic and mikeSchinkel
I am testing somatic's solution, and it loads and populates the dropdown with no issues, but When you click filter, ...
1
vote
1answer
827 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.).
1
vote
2answers
702 views
Custom Taxonomies Incorrectly Counting Revisions?
(Moderator's note: The original title was "The count of my custom taxonomy is incorrect; it's counting revisions")
Has anybody run into this before? I've added two custom taxonomies, and the count ...
1
vote
1answer
89 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?
0
votes
2answers
34 views
Get used terms by an author as array of strings
I am using list_author_used_terms function below to get the terms used by a specific author (terms of a custom taxonomy 'wossom' for a custom post type 'aya-bi-aya').
function ...

