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

0
votes
1answer
2k views

How to query posts by meta keys AND under specific category?

The scenary: I'm working in a review system for WordPress, a game review website. It uses default posts, that when under "review" category, shows the review's meta fields (from ACF plugin). It's ...
4
votes
3answers
4k views

Custom columns on edit-tags.php main page

I am trying to add custom columns to edit-tags.php for a custom taxonomy that I have created. This custom taxonomy is called equipment-types and it only applies to one custom post type called ...
0
votes
2answers
824 views

SQL to update custom post taxonomies

I have a custom post "review". It uses the same categories and tags from default posts, so they share "category" and "tag" taxonomies. But later I changed the "review" register to have their own ...
1
vote
0answers
9 views

Assign terms to new capability for all taxonomies

I would like to move the ability to assign_terms away from edit_posts and allocate it to a generic_capability so that whenever new custom taxonomies are created, anyone can assign terms, but do not ...
0
votes
1answer
29 views

Custom post type and taxonomies structure

I am looking for having custom post types and "categories" (limited, known, and just only one) for post. I want the following URLs: site.com/cpt (archive of all the posts inside custom post type) ...
0
votes
1answer
763 views

Filter by Custom Taxonomy AND Custom Field

I'd like to give my users the possibility to filter the posts by Taxonomy Terms AND Custom Field values. Like so: [tax]Country:[terms] [tax]Company:[terms] [field]Price:[values] Filtering by ...
0
votes
1answer
4k views

How to display posts from a single category within a custom taxonomy

I am trying to list only the posts from a single category of my custom taxonomy. I have created a custom post type called "Inventory" and a custom taxonomy called "Inventory Category". I then ...
0
votes
1answer
952 views

Displaying the category name of a custom post type

So I have a custom query, in which I'm displaying some results posts of a custom post type called "staff". This custom post type is linked to a custom taxonomy called "department". I am able to ...
2
votes
2answers
4k views

get_query_var('paged') always returns empty

Putting this up after having hit a brick wall for possible solutions. Have a site with quite a few custom post types and associated custom taxonomies. To help make things easy, I'm using a unified ...
0
votes
1answer
11 views

Get the link of the first post of a custom taxonomy in a custom taxonomy list

Currently, I'm doing this using a custom field, but I would love for this to be automatic. Basically, I have a page that will list all the entries of a custom taxonomy, but I want the links of the ...
1
vote
1answer
869 views

WordPress import not importing custom taxonomy

I've posted this already in the WP Support Forum hoping to have more luck here. I'm trying to import a custom post type from one blog to another. (126 posts in the custom post type). I've exported ...
2
votes
1answer
785 views

Ajax post filter by taxonomy

I want to make a filter width more than one tanonomy width ajax and jquery, The demo i want to code is: http://gycweb.org/resources/ I have tried to code with this demo: http://dinhkk.com/demo/...
0
votes
0answers
24 views

Custom post type taxonomoy template is not showing more than two post

I am trying to make a page on a custom post type(new_arrivals) taxonomies (sieraden, trouwringen, horloges) template. I have made the template taxonomy-new_arrivalstype.php like this. Inside I add the ...
10
votes
4answers
6k views

What's the difference between term_id and term_taxonomy_id

The title says it all. At the moment in my custom taxonomies I'm getting the terms using the term id and taxonomy name. Thought this question would've been asked before but can't find it anywhere! So ...
1
vote
1answer
1k views

Displaying custom-taxonomy-terms sorted by parent/child-hierarchy?

I have a custom post type with a custom taxonomy (to show some "best practice" examples on my website). On the single-post-page (single-bestpractice.php) I wanted to show all the terms (categories) ...
6
votes
3answers
2k views

Query Posts by Custom Field 'Price'

I'd like to display all posts within a given price range. For example: When a user inputs 100 and 1000 (in two separate form fields) - my site will display all posts that have a custom field called ...
0
votes
3answers
1k views

Ordering Posts with Custom Taxonomy Terms Array

I can't get the order of my posts (organized by custom tax terms) to come out right in my loop. I made a custom post type of 'staff', in staff there is a custom taxonomy of 'staff-title'. I added ...
0
votes
0answers
19 views

