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
0answers
7 views

Wrong request query on cpt and tax

In my plugin I think that I use pretty much standard and documented way to add my custom post type and two tax (cats and tags), but only thing that I do is set custom capability_type and perms. Here ...
0
votes
0answers
8 views

Excluding top level from taxonomy and post loop

I've got a custom post type / taxonomy. I've created a list that shows all the categories and the posts in them. I have set up a top level category (taxonomy) that has two sub categories. I want my ...
0
votes
1answer
19 views

List all posts in taxonomy term

I have a custom post type called anime and a taxonomy called series. If I view any post and that post belongs term Banana it should list all the posts in term Banana in a dropdown list. Here's the ...
0
votes
1answer
21 views

How to use taxonomy term as a value of get_template_part?

I would like to dynamically import different template parts (hardcoded sidebars or navigations) into my layout based on a taxonomy assigned to the post. For instance, this "standard" code works as ...
5
votes
2answers
110 views

Get The Post Type A Taxonomy Is Attached To

Being given a taxonomy or term, is is possible to pull any / all post types the taxonomy is attached to? For example, knowing the built in taxonomy category or being given a term in the category ...
0
votes
0answers
21 views

How to get list of taxonomy slugs ordered parents>childs?

Is there an existing function in WordPress to generate a list of taxonomy slugs ordered by parents > childs > subchilds in an array? I need to generate a URL structure for my custom post type in ...
0
votes
2answers
19 views

Custom Taxonomy Breaks Pages

I have a custom taxonomy called 'industry' that I want to use on custom post type 'website-design'. It works on the intended post type, but other pages are broken. I changed the 404 template as per ...
0
votes
0answers
26 views

Getting a term_id given a term_taxonomy_id?

Basic question: If I have a term_taxonomy_id, how can I get the term_id? I thought I could get the term object by get_term_by('term_taxonomy_id',$ttid,'my_custom_taxonomy'), but WPML localizes it - ...
0
votes
0answers
29 views

Prevent repetitive terms in get_the_term_list

I've created a custom taxonomy 'work_category' for a custom post type 'works'. Then I added 5 new work categories and assigned them to every single 'work'. I've used get_the_term_list to print out a ...
0
votes
1answer
111 views
+100

How can I see a list of my Custom Post Types of the last term I was in?

Sorry about the title I do not know how to put the question in the form of a title very well but my question if very descriptive. Iv been meaning to asking this question for a while now and would ...
0
votes
1answer
89 views
+50

Custom Taxonomy breaking pages permalinks

I'm stuck for some days with this problem and I don't know what else to do. With %somethingHere% on slug rewrite, pages permalinks are broken (CPT AND CT OK). Without, I don't have my desired Post ...
-3
votes
0answers
25 views

How to use WordPress star ratings (for custom taxonomy)? [closed]

Is there any way to use WordPress star rating functionality? I see many plugins can do ratings for posts/page. I would like to add ratings on my custom taxonomy/terms page.
0
votes
2answers
12 views

Trouble showing showing Posts related to custom post type and taxonomy.

Having issues showing posts based on custom post type's custom taxonomy. I can get ALL the posts to show up in the custom post type but not JUST the taxonomy. here is how I registered Post Types ...
-1
votes
2answers
72 views

Repeating posts when paginating random posts

I have 1 Custom Post Type of products as well as two taxonomies of types and countries. I'm displaying my custom post type of products on my taxonomy.php page with paged pagination. I am also using ...
1
vote
2answers
40 views

How to create archive page for taxonomy terms within custom post type

I am needing to create an archive page custom taxonomy terms that are within a custom post type. It's set up as CPT > Custom Taxonomy > Taxonomy Terms. I have a custom post type called "Projects," ...
0
votes
2answers
27 views

Get custom post type parent category

I'm creating a custom post type like this: function btp_work_register_post_type() { $args = array( 'label' => __('Works', 'btp_theme'), 'labels' => array( ...
0
votes
1answer
11 views

