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

I need to exclude from a query a category and a few custom taxonomies

I need to exclude from a query a category and a few custom taxonomies. Is this code right? This query don't exclude any post, the one with the category, or the custom taxonomy. What am I doing wrong? ...
0
votes
1answer
65 views

Query Posts with Custom Taxonomy from a Custom Post Type

I've been bashing my head against my desk over this for the past day or so...I have created a custom post type called 'advertisement' and a custom taxonomy within that post type called 'group'. I've ...
0
votes
1answer
69 views

Custom/separate categories for custom post type

How can I achieve a separate "data space" for the categories of my custom post type? I don't want the general post categories to appear in my custom post type and vice versa. The register_taxonomy ...
1
vote
1answer
50 views

I am trying to hide a custom post type category to logged in users with Pre_Get_Posts

I have a custom post type in my theme called portfolio. It's categories are called project-categories. I am trying to exclude a project category for logged in users. I cannot get this to work at all. ...
0
votes
2answers
34 views

Use the same taxonomy twice on the same post type?

Hello there basically I am quite good with WP however it is not easy for me to find a solution to this problem: There is an taxonomy which will consist of hundreds and mayby thousands of items. ...
0
votes
0answers
12 views

How to use custom taxonomy checkboxes to filter a taxonomy archive?

So my site features two custom taxonomies: Topics (Economics, politics, literature, etc. ) Post Type (Reviews, Analysis, Essays, etc. ) On the homepage I display a menu with topics, and once on ...
0
votes
1answer
21 views

Exclude Custom Taxonomies

I'm trying to display recent posts from regular posts section and custom post types, excluding one custom taxonomy term from each custom post type. But the recent posts section doesn't show anything. ...
0
votes
2answers
31 views

Get the taxonomy of the post

How do I simply grab the taxonomy of a post using the post id? I have tried using the_terms and such but everything seems to require you know the taxonomy ahead of time.
0
votes
1answer
67 views

get_the_terms return only last term

In my custom post type (portfolio_pt) I have some hierarchical category structure something like that: ParentCat |-child |-someItem ParentCat2 |-cild ... When I try to get list of all terms by ...
0
votes
1answer
25 views

Get object for a few selected taxonomies

I have some custom taxonomies that I would like to use as an object in a foreach loop. I know these functions which returns the object for either all taxonomies: global $wp_taxonomies; or the ...
0
votes
0answers
59 views

Query custom post type in custom taxonomy loop

I've got three products (called "Kits") and each kit contains several items. The "items" are a custom post type which are linked to each kit via a relationship field. Each item has a custom taxonomy ...
0
votes
1answer
25 views

How to get this value inside RETURN

I'm doing something new & unexpected tonight with a lot of errors, and I have asked a lot of stupid questions tonight, so I promise this is the last one :) In last post, I received an answer that ...
0
votes
1answer
30 views

How to list Custom Taxonomy

I have a WordPress taxonomy, and I was wondering if there's anyway to list the taxonomy like: <ul id="portfolioFilter"> <li class="filter" ...
0
votes
1answer
54 views

Get a list of categories ids

I'm working on a portfolio with filters based on custom post type. That filters must display only categories for the posts that are displayed in the portfolio, since user can specify them by id in the ...
0
votes
1answer
35 views

How to display class name in this shortcode post query

I need help with this as it's my first project of my new job & I'm stuck at this point. I'm retrieving custom post types portfolio using this code as a shortlist: extract( shortcode_atts( array( ...
0
votes
1answer
59 views

Get Terms from Custom Taxonomy and Current Post

I'm working with the WooCommerce plugin. I've got three products (called "Kits") and each kit contains several items. The "items" are a custom post type which are linked to each kit via a relationship ...
0
votes
1answer
48 views

Display the first tag assigned to a post

This is what I'm trying to achieve: Originally I was trying to include the first tag of a post above the post on the homepage, using the following: $tags_i = 0; $tags = get_the_tags(); if ($tags) { ...
0
votes
1answer
39 views

