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
19 views

Exclude Custom Post Type from shared Custom Taxonomy

I have a few custom post types and two of them are sharing a custom taxonomy. Is there a way to list the terms of that taxonomy for only one of the custom post types? At the moment I can get a list ...
0
votes
1answer
18 views

Get child terms of current term of the current post

I have custom post type "product" and taxonomy is "product_cat". There are two child terms -Music and videos. Under Music i have two more child terms albums and single. Now when i go to music category ...
0
votes
2answers
22 views

Get multiple term objects by ids

I have an array of ids that correspond to terms. How do I get the full term objects for each id? $ids = array(1,2,3); Ideally, I would love to be able to do something similar to the way taxonomy ...
0
votes
0answers
5 views

Renaming CPT slug when the user access a page from one specific taxonomy

How do I rename a registered CPT slug when the user access a page from one specific taxonomy? I have a custom post type called /package/ and it taxonomies /america/ /europe/ /asia/ /hotel/ An ...
0
votes
0answers
12 views

One query to get posts and their taxonomy terms

I am building a map of posts and taxonomies to do some more intensive processing later on. Right now I am querying the posts with WP_Query and iterating over each one to get their taxonomy terms and ...
0
votes
2answers
23 views

Change Permalink to Value of Custom Field

I modified this code to use for a basic useful link library, I found the code at http://stackoverflow.com/questions/8643508/how-to-group-articles-by-tags/8645453#8645453. <?php $args = array( ...
0
votes
1answer
21 views

Multi Parameter search with custom post type category and tag

i have a custom search which will have 3 inputs (dropdowns) , the html code of the form is ready and will use GET in url , now the remaining part is using values from url to run query. Parameters ...
0
votes
1answer
22 views

Get custom post type where taxonomy..

I am not sure how to fetch specific custom post type where taxonomy is for example february. Generally I'm trying to have custom data based on months. Registering custom post type add_action( ...
1
vote
1answer
30 views

Make a taxonomy column sortable in the admin?