One custom post type with two different url structure base on taxonomy term

i have one cpt Anime and it has post_type taxonomy with term anime and animation anime(cpt): (site domain)/anime/post title | |-(tax)Anime |-(tax)Animation And my url structure are ...
0
votes
1answer
22 views

Get custom taxonomy name (not the term) in custom post

Is it possible, within the loop (or given the post ID) to retrieve the name/slug of the main custom taxonomy of a custom post? What I really need is the taxonomy term, and that one I can find it ...
1
vote
2answers
29 views

How to count the number of terms in a taxonomy

I have a custom post type "Services". It has a hierarchal taxonomy of "service-category". Service-category has both parent and child terms. I need to count the number of parent terms in the ...
0
votes
1answer
39 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 ...
0
votes
1answer
30 views

Conditional Logic Based on Custom Taxonomy

I’m working on a large site in which I need to create various lists of different pages in the sidebar. I registered a custom taxonomy using the Pods plugin called “Page Categories” (page_category), ...
1
vote
1answer
67 views

Displaying posts exclusively in their category (not parent)

I am using a custom post type to add/display PDF documents (posts) on my website. taxonomy - wpl_documents_category post type - post_documents All is working well. However, I want to display the ...
0
votes
1answer
31 views

Show all tags on custom post type

I'm attempting to show _all tags on the editing screen on a custom post type (products). Adapting these instructions I've created a simple plugin as follows: add_action( 'wp_ajax_get-tagcloud', ...
0
votes
1answer
13 views

Building a Portfolio and need some direction

I'm still new to WordPress so bear with me. I'm building a portfolio in WordPress and one of the goals I have is to display individual work items by type: website, print piece, video, etc… But ...
0
votes
0answers
13 views

Custom post type url removal for child posts

Hello so my issues is that i cannot figure out how to remove the post type name from the permalink of child post. Already went though most of the solutions on the web but not none helped. Basically ...
0
votes
3answers
35 views

How to get name of custom taxonomy

I need to get name of current custom taxonomy in archive.php file when page is showing posts belong to the one of custom taxonomy categories. It's easy do it in WP loop but I need get it in front of ...
0
votes
1answer
19 views

Loop multiple taxonomy in custom post

I have a custom post called "rock" and taxonomy "genres" i need to filter the posts with tag or something like post_type > taxonomy > taxonomy_tag (tagsss) I can not find a solution :( i have ...
0
votes
1answer
21 views

Display custom posts for each category from its custom taxonomy

I've looked around at numerous answers and i can do this for the default 'post' type like so: $cats = get_categories(); foreach ($cats as $cat) { $cat_id = $cat->term_id; echo ...
0
votes
1answer
24 views

Create taxonomy from Custom Post Type

I know this question has probably been asked many times but I have tried googling without any success (at least without using a plugin) I have a custom post type for "Publishers" which contains all ...
0
votes
0answers
23 views

Does a codex exist for creating meta boxes in taxonomy

I am looking for WordPress official documentation to create meta boxes in a taxonomy. There are many tutorials, but each of them is completely different. I don't want to use any plugins. I need the ...
0
votes
0answers
23 views

Custom post type and shared custom taxonomy ..permalink structure

hope someone can help me since I'm fighting with this issue since weeks without a solution. Scenario: ~ 15 different post types (hotel, bed-and-breakfast, etc) -> reason to use the post_type ...
0
votes
1answer
24 views

Arduous Wordpress Custom Post Type Permalink Path

once again folks, i have to ask about custom post type url, because is not clear for me what to do so let me short eplain whats the problem is with it Note: I have seen a lot of solutions (here) to ...
0
votes
0answers
14 views

How to save custom taxonomy archive as a page template?

I am working with a custom post type (slug: estate_property) which has three custom taxonomies to organize posts (slugs: estate_type, estate_status, estate_location). I created custom taxonomy ...
1
vote
0answers
25 views

How do I relate a taxonomy with a custom field type, on another custom field type? [closed]

I need to create a tiered relationship between posts in WordPress - I am using ACF (Advanced Custom Fields). The end result is to create menus (food menus). There can be multiple menus (Breakfast, ...
0
votes
0answers
23 views

Populate second dropdown using Selectize [migrated]

I was using the Chosen plugin to populate a second dropdown based on the selection of the first. I would like to change over to the Selectize plugin for performance reasons now, but am having trouble ...
0
votes
0answers
9 views

Make custom taxonomy globally accessible

I have a custom taxonomy called 'location' which resides as a hierarchy. I want to keep this in the same way the categories are handled in Wordpress by default. I can query posts by location and no ...
0
votes
2answers
30 views

How to add custom content to custom taxonomy

I'm currently learning Wordpress. So my theme has a custom post type called portfolio. I'm using this online code to add a custom taxonomy to this portfolio custom type: function ...
1
vote
4answers
103 views

404 error PageNavi custom type taxonomy | wordpress

I have a custom post type called rock with a custom taxonomy called genero. taxonomy-genero-curiosity.php mypage/Rock/curiosity/ When i click subsequent paginated page links (e.g. [2], [3], ...
0
votes
0answers
26 views

Template include problem for custom taxonomy through plugin file

I have registered a custom taxonomy wfa_book_genres through plugin and the slug name for this taxonomy is genres. Now i want to include archive template from plugin folder for my custom taxonomy. I ...
0
votes
0answers
20 views

Shortcode display CPT Query only showing 1 post?

Ive seen similar questions on here but I am already using WP_Query and wp_reset_postdata. In short I wrote a shortcode that queries our Custom Post Type to display posts specific to a category. ...
0
votes
0answers
25 views

Get post id from url with custom taxonomy

I've been struggling for days trying to understand this issue. I'm redesigning a page on existing wordpress site and would like to show the client the working design without replacing the existing ...
0
votes
1answer
37 views

Custom taxonomy rewrite in permalinks for posts gives 404 on pages

So I've got a custom taxonomy (called "version") for just posts wich works fine.. My Problem is that i want to use this tax in my permalinks eg URL.com/12-3/cat/postname.. which works also fine for ...
0
votes
1answer
17 views

List Terms by category

I have a custom taxonomy called portfolio-type. The terms = post_type is portfolio and category is portfolio-type I'm trying to fetch related post of the same category of current post <?php ...
0
votes
2answers
26 views

wp_query: How to retrieve current term slug in custom taxonomy?

Using the WP Types Plugin, I setup a custom post type (slug: portfolio), which has a custom taxonomy (slug: portfolio-category). The custom taxonomy has three items (slugs: group1, group2, group3) to ...
0
votes
1answer
19 views

How to add taxonomy to Users menu in admin?

I want to create a taxonomy that is related to the users, therefore I'd like to show the taxonomy under "Users" menu within wordpress admin. In codex there's a mention that you can attach taxonomy to ...
0
votes
1answer
33 views

Get custom category ID of current custom post within the loop

I am having extreme difficulties retrieving the name (or the ID) of the current category of the custom post being viewed (within the loop). The current category name is "school" and it is a ...
0
votes
1answer
19 views

Get custom taxonomy name from custom post

I want to retrieve the category assigned to a custom post type. The problem is, I don't know in advance what post-type (hence, what post-category) I will get. I have 5 custom post types, each with a ...
-1
votes
0answers
32 views

How to hide child category custom post in search? [duplicate]

I was new in here . I want to hide my wordpres child category post in search page. When search my parent category Every post include those under Child category will be search out , and i hope there ...
0
votes
1answer
56 views

Hide child term posts on parent term pages

I have created a custom post "company" and custom category "company category". I have a question here, I want to hide child category post in primary category . Any suggestions?? Example : ...
0
votes
0answers
20 views

Get posts by current taxonomy term child term

I am trying to create two different wordpress loops, each one will be using a custom taxonomy called 'walls'. Loop one: get posts by child term of the current pages term. Loop two: get posts by all ...