If on parent term display child terms but on child terms display parent and siblings

I've been searching everywhere including the get_terms codex for a solution, but can't seem to get it right. I have a hierarchical taxonomy called "themes" with parent terms (e.g. "Acquisition of ...
0
votes
1answer
36 views

How to Manage and link certain custom taxonomy?

I'm creating some kind of soccer dedicated website.Assuming we created 4 different taxonomies: Teams, Players, Tournaments, Managers. Team includes two different types: National Team Club ...
0
votes
0answers
16 views

Changed Post Type Name and Taxonomy Name. How to change it in Widget as well?

Hope someone can explain me how to update the widget to the new post type name and taxonomy name. My Old custom Post Type Was "aps-products" and new is "phones" and my old Taxonomy Name was "aps-...
0
votes
1answer
720 views

How to display ACF taxonomy checkbox links on WooCommerce product category archive

I am using the Advanced Custom Fields plugin, and have several custom fields that appear on the WooCommerce product category edit screen (where you add/edit product categories), which then display the ...
2
votes
1answer
1k views

wp_dropdown_categories in custom post type with custom taxonomy

I have a custom post type with its own taxonomy, basically 'show venues' is the post type and venue-regions is the taxonomy. Seeing how a venue cant exsist in mutiple regions, I've removed the ...
0
votes
1answer
422 views

Don't display taxonomy if empty

I'm using the following code to display my custom post taxonomies: function display_post_taxonomies( $content ) { if( is_single() ) { $args = array( 'public' => true, '_builtin' => false ...
1
vote
1answer
62 views

Custom taxonomy on users with UI

WP lets us register_taxonomy() with users as the object type, thus creating taxonomies mapped to user IDs rather than post IDs. Unfortunately this method is poorly documented and many features don't ...
0
votes
0answers
19 views

Change the url of a custom post type to include taxonomy

I'm trying to create a custom post type where there will be a lot of identical post names, but they will have different taxonomy values. Is it possible to define a slug mode where the taxonomy ...
1
vote
1answer
28 views

List child terms if parent but show nothing on children

I have a taxonomy called region with a hierarchical structure; • Southern Africa   • Botswana   • South Africa   • Zambia   • Zimbabwe In my taxonomy-...
0
votes
2answers
552 views

Display and register custom categories for custom post types

Ok here we go. I have 2 different custom post types. The first is called 'portfolio', the second one 'games'. All the game reviews I write are 'games' posts. To have a better overview I created ...
0
votes
1answer
480 views

Dynamically create/remove terms in taxonomy when custom post type is published/trashed

Am struggling a bit with creating & removing terms based on when a custom post type is published and trashed. Ideally, I would like to create a new term in my custom taxonomy when a custom post ...
0
votes
1answer
32 views

Custom rewrite permalink doesn't work

function create_posttype() { register_post_type( 'events', array( 'labels' => array( 'name' => __( 'Events' ), 'singular_name' => __( '...
0
votes
0answers
26 views

Form to custom post type and custom taxonomy 2

Following on successful addition of custom taxonomy with a great help here I've been banging my head on the following three things. How would I add another taxonomy "trademen-category"? How would I ...
0
votes
0answers
20 views

taxonomy_radio is not showing anything in the front-end in cmb2

I am building a website in where I want to show the tag selected from the custom fields (mainly from radio button). I have setup the cmb2 as like below the codes.. add_action('cmb2_admin_init', '...
0
votes
0answers
15 views

Issue with temporary link on the frontend

I have a site working with a custom post type (Exhibition), and custom taxonomies (Exhibitions -> Current, Future & Past). When I display the archives for the Future and Past taxonomy values, it ...
0
votes
1answer
32 views

Form to custom post type and custom taxonomy

I am actually learning still. so if my question sounds a bit silly. kindly pardon me. But I seriously need help here. Using the links below, I managed to get the form working to the extent that it ...
3
votes
1answer
46 views

Save Filter for Taxonomies

I want to get rid of undesired HTML, mostly being published by my editors when copying text from other sources, like other pages or from Word Therefore I use add_filter( 'content_save_pre' , '...
0
votes
2answers
556 views

Possible to register multiple custom taxonomies in one function?

I'm registering 7 custom taxonomies in my functions.php. Since each function uses the same labels and arguments and is attached to the same Custom Post Type, I'm wondering if it's possible to register ...
0
votes
2answers
2k views

WP_insert_term how to insert multiple values as taxonomny term?

I have this script (found online) to import the values of an input form field as a taxonomy term. I got it working, but now I'd like to import/save the values of multiple form fields. Now all it does ...
0
votes
1answer
499 views

Taxonomy Url with Custom post type prefix re-write rule

I have a taxonomy called Section and a Custom post type called Developments. What i need to achieve is a permalink on the taxonomy with custom post type prefixed: e.g: custom post type: development ...
1
vote
1answer
1k views

RSS feed for dynamic set of custom taxonomies terms

I've got a CPT called 'Job' and three different taxonomies associated with it: location, type (permanent/contract) and expertise. I've got a filter on the website that allows to search for jobs of ...
0
votes
1answer
415 views

Advanced WordPress search form based on custom taxonomy and custom meta value

I would appreciate if someone could help me out with the following issue. Here is the thing. I created two select boxes so I could filter and display posts from a custom post type based on two values -...
-1
votes
2answers
914 views

Later change of taxonomy slug base not changing permalink

When defining a taxonomy I successfully set the slug base for it as well, all via functions.php. However, any change on the slug’s base (via editing functions.php again) is being recognised, i.e. it ...
0
votes
1answer
637 views

Can I output a custom taxonomy as a submenu in the site navigation menu?

I'm building a WP 3.2 site with a couple of custom post types and taxonomies. I'm calling one of these custom post types programs, and its associated taxonomy is called topics. I'd like to add an ...
0
votes
0answers
17 views

Can't show post based on different level taxonomy

Custom post type : book Custom taxonomy : genre I have created some genre and I want to show immediate children genre of a specific genre. I have used following query $p_query = new WP_Query( ...
-1
votes
0answers
27 views

How to Modify Archive Page for Custom Post Type?

I have created a video post type for a new project on my blog using CPT UI plugin and it's working maybe not perfectly. I've followed the tutorial on WPBeginner. To make http://babsreviews.com/video ...
0
votes
0answers
24 views

How to make autocomplete search

Basically i would like to make a autocomplete search form that only work for under a taxonomy. Actually i have created a post type name "property" and there has a hierarchical custom taxonomy called "...
0
votes
1answer
32 views

How can I pull the slug of a custom taxonomy and output it in a class?

This is the file I'm working with: <?php $class =''; foreach ($consoles as $console) { $class .= $console->slug . ' '; } ?> <div id="<?php the_id(); ?>" class="<?php echo $...
0
votes
2answers
549 views

single_cat_title equivalent for custom taxonomy?

I have made a custom post type "projects" with custom taxonomy "tag", here's the snippet from code: $args = array( 'post_type'=> 'projects', ); $qry = new WP_Query( $args ); ?> <...
1
vote
1answer
35 views

Add description to custom taxonomy admin metabox

I've created a custom taxonomy: add_action( 'init', 'create_collection_taxonomies', 0 ); function create_collection_taxonomies() { $labels = array( 'name' => _x( '...
2
votes
2answers
5k views

Custom Taxonomy as checkbox or dropdown

I have registered a custom tax to my CPT. On the edit screen the tax meta box appears with an autocomplete field. Is it possible to display it as checkboxes or dropdown instead?
0
votes
1answer
20 views

Get pages only with a specific taxonomy

I added a custom taxonomy called 'post_tag' to the pages, and I am trying to make a query that gets only the pages that have a specific tag set. I already tried in several different ways, even using ...
0
votes
1answer
464 views

Can't pull posts of a Custom Post Type based on the custom taxonomy of the CPT

My question is about retrieving custom post types via get_posts, when custom post types also have a custom taxonomy. I can use get_posts to retrieve all posts of a custom post type, but when I attempt ...