I have a taxonomy term I have set to show as a column in the admin UI for my custom post type: add_action( 'init', 'create_asset_tax' ); function create_asset_tax() { register_taxonomy( ...
2
votes
3answers
45 views

Display posts the match taxonomy term linked from wp_list_categoies?

This should be simple, but it escapes me. I have a custom post type and a custom taxonomy. The taxonomy is named "asset_type" and the slug is "type" I am using wp_list_categories to provide a ...
0
votes
1answer
15 views

If taxonomy show class of active

I have a nav which I would like to detect if an li should have a class of active or not. I usually do this for a normal page like this: <li <?php if ( is_page('about')) { echo ' ...
0
votes
2answers
19 views

Display custom post type category taxonomy

I have a custom post type and a taxonomy which allows the user to select which category the post is in. Here is my custom taxonomy: add_action( 'init', 'create_talcat_taxonomy', 0); function ...
1
vote
1answer
20 views

Custom taxonomies capabilities

I have registered several custom taxonomies for a custom post type. Code for one of them is the following: $labels = array( 'name' => __( 'Genre', 'textdomain' ), ...
1
vote
1answer
45 views

Post format alternative?

The client wants to attach one of several "formats" (publication, briefing, press release etc.) to a post. It seems unnecessary to create custom post types as they all have the same fields. As post ...
0
votes
1answer
22 views

Grab all Custom Posts by multiple taxonomies and terms

I have 4 custom taxonomies with multiple terms for a "Members" page. I have a taxonomy of "location" and "organize" that I'm trying to separate into a list. I need to grab all posts by the ...
0
votes
1answer
16 views

How to include parent terms in hierarchical taxonomy URLs?

For all custom taxonomies, the URLs look like: /base/slug/. I need a solution to for my hierarchical taxonomies to have: /base/parentslug/childslug/. Anybody knows how to redirect and or to have the ...
0
votes
1answer
57 views

Is it possible to make tag archive page specific to Custom Post Type?

I want to create a tag archive page (or template) specific for some custom post type(CPT). I am little new to PHP and Wordpress, by the way. In my environment, I have CPT portfolio and custom ...
0
votes
1answer
24 views

Trying to Display Number of Posts in Term

I am trying to display the number of posts within each of my custom taxonomy terms. I just need to show if there's 2, 3 10, etc # of posts within my terms. This is my code. Looking for a way to ...
0
votes
1answer
19 views

Widget dropdown always displays first option

I have a custom widget that I have made but whenever I change the dropdown value it always reverts to the first option when I save the widget. How can I have it display whatever option the user ...
0
votes
1answer
13 views

Extra fields on categories that is available via the WP-API?

I want my posts to belong to a taxonomy with a couple of extra fields such as category_icon, category_quick_facts etc. I want this taxonomy (with all of its fields) to be available via the WP-API. How ...
1
vote
1answer
30 views

Styling Taxonomy Terms Individually

I am trying to solve a problem and need help :) First, I have a custom grid displaying terms and images from my custom taxonomy. This is the code I'm using currently: <?php $terms = get_terms( ...
0
votes
0answers
10 views

How to set specific values for a taxonomy via IXR_Client?

I am trying to create posts using IXR_Client. I am already able to do that, but now I am facing a problem were I don't know how to create sub-categories for the posts I am creating. The way I am ...
-1
votes
1answer
46 views

Why does my subcategory URL give 404 eror?

I'm using WordPress's standard theme Twenty Fourteen. Here is my problem Not Working: http://ispeedify.com/internet/paypal/ I've made my "PayPal" a sub category of the parent "Internet". But the ...
0
votes
0answers
17 views

Change taxonomy to metabox?

I created a custom taxonomy, but I need the taxonomy values in a metabox within the same post. How can I archive this? I tried several plugins for taxonomy management, but none of them could do what ...
0
votes
1answer
27 views

Can't get link if there is no post available

I have a function which creates a link for the taxonomy term , with the selection of post_type. function get_custom_term_link( $term, $taxonomy, $post_type ){ $link = get_term_link( $term, ...
0
votes
0answers
32 views

Can I use multi (sub) levels of relation (AND | OR) on custom query?

I'm tryng to do the equivalent of: $args = array( 'post_type' => 'post', 'tax_query' => array( 'relation' => 'OR', array( 'relation' => 'AND', ...
0
votes
1answer
37 views

Search Custom Post Type & Taxonomies

The site I'm building has a directory element, which has a lot of different business listings; this is a custom post type. It has a Custom Taxonomy called Trades under which are different types of ...
0
votes
1answer
20 views

Taxonomy archive 404ing (not term archive)

I may have just dug too deep into WordPress lately that I am not able to free my head & don't get this working as supposed to do. I want a simple taxonomy archive listing all taxonomy terms (not ...
0
votes
1answer
25 views

Display custom taxonomy for product

I have to display custom taxonomy for every product which is i have selected for every product from back end. I have created custom taxonomy city in that custom taxonomy i have added the Nashik ...
0
votes
1answer
25 views

Connecting multiple post types? Or linking “News” posts with “Game” posts how?

I am building gaming news and tutorial website. But i don't know how to link multiple post types with one specific post. For example, i created post types called Games News Tutorials Videos Reviews ...
0
votes
1answer
14 views

Get category id for a custom category and display it in a class

I am having trouble displaying my custom category ID to my li ID. The code I am using below is displaying the post ID of the post category instead of the custom category. What I am trying to do is ...
0
votes
0answers
15 views

Tax Query not working

I'm having some trouble with my tax query. Im getting some values by GET, but it seems my tax query refuses to work: $args = array( 'post_type' => 'imovel', ...
0
votes
1answer
17 views

How can i add custom field inside custom post taxonomy?

I need to add one image uploading field to my CPT. But it should be inside the taxonomy (product category). How can i add that field?. Thanks.
0
votes
0answers
50 views

How to display custom taxonomy

I have created city taxonomy in back end and i have added mumbai,pune,nashik city in city taxonomy like bellow snipe. My problem is that when i click the city for example mumbai i want display the ...
0
votes
1answer
33 views

How to display custom post types AND regular posts separately on a shared taxonomy archive?

I've looked over numerous questions and answers on problems somewhat related to this but can't seem to find the same situation or solution. I have a custom taxonomy that needs to have an archive page ...
0
votes
0answers
25 views

edit-tags.php in custom admin menu

For the plugin I'm building I have added a submenu as a child to a custom main menu item in admin. The submenu page is an edit-tags.php page. This shows up as intended under the main menu item. When ...
0
votes
1answer
34 views

Show Custom Post Type taxonomy term that matches custom field

Not sure how well I can explain this but I will try. I have two Custom Post Types. One is "Locations" and one is "Members." I need to show only the members that belong to the location. "Locations" has ...
0
votes
0answers
5 views

Import custom taxonomies

I have a list of custom taxonomies. I have more than 1000 taxonomies to added. I can't find a plugin to import custom taxonomies. Is there a way to insert directly into MySQL database? If so how ...
0
votes
1answer
15 views

Separator for multiple terms

I'm trying to show terms of custom taxonomies. I have that. But, my problem is how to separate when I have multiple terms. My code: <ul class="slides"> <?php $loop = new WP_Query( array( ...
0
votes
1answer
11 views

Querying multiple taxonomies in URL leads to wrong taxonomy archive

My problem is very basic but so far I have not managed to solve it so I'll just post it here and hope one of you has got an idea. Basically, I have two custom taxonomies "autor" (writer) and ...
0
votes
0answers
19 views

get link to custom taxonomy for one custom post type when multiple CPT share the taxonomy

post_type-1 and post_type-2 share the same custom taxonomy. How do I generate a link to a page which shows all posts of post_type-1 in that custom taxonomy? I figure that in the end it has to be the ...
0
votes
2answers
40 views

Taxonomy archive page have no post

I have a taxonomy with posts assigned to terms, and on the term archive page i get no found post $rewrite = array( 'slug' => 'mytax', 'with_front' ...
0
votes
0answers
8 views

Rewrite rules for subterms in custom taxonomies

I am using a large number of custom taxonomies. My post type is called "location" and there is a parent term "Asia" and a subterm "Thailand". Now I created the taxonomy archive template files ...
0
votes
1answer
27 views

Same taxonomy for different object types

Starting with WP 2.3 we can do this: register_taxonomy('custom_taxonomy', array('user', 'post', 'link', 'comment')); Those are different object types that belong to different tables and hence can ...
2
votes
1answer
61 views

Get list of terms of current taxonomy archive for another taxonomy

I have a Custom Post Type named 'Real estate' which has (amongst others) two different taxonomies: 'Purpose' (hierarchical; terms used are 'Living', 'Working' and 'Holidays') and 'Location' ...
-1
votes
1answer
37 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
30 views

How to customize taxonomy archive template files for subterms?

I have a taxonomy called "location" where I have the term "Asia" and the sub-term "Thailand". Now I created the taxonomy archive template file according to the Wordpress Codex, which is working in ...
0
votes
1answer
49 views

Taxonomies exists - but not showing up

In the functions.php of my child-theme I created some CPT with taxonomies. add_action('init', 'register_ap_jobverzeichnis'); function register_ap_jobverzeichnis() { global $jobdata; ...
0
votes
1answer
17 views

pre_get_posts causes Custom Posts appear under 'Pages' menu

In order to enable pagination on for custom post archive I've added pre_get_posts function. But, funnily it caused my custom posts be duplicated under 'Pages' menu. Here is the code that causes the ...
0
votes
1answer
43 views

Getting custom taxonomy from custom post type

I have a custom post type called email_block and have a custom taxonomy called block_type. I need to loop through all the email blocks find out what custom taxonomy (block_type) they have. I know how ...