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

Custom Tag Types

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
0answers
7 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
17 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
25 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
23 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 ...
0
votes
1answer
47 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
17 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
19 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 ...
0
votes
3answers
78 views
+100

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
22 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
71 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
20 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' ), ...
-1
votes
0answers
24 views

Custom Post Taxonomy template missing

In my custom post taxonomy, i created more shop categories and added to menu under "shopping". when i click the sub menu [Shop Category], it's going to 404. and the url like Which template file is ...
0
votes
0answers
27 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
13 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
36 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 ...
1
vote
1answer
7 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
42 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
17 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 ...
0
votes
0answers
30 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
6 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
8 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
23 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
55 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 = ...
-2
votes
0answers
29 views

How to create custom meta box for custom taxonomy?

I created a custom taxonomy for my website, and I also would like to extend it with a custom meta box. I know how to create meta box for post types, but what about taxonomies? I found only plugin, but ...
0
votes
1answer
35 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
30 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
23 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
35 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
34 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
24 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
21 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
27 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
24 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
28 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
0answers
45 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 ...
0
votes
1answer
46 views

Query Number of Loaded Posts in Loop

I'm loading posts via a query of a custom taxonomy called 'band': $args = array( 'tax_query' => array( array( 'taxonomy' => 'band', 'field' => 'slug', 'terms' ...
1
vote
1answer
34 views

display posts with same taxonomy term

I'm trying to display 5 related posts in the loop, those related posts being posts that share the same taxonomy value. e.g. I have a custom taxonomy set up called venues thus each post has a venue ...
0
votes
0answers
14 views

Searching for media items with certain category item

I created a custom taxonomy called "Reference Type" which is used to categorize media library items. I want to create a search form to search for media library items based on file name and "reference ...
0
votes
1answer
20 views

Producing a list of media library items categorized under a certain taxonomy item

I created a custom taxonomy called "Reference Type" which is used to categorize media library items. In the taxonomy.php page, I want to produce a list of all media library items that are categorized ...
0
votes
0answers
26 views

Custom taxonomy for Media Library

I am trying to create a custom taxonomy for the Media Library called "Reference Type" When I add the following content to functions.php function wptp_add_reference_type_taxonomy() { $labels = ...
1
vote
2answers
95 views

Generate Shortcodes by Taxonomy

Check this code: function slide_group() { register_taxonomy('Group', 'slides', array( 'hierarchical' => true /*visualizza come le categorie*/, 'label' => ...
0
votes
0answers
29 views

custom post type and taxonomies in a php class

I used this class in the tutorial to create two custom post types http://code.tutsplus.com/articles/custom-post-type-helper-class--wp-25104 According to add_taxonomy() function if the taxonomy ...
0
votes
1answer
23 views

Conditional Statement custom post type category

I would like to display a text depends of my custom taxonomy category, like: if custom post type category is X, then echo Text Y. I've tried this, but its not working: global $post; if ...
1
vote
1answer
65 views

WordPress taxonomy radio buttons

I am trying to change the checkboxes for the terms on the backend to radiobuttons. I found this topic: Altering the appearance of custom taxonomy inputs however wich helped me doing this. However, ...
0
votes
1answer
39 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 ...
0
votes
1answer
41 views

Why is it defaulting to “uncategorized” even after I select a custom taxonomy

I have created a custom taxonomy and configured it to work like a category. The taxonomy shows up fine on the admin, but when I create a post, it is then placed in the default uncategorized category. ...
0
votes
1answer
26 views

Check category_name or taxonomy slug for a Custom Post Type?

I am checking the current page I am on and then using that to set a variable to change the category name like so. <?php if (is_page('apples')) { $categoryname = 'Apples'; ...
0
votes
1answer
19 views

Hide echo of no categories from get_object_taxonomies

The following code works perfectly to show all the categories for a custom post type. However when there are no categories it echos 'No Categories'. How would I remove this? ...
1
vote
1answer
52 views

Create a permalink structure with custom taxonomies and custom post types gives 404

Based on topic How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name My code is // register the new post type ...