Smarter navigation plugin and custom taxonomies

I am trying to make work Smarter Navigation's get_referrer_category() with a custom taxonomy that I have created. The custom taxonomy I've included into functions.php is the following: add_action( ...
0
votes
0answers
21 views

How to relate multiple CPTs via Custom Taxomonies?

I have 3 custom post types - Events, Sessions and Speakers. Events have multiple Sessions. Sessions have multiple speakers. Speakers can be at multiple everything. They all have their own ...
0
votes
2answers
146 views

Get custom taxonomy term url on archive page

This is driving me crazy, so please help me guys with this. I'm trying to add a metatag to custom taxonomy ter archive page header which contains the url of the term archive page of a custom ...
0
votes
0answers
25 views

How to show a custom taxonomy using a custom template

I've been playing around the custom taxonomy and custom post types. I've been able to get the post type working fine, with my slug as I need. However, creating a taxonomy page (e.g. taxonomy-????) I ...
1
vote
1answer
95 views

pre_get_posts Tax Query not working for custom author page

I am using the theme TwentyTwelve and modified the standard post query in the file author.php with the following code: function wpd_author_query( $query ) { //CODE to set $current_user_name here ...
0
votes
1answer
30 views

Change taxonomy of posts

I am using Lamoon theme for my website. It has several custom taxonomies. I have a lot of posts in taxonomy "rooms" but I'm going to change theme to 'Avada'. So I'm worried about my "rooms" how this ...
0
votes
0answers
33 views

How to create network-wide taxonomy terms on multisite?

I am trying see if it's possible to create shared network-wide taxonomy terms. Specifically, I want to create a few custom taxonomies for Users (a network-wide resource) and I want them to all share ...
1
vote
3answers
178 views

Menu Multiple Taxonomies

I have a post_type "products" which has both "Category" and "Brand" taxonomies. Each product has exactly 1 Category, and exactly 1 Brand. I would like to display a menu which first lists the ...
1
vote
1answer
63 views

Custom Post Type doesn't show Draft and Trash Options

I have custom post type "Pdf"section.But there is no options like Draft and Trash..
1
vote
2answers
90 views

Why won't my taxonomy query show up?

I'm attempting to display posts from a 'Uncategorized' category under a custom taxonomy called 'Reviews' but without much luck. I'm using get_template_part('loop','review') to call loop-review.php ...
0
votes
0answers
26 views

custom post type and taxonomy URL

I'm using following code for my custom post type function resources_custom() { $labels = array( 'name' => _x( 'Resources', 'post type general name' ), ...
0
votes
0answers
35 views

Can I change the slug of my archive page on a Custom post type?

I have a CPT with a slug that is the same of a page. This has been done on purpose as I hope I was able to control the slug of my archive page to be something like http://www.test.me/page ...
0
votes
0answers
15 views

Custom Taxonomy rewrite url

How to redirect a url from example.com/taxonomy/taxvalue/?spost=holiday to example.com/index.php?post_type=holiday&taxnomy=taxvalue Code: function custom_post_rewrite_rules( $rules ) { ...
0
votes
0answers
38 views

Custom Taxonomy registered with multiple custom posts

I am using a custom taxonomy location with two custome post types (Place and Resorts) I have three issues here 1)Count shows sum of both CPT's on the taxonomy page How to show the counts separately ...
2
votes
1answer
28 views

Custom taxonomy only shows 0 in autocomplete for terms and “Choose from the most used tags”

I have a custom post type (rezept that I added a custom taxonomy Allergiefrei to. I got this working so far. Adding terms to the custom taxonomy's box works, too, but autocomplete and 'Choose from the ...
1
vote
2answers
60 views

How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?

This may be a duplicate of this question - Changing the priority of a custom taxonomy's metabox but I can't work out how to apply that answer. I'm unsure what my custom taxonomy div label would be ...
1
vote
0answers
39 views

Custom Taxonomy not being saved on custom posttype

This is very unusual, and I can't seem to figure out why this is happening. I have registered a custom posttype and a taxonomy (for that posttype). The taxonomy widget gets displayed on the "edit ...
1
vote
0answers
89 views

Removing “s” from search with custom parameters

I'm trying to do something that I thought would be quite simple and has turned out to be not simple at all. I've seen quite a few posts that look similar at first glance but none solve the issue for ...
1
vote
1answer
15 views

Get all media categories

I've added a new taxonomy for the medias post type: function register_taxonomy_for_images() { register_taxonomy_for_object_type('category', 'attachment'); } add_action('init', ...
0
votes
1answer
17 views

Enable the admin to sort custom taxonomy

I added a custom taxonomy (separate categories for a custom post type) like this: register_taxonomy(self::$slug . '_category', array(self::$slug), array( 'label' => 'Kategorien', 'labels' ...
1
vote
1answer
52 views

Advanced Query Logic With Multiple Taxonomies

I have a page on my site that acts as a search tool/search results page for users to find rental spaces. On the left side is a column of checkboxes that let the user filter the results by three ...
1
vote
1answer
85 views

How to display a listing template of a certain taxonomy?

I'm trying to figure out how to display a list of specific taxonomy (categorycourses). In functions.php for the theme I have: //Register custom taxonomy for courses-categories $course_cat_args = ...
0
votes
1answer
128 views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
0
votes
0answers
49 views

Ordering posts by custom taxonomy in admin area

EDIT @kaiser - this question is slightly different to the answer you posted in that I am talking about sorting by clicking the column title rather than adding a dropdown to filter by taxonomy term ...
-2
votes
1answer
29 views

Custom Field Search

I'm trying to create a custom search form that searches a custom post type that I have created. The form would need to search two custom taxonomies (similar to tags and categories) and the body text ...
1
vote
1answer
68 views

Hiding taxonomies with no children WP_Query & tax_query

I have this code which has taken over 7 hours to put together through research but the last hours or so I have hit a brick wall! I require the taxonomy title to be hidden if there are no posts ...
1
vote
0answers
167 views

Create more category hierarchical depth for custom post type/taxonomy plugin (widget)

Source: http://getplatypi.com/docs/ A little new to the plugin development world, but so far I am building a post type plugin to support hierarchical categories in a list form with multiple depth ...
1
vote
1answer
63 views

Hide posts having children terms when display posts by category in edit.php

I have a custom post type called "ttc_infobit" that belongs to a custom taxonomy named "ttc_catalogue". This taxonomy is a hierarchical. When I filter posts in edit.php by this taxonomy, I want to ...
0
votes
1answer
25 views

Run next query based on first query's term

I'm creating an authors site. I'm using a custom post type (Books) to display books. I'm using another custom post type (Reviews) to display reviews on the same page as the corresponding book. I'm ...
1
vote
2answers
38 views

Displaying Custom Taxonomies From Multiple Custom Post Types

I have multiple custom post types and each of them has multiples categories. I'm trying this code to display certain categories from all of the custom post types + regular post. <?php query_posts( ...
0
votes
0answers
31 views

Template for Custom Post Type and its Category

I have created a custom post-type ( Testimonials ) and i have custom taxonomies for this post-type to separate the testimonials. Custom Testimonial Taxonomies are 1) Commercial 2) Residential Now, i ...
1
vote
1answer
53 views

How to implement custom search with input fields?

I want to implement a search form like this: Loan Form In my theme I have a custom post type called Data with the Year and Money custom fields. I googled a lot but can't find a way to submit the ...
2
votes
1answer
60 views

Is it possible to have a taxonomy archive that lists taxonomy terms?

For example, I have a post type called foo. I can view all posts of type foo at the following url: mysite.com/foo. I then attach a taxonomy called bar, in which the terms are foobar and foobaz. I ...