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

Adding a term to a listing inside of shortcode that otherwise contains permalinks to custom post items with custom field values

I have this shortcode to output all items of custom post type "song", on a page listing all the songs a musician released throughout his career. // Custom shortcode, to query tracklistings on the ...
0
votes
1answer
438 views

Don't display taxonomy if empty

I'm using the following code to display my custom post taxonomies: function display_post_taxonomies( $content ) { if( is_single() ) { $args = array( 'public' => true, '_builtin' => false ...
0
votes
2answers
564 views

Display and register custom categories for custom post types

Ok here we go. I have 2 different custom post types. The first is called 'portfolio', the second one 'games'. All the game reviews I write are 'games' posts. To have a better overview I created ...
0
votes
0answers
8 views

Exclude category that matches custom taxonomy slug

I'm attempting to create a separate list of categories, one list showing "key categories" that is assigned through a custom taxonomy. Then another list showing all categories related to the post ...
2
votes
1answer
1k views

wp_dropdown_categories in custom post type with custom taxonomy

I have a custom post type with its own taxonomy, basically 'show venues' is the post type and venue-regions is the taxonomy. Seeing how a venue cant exsist in mutiple regions, I've removed the ...
1
vote
1answer
1k views

RSS feed for dynamic set of custom taxonomies terms

I've got a CPT called 'Job' and three different taxonomies associated with it: location, type (permanent/contract) and expertise. I've got a filter on the website that allows to search for jobs of ...
0
votes
0answers
9 views

Query Top Set Custom Taxonomy In Given Timeperiod

Just an example but, The results should be the top 15 used terms in the taxonomy genre in the past 24 hours. My thoughts were to query all posts from the past 24 hours, get the terms list, and ...
1
vote
2answers
552 views

Non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue

I registered a non-hierarchical custom taxonomy ('property_features'). There is a checkbox for every terms of this tax in a custom meta box on the edit-screen. All terms are displayed and all terms ...
0
votes
0answers
11 views

WP_Query sorting by Taxonomy

I am trying to display the custom post type of accommodation that have a the location of wa under the Location taxonomy. Although i am not having any luck. Can anyone tell me what i'm doing wrong? $...
1
vote
1answer
21 views

Create a shortcode to display custom post types with a specific taxonomy

I created a page template to list all products of a specific product line. Now I want to list all posts from this custom post type (products) based on the taxonomy described in the shortcode for each ...
0
votes
1answer
7 views

qtranslate-x problem with custom term description

I use qtranslate-x plugin for site translation. Works well, but on my custom term's page I see description in all languages. I use this code to display term information: $term = $wp_query->...
0
votes
1answer
508 views

Taxonomy Url with Custom post type prefix re-write rule

I have a taxonomy called Section and a Custom post type called Developments. What i need to achieve is a permalink on the taxonomy with custom post type prefixed: e.g: custom post type: development ...
0
votes
0answers
20 views

Add column to custom post type based on assigned taxonomy

I'm trying to add a new column to the Custom Post Type I've created. I've also created a custom taxonomy for this CPT, so what I'm wanting to do is display which taxonomy term each post has assigned (...
1
vote
3answers
564 views

Custom taxonomy template loop

I know that this question is asked numerous but i din't find an answer that suits to me. Well i'm made some custom post types and some custom taxonomies. I have the custom post type Products and ...
0
votes
1answer
47 views

URL rewriting taxonomy term

I'm trying to find solution for the following hours now and i don't know if this is applicable. I have 1 Custom Taxonomy "Years" for Post Type "Post (default)". The taxonomy has 2 Terms: "2014" and "...
4
votes
2answers
2k views

Widget to display custom taxonomy tag cloud

How to alter the default widget to display a tag cloud of a custom taxonomy?
14
votes
9answers
13k views

Remove taxonomy slug from a custom hierarchical taxonomy permalink

I created a 'forum' taxonomy, using these rules: register_taxonomy( 'forum', array('topic'), array( 'public' => true, 'name' => _a('Forums'), 'singular_name' => _a('Forum'),...
0
votes
1answer
12 views

Get Taxonomy and metadata

I have this code that get the list of my taxonomy: $args = array( 'hide_empty' => false, ); $nations = get_terms( 'nation', $args ); I also need to get all the metadata ...
-2
votes
0answers
20 views

IPTC tags for WordPress developers/users [on hold]

Are there any tools that automatically tag content with IPTC news-codes (topics from the IPTC hierarchy), and if not, would such a tool be of interest to the WordPress community?
2
votes
3answers
8k views

How to add images to taxonomies?

Q: Is it possible to add images to all of my taxonomies (default and custom ones)? Note: I do not want to use any plugins (not my favourite solution for design related matters). Usage: I want to ...
1
vote
2answers
60 views

How to handle “the_terms” inside loop

I have been searching google but I am really confused. I am trying to display the terms of the taxonomy assigned to the post. I am using the_terms($post->ID, 'locations');. The custom taxonomy is ...
0
votes
1answer
409 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' =...
0
votes
1answer
440 views

Need to display custom taxonomy on single page - not working

I've looked at several posts on here trying to crack this. I think it's simple for someone who knows more. The details: Theme: Custom theme built on Roots starter WP: 3.8.1 Custom Post Type: ...
1
vote
1answer
420 views

Create template for taxonomy results limited by Custom Post Type

I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy? Here's the deal: The CPT is called Shows. Each ...
0
votes
0answers
18 views

Dynamically load custom post types after selecting custom term

I'm building a kind of "selector" tool. What I have in WP is a custom post type with equipment. Then I have a custom taxonomy called Equipment types. There are parents and children terms. For ...
0
votes
1answer
15 views

Wordpress query posts by custom post type not workng

I'm trying to display the featured images of my custom post type of 'instrument' I created the custom post type using the plugin 'Custom Post Type UI' The query seems to work, but the problem is ...
0
votes
1answer
16 views

Resize $term attachment using url

I'm using this plugin for attaching an image to a custom taxonomy. The plugin's function returns the attached term's image as following: function get_wp_term_image($term_id){ return get_option('...
0
votes
1answer
14 views

Dynamic drop down of child terms and then drop down posts

I'm building a kind of selection tool. I have 9 parent taxonomies. Each one has some children and those all have posts. I have the top level taxonomy displaying. However, I'm not quite sure how to ...
3
votes
1answer
57 views

Setup of taxonomy term template pages

I'm wondering if the following setup can be more efficient without creating an taxonomy term page for every custom taxonomy term. I'm working with courses (CPT) which has it's own taxonomy (Course ...
2
votes
1answer
2k views

get_terms does not return any results for my custom taxonomy?

If I go to wp-admin/edit-tags.php?taxonomy=location then I correctly see a list of terms. If I loop through: get_terms("category"); Then I correctly see several terms for the taxonomy of category. ...
0
votes
1answer
442 views

“Trying to get property of non-object” error when using custom taxonomies

I am encountering a weird error when working with custom taxonomies. I am trying to get the name of categories of a custom taxonomy: $terms = get_terms('taxonomy_name'); foreach ($terms as $term) { ...
1
vote
1answer
611 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 (...
0
votes
2answers
1k views

working with term_relationships table

I have this little code to insert posts via custom form: $post = array( 'post_author' => 1, 'post_title' => 'my title, 'post_content' => 'my content', 'post_category' =&...
-2
votes
0answers
26 views

Remove custom taxonomy base slug or not, what is the industry standard?

I have been working on a Wordpress theme for over 6 months now. My plan is to release it as a free theme and then possibly add more features and sell it as a premium theme. I am very experienced with ...
0
votes
1answer
424 views

Loop and add Specific Categories and Products Images

Thanks to Rafael Marques, I have a list of Products and Categories organized based on different created categories. I also have 5 different Custom Page Templates. Now I would like to display the ...
0
votes
2answers
843 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
34 views

Creating custom post type with custom taxonomy and custom fields programatically

I need to create a custom post type. This post type will have a custom taxonomy. Also this post type will have custom fields. I dont want to use any plugins to do it, i want to include the creation ...
0
votes
2answers
4k views

Create custom taxonomy and Display in metabox dropdown

I'm looking to create a dropdown in the post edit screen which contains 3 already existing tags. What's the easiest way of doing this? Basically all I'm looking for is a simple drop down which adds ...
1
vote
0answers
12 views

get the taxonomies terms associated with users

I’m building a search form with meta_query to get users based on meta_key and meta_value. Some meta_key are taxonomies. It works very well but in my select, i have all terms and some terms are not ...
0
votes
1answer
15 views

CPT UI change custom taxonomy url

I have created new post type "groceries" and created "fruit" taxonomiy and added bunch of category but when I filter this category url shows like this .localhost/fruit/apple I'd like show it like ....
0
votes
1answer
5 views

Custom taxonomy query for a custom post type

I have a custom post type called news with a custom taxonomy called news category. Right now I have a template called taxonomy-news_category-press.php where press is one of the news_categories. The ...
0
votes
1answer
29 views

Create an archive page for custom post type with custom taxonomy

I have a custom post type called 'news' with a custom taxonomy called 'news category'. I'd like to create a wp query to return all 'news' posts of a certain 'news category' for example 'press'. Is ...
0
votes
2answers
618 views

Creating a custom search form

I am creating a custom search form which will search a custom post type called recipes. and it has a load of taxonomies. Now I output these taxonomy's terms into checkboxes which are grouped by the ...
0
votes
0answers
20 views

I need help creating a filter for my custom post type with multiple custom taxonomies and terms using isotope!

I have a custom post type called 'recipes' and 4 custom taxonomies called 'main_ingredient', 'courses', 'dietary_requirements' and 'cuisine'. I'm using Isotope to create the masonry style grid and ...
0
votes
1answer
412 views

Wordpress autocomplete search with taxonomies

I'm trying to make a wordpress search that has autocomplete. The thing is I don't want to autocomplete the input with a post title but with categories. I explain my problem: I have a taxonomy called ...
-2
votes
0answers
14 views

How to add and extra fields to woocommerce Category settings

I want to add extra fields to all categories in WooCommerce edit product category settings page. I tried with these actions product_cat_edit_form_fields event-category_add_form_fields It is not ...
0
votes
2answers
547 views

Post slider with custom post type

I'm trying to create a post slider, but I'm stuck at this point. I have created a taxonomy named 'slideshow' and a custom post type 'slider'. In this custom post type 'slider' , I have assigned a ...
0
votes
1answer
590 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 ...
2
votes
2answers
589 views

Include a specific post to the query_posts and remove it if it is already in the returned list

Bare with me. Firstly, here is my whole script for my featured slider articles: <div id="featured" class="<?php if ( $responsive ) echo 'flexslider' . $featured_auto_class; else echo 'et_cycle';...
0
votes
1answer
414 views

Order custom taxonomy by date

I have custom taxonomy called series. I want to have a page where it lists all the Series with latest on the top. Series Series about fish Post 1 Post 2 Series about dog Post 1 Post 2 I ...