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

1
vote
2answers
240 views

Is slug “type” reserved and can't be used in taxonomy rewrite?

I desperately need your help guys. I am trying to register custom post type and taxonomy the following way: add_action( 'init', 'product_catalog' ); add_action( 'init', 'product_type', 0 ); function ...
0
votes
0answers
182 views

How to Create Custom Post Type with Multiple Color Options?

Can you please let me know what is the best choice to create a Custom Post type like "Pen" which has Taxonomy called "Brand" now each of these post has definitely Black color which I will use as ...
-2
votes
1answer
30 views

Getting Catategory / Taxonomy Description on Non-archive Pages

Can you pull in the description of a custom tax on pages other than the taxonomy-(custom-tax).php i.e on the home page you want to show the description of a custom tax. This works on the ...
0
votes
0answers
262 views

Listing terms used by a custom post type (the taxonomy is shared across multiple CPT)

I have multiple custom post types and they share some custom taxonomies. I want to a (hierarchy format) drop down of only the terms used by a specific custom post type - the drop down will be the ...
0
votes
1answer
34 views

Getting the taxonomy

I have the following query along with a custom post type called "Questions": <ul> <?php $args = array( 'post_type' => 'questions', 'posts_per_page' => 50 ...
1
vote
1answer
135 views

Missing Posts in Custom Taxonomy List

Symptom: A custom post type assigned to a taxonomy does not appear in the admin table listing all posts with a specific term attached. From my dashboard if I click on the taxonomy under the custom ...
0
votes
1answer
190 views

Issue on adding Icons to Custom Post Type

Can you please take a look at following code and let me know why i am not able to add icons to custom post type? add_action( 'admin_head', 'my_icons' ); function my_icons() {?> <style ...
0
votes
2answers
209 views

Taxonomy Overview Page?

I'm looking for a way to create an overview page for taxonomies. So say you're on a page for a certain page (domain.com/my_tax/myterm) it would show different content types in the 'myterm' category. ...
2
votes
1answer
113 views

How to sync tags between posts that are linked through Posts 2 Posts?

I am faced with a thorny problem and can't seem to find the solution in the wealth of community knowledge on the web. I have two custom posts types "Person" and "Activities". I use posts 2 posts ...
0
votes
1answer
31 views

Query a custom taxonomy for certain posts

I am trying to show some posts on a template based on their custom taxonomy. Here is my template code: <?php $field = get_field('newsletter_date'); ?> <?php ...
0
votes
1answer
175 views

How to set up multiple taxonomies for groups of posts

I have a site that has several types of posts, with categories for each: a News section (categories: Local, International, Breaking), a Video section (categories: Music, Kids, Holidays), and a Photo ...
1
vote
1answer
681 views

Custom Post Type permalink shows wrong page: homepage/index.php

Hello I am working on a project where I need to have custom post types. Creating the post types and making them show up in my admin menu was a walk in the park using the following: add_action( ...
0
votes
1answer
363 views

How i add new link after Edit | Quick Edit | Trash | View in quick edit section

I want to add new link in custom post type . I have create a custom post type and i want to add new link after Edit | Quick Edit | Trash | View links like Edit | Quick Edit | Trash | View | PDF . How ...
1
vote
1answer
515 views

Display post taxonomies tree

I was able to get all the items of a custom taxonomy for a post, like this: $args=array('orderby'=>'parent',"fields" => "all"); $term_list = wp_get_post_terms($post->ID, 'tvr_amenity', ...
0
votes
1answer
110 views

Insert term description programmatically into hierarchical custom taxonomy

I have following code and I want to specify a term description for each actor and director in $tmdb_actors_arr and $tmdb_directors_arr: // build array $my_post = array( 'post_title' => ...
0
votes
0answers
227 views

Adding a query var to taxonomy term archive - gets redirected to the other taxonomy archive page

I want to pass another query var in the URL through a form while I'm on a taxonomy archive page. The URL would look like so ...
1
vote
4answers
167 views

Taxonomies in URL

I have a custom post type and two custom taxonomies associated with it. One is locations and the other is activities. How can I form the permalinks in the following format? ...
1
vote
1answer
298 views

'category__and' for custom taxonomy?

I've a custom post type 'post-type-x' and three custom taxonomies attached with it 'taxonomy-1', 'taxonomy-2' and 'taxonomy-3'. I want to retrieve all the posts that have custom taxonomies ...
-1
votes
1answer
106 views

Custom taxonomy meta fields

I'm trying to make an anime site like myanimelist.net but in spanish with links of the episodes at the bottom. I created a post type called anime, and some custom taxonomies associated with it: ...
1
vote
0answers
192 views

Same term from custom taxonomy in two different custom post types?

I use a front end form to insert custom post types, an input is used for inserting terms (keywords) to a custom taxonomy for this custom post type. I just noticed in the back-end when I view the ...
0
votes
0answers
137 views

Extending wordpress search to include excerpts and taxonomies?

Apologies for the lack of code, but I have no idea where to start with this - is it possible to extend Wordpress's search function to include excerpts and (custom) taxonomies as well as the standard ...
0
votes
1answer
555 views

Check whether a custom taxonomy term has published posts?

I'm making a magazine theme for a client and using a custom 'issue' taxonomy. There is a new issue every week, and I also have a function that get's the latest issue. But the editor creates a new ...
0
votes
1answer
200 views

Filter posts by specific custom category and current tag

I have set up a custom post type (buyers_club) with a custom category (buyers-club) and custom tags (country). I'd like to show a list of related posts by specific category, FEATURED, and by the ...
0
votes
1answer
210 views

Taxonomies not appearing in columns on dashboard

I'm having some issues trying to get taxonomies to appear in the post columns on my dashboard, the custom functions appear correctly, just not the taxonomies, anyone see where I'm going wrong? Here is ...
0
votes
1answer
851 views

remove support for 'Categories' for a custom post type

How would I go about removing support for Wordpress 'Categories' for a custom post type? I've created a custom taxonomy for the post type, so there is no need for the standard categories. Oddly, I ...
0
votes
0answers
35 views

How do I output a list of categories from a tag?

I want to show a list of categories associated to a tag. So say now I have two posts: Brown Sneakers which is in the Category GOLF child of SPORT and tagged USA and Pink shorts which is in the ...
1
vote
1answer
2k 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
0answers
228 views

Hide WooCommerce out of stock product attribute items

I've created an attribute for WooCommerce products: size, it has three items, size1, size2 and size3. I can use get_terms('pa_size', 'orderby=name&hide_empty=1'); to get size attribute items. ...
0
votes
2answers
148 views

Template files for Custom Post Type and Taxonomy

I've got a custom post type called "properties" and two custom taxonomies called "type" (office space, retail space, etc.) and "location" (new york, chicago, etc.). I have created ...
0
votes
1answer
28 views

How can i set post_per_page in my taxonamy?

<?php $myquery['tax_query'] = array( 'relation' => 'OR', array( 'taxonomy' => 'brands', 'terms' => array('ALL'), 'field' => 'slug', ...
7
votes
3answers
526 views

Add default WordPress tag meta box to User Profile

I've set up my user profiles to allow custom taxonomies following this tutorial. Ideally, I'd like to use the default Tag meta box from the Post screen, so users can easily add new terms and find ...
0
votes
1answer
184 views

Add custom taxonomies as class names to an archive page of custom post types

I thought this would be easy enough, although it's proving quite difficult. My end goal is to integrate jQuery isotope into my wordpress portfolio. I've gotten the isotope to work outside of ...
0
votes
1answer
32 views

Custom taxonomy display name issue

i have created custom taxonomy named Locations , everything is working fine, but whenever i add a taxonomy, everywhere is showing the taxonomy name as Category not as Location, Like Add New category ...
0
votes
1answer
22 views

How could I write a get_categories_by_year() function?

I need to write a function to get all the categories for a given year. Since the creation date of a taxonomy isn't stored in the database, I'm not really sure what to do. My initial thought was to get ...
0
votes
2answers
110 views

How can I show custom field according to taxonomy?

How I can show custom fields in my theme according to category? For example in Laptop category show some custom fields and in Motherboard category show another fields.
0
votes
0answers
120 views

Set terms programmatically

I would like to use wp_set_post_terms() or wp_set_object_terms(). I think I read all the codex and all forum post about these functions and I still can't make them work. I've a taxonomy named store ...
1
vote
0answers
201 views

Get url.com/post_type/taxonomy/term work!

I'm having trouble get what I want by mixing custom post types and taxonomy. I want to run this: www.url.com/post_type/taxonomy/term In my case this: www.url.com/dossier/theme/sante (sante is a term ...
0
votes
1answer
308 views

Echo custom taxonomy slug

I feel like I'm this close but can't figure out if it's a synax or variable thing. I'm tring to echo the slug to auto-populate the corresponding image. <?php $terms = get_the_terms( ...
0
votes
0answers
726 views

Adding rewrite rules to Custom Post-type mixed with Taxonomy

I turn to you because I can not find any solution to my problem. I created 3 custom post types "Actualités", "Dossiers", "Vidéos" (I'm french :D) I created 1 taxonomy: "Thématiques" with the ...
0
votes
2answers
2k views

Custom Taxonomy with tax_query

So I've created a custom taxonomy type with a plugin (CMS Press) and now I'm trying to get all of the posts with the taxonomy terms in that taxonomy. My get_posts looks like this: $args = Array( ...
1
vote
2answers
2k views

Permalinks: custom post type -> custom taxonomy -> post

I am having trouble working with wordpress' rewrite rules, and could use some help. I have a custom post type called shows. All shows have a single custom taxonomy category show-category. A show ...
0
votes
1answer
49 views

Limiting post list by taxonomy

I currently have the following code pulling the 10 latest posts from a specific category, I would like to filter those posts to a certain custom taxonomy which I've set up called article type. What ...
0
votes
1answer
28 views

Custom post not appearing under custom taxonomy category

Hello again Wordpress Stack, I'm having trouble getting my custom post to display under a custom category. The post in question is this: register_post_type('feature_article', array( ...
0
votes
3answers
342 views

Get template part based on custom taxonomy term

I have a custom post type and I'm trying to call up different variations of the navigation based on the custom taxonomy slug. I've done this fairly easily with normal posts, like so: <?php ...
0
votes
1answer
45 views

Proper way to create taxonomy queries

How to build taxonomy queries dyniamically? I have this code for dynamically creating an array for color and price: $color = $_POST['color']; $price = $_POST['price']; if (!empty($color)) { ...
0
votes
1answer
323 views

get multiple values from $_GET from multiple checkboxes

I'm creating a form that loops through all the terms of a taxonomy. Multiple terms can be selected and they get passed in the url. I'm trying to get all the terms on another page but I'm only able to ...
0
votes
1answer
264 views

Alter post order on taxonomy template

I have a taxonomy template that is returning the correct posts (actually a custom post type) but I want to alter the order in which the posts are displayed. However, nothing I've tried will change the ...
0
votes
1answer
489 views

Custom Taxonomy + JQuery Tabs

I have created small widget on my home page which is using JQuery tabs plugin. So tabs nav is made of custom taxonomy titles and content below should be relevant to those tabs. So in other words every ...
0
votes
1answer
84 views

Query Custom Post by taxonomy multiple categories

I need to query posts using certain taxonomy category, but more than one category of the taxonomy, as I can with posts categories.. For example, I have the Portfolio custom posts, and the Project ...
1
vote
1answer
893 views

custom post type taxonomy “tag” archive : no post found

I've registered a custom post type "object" and registered the taxonomy "post_tag" so that these objects can be tagged. register_taxonomy_for_object_type('post_tag', 'object'); When I visit ...