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

Shows default archive page instead of Custom archive page

I have registered custom post and taxonomy with this code. Then created archive-{{post_type}}.php that is archive-book.php for me. I need to get archive-book.php while visiting ...
0
votes
0answers
26 views

Get template part using a custom taxonomy term

I've been using the following code to get a template part based on the parent term. It was working fine until I updated WordPress to v4.4 earlier today. Since updating if there is also a child term ...
0
votes
1answer
23 views

How to have permalink structure based on taxonomy terms

I have a custom post type i.e services & custom taxonomy services_type I have custom permalink structure as /%category%/%postname% term1,term2,term3 are different terms under services_type ...
0
votes
1answer
55 views

Filter By Category Dropdown List With Custom Taxonomies

I have next category dropdown filter that atm supports only two levels "parent -> Child" and I want to get the third "parent -> child -> child". I have two functions: function ...
1
vote
1answer
78 views

Parent & Child Taxonomy slugs in custom post permalink

I've registered a custom post type "book" and a taxonomy "authors" as below: add_action( 'init', 'post_book_init' ); function post_book_init() { $labels = array( 'name' ...
0
votes
1answer
12 views

Create 2-layered dropdown menus for custom taxonomy and custom post type

I want to display one dropdown menu with a list of values for a custom taxonomy. My taxonomy is "issue-year" and the dropdown would look like this: <select name="issue-year"> <option ...
0
votes
0answers
41 views

Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)

I want to publish and organize issues with WordPress. The magazine is structured into issues (for example Magazine n°23), categories (always the same categories regardless the issue) and finally ...
0
votes
1answer
36 views

Urls in Custom Post Type work for Terms but not for its Taxonomies

I have created 12 taxonomies for a custom post type and a few terms. On creating new post it looks like this and that is perfect - Taxonomies with terms I have: archive page - url is ...
0
votes
1answer
32 views

Loop through custom posts by taxonomy and display the titles in a list, it is repeating 8 times

I have been messing with this for too long after searching the internet through what seems like hundreds of posts and the codex. I feel like I almost have it but am missing something. My limited ...
0
votes
0answers
29 views

Get term link of shared taxonomy between multiple post types

Let's say that we have three custom post types: museum, theater and restaurant that share the same hierarchical taxonomy: location Up till now I have 3 different urls for each of cpt archive pages: ...
0
votes
0answers
32 views

Why does this only show events for one date, not all available?

This question is related to this one (custom taxonomy shows all events, not those of the custom taxonomy), which is another problem I haven't solved yet. I want to build a custom taxonomy archive ...
0
votes
1answer
38 views

How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?

So I made some custom posts and taxonomies.. http://example.com/?product_category=mytaxonomyterm&lang=it Till here, all fine: I get a 'mytaxonomyterm' taxonomy archive. Btw, lang is because I'm ...
0
votes
0answers
53 views

Custom Post Type Custom Taxonomy Term Template

I've a problem custom post type custom taxonomy term template. Wordpress: 4.4 Custom Post Type: theme First Custom Taxonomy: cms Second Custom Taxonomy: themes First Custom Taxonomy Terms: ...
0
votes
1answer
42 views

Problem with type plugin and custom taxonomies

Function function get_taxonomy_names($post_id, $term_name) { $collections = wp_get_post_terms($post_id, $term_name, array("fields" => "all")); $count = count($collections); $return = ''; ...
0
votes
1answer
20 views

Also show terms that are related to draft and pending posts

Im using wp_dropdown_categories to output terms in dropdown menu but it only shows terms that are related to published posts. I wonder if there's a way / hack to include terms that are related to ...
2
votes
1answer
116 views

How to list all categories and tags in a page?

Suppose we have few categories, tags and custom post type and taxonomies. How can we list all categories, tags in a page? Something like; Page Category Thumbnail and Category Name 1(link to ...
0
votes
1answer
52 views

get_term_by works but get_terms doesn't?

I currently have a Multisite with 2 sites. From the secondary site get_term_by() works to retrieve terms from the primary site, but get_terms() does not. I'm using switch_to_blog(1); but I get ...
0
votes
1answer
50 views

Taxonomies within plugin invalid

I have two taxonomies being registered in a functions file. They are then initialized like so: function foo_register_post_types_and_taxonomies() { foo_register_post_types(); // defined in ...
0
votes
1answer
17 views

Populating dropdown menu with hierarchical taxonomies

Im currently populating my <select> elements (I've got plenty of them) with nested foreach loops, get_terms() and &nbsp;&nbsp;&nbsp;&nbsp; to create padding for each nested child ...
0
votes
0answers
18 views

Two taxonomy terms with the same slug

I have 2 custom taxonomy: Phones and Tablets. I want both of them as with rewrite slug price. It is ok. But When I add the terms with the same name to them it cause an error in archive page. For ...
10
votes
1answer
231 views

Custom taxonomy query broken after upgrade to 4.4

I just upgraded from 4.2 to 4.4 and now my taxonomy query returns empty. It has been working fine prior to the upgrade. I have registered a custom taxonomy named 'title', which is used by my custom ...
2
votes
1answer
14 views

how to get archive urls with same origin for custom types and terms?

This is perhaps a strange question adn maybe doesn't have answers, but I'll try. custom post type: product custom taxonomy 1: product_category custom term: type1 custom taxonomy 2: product_feature ...
0
votes
0answers
19 views

add_rewrite_rule -> filter posts and custom taxonomy

Hello I want to add a custom permaling structur and based on that use a specific template for displaying posts: For example i have: category=football category=baseball and custom taxonomy ...
1
vote
0answers
39 views

Combine multiple custom user taxonomy in single url

I have created custom user taxonomy for user and its working good. Reference guide:- http://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress Bellow is structure of taxonomy ...
1
vote
0answers
17 views

how to change permalinks format for pagination?

Sorry if my question was basic or stupid. Please help me how to do this in wordpress, i m new to wordpress. I have permalinks for pagination page like this www.website.com/customtaxonomy.html/1 ...
0
votes
1answer
67 views

How to add autocomplete to custom taxonomy for CPT

I was following this tutorial, http://gabrieleromanato.name/adding-jquery-ui-autocomplete-to-the-wordpress-search-form/ and have it working like that fine. However, I am attempting to make this ...
1
vote
0answers
27 views

How to show all post related taxonomies

I created several custom taxonomies for default WP post type. Does anyone knows any widget solution or have any idea for this: How to show (in sidebar) all post related taxonomies? Example: If we go ...
0
votes
2answers
20 views

Get taxonomy that is attached to post with all its parents

$locations = get_the_terms( $post_id, 'location' ); foreach ( $locations as $location ) { echo '<a href="'.site_url().'/location/'.$location->slug.'">'. $location->name ...
0
votes
0answers
27 views

how to add custom taxonomy terms to main rss feed?

I'm wondering how to add custom taxonomies and their terms to the main RSS feed in WP 4.4. I've tried: function myfeed_request($qv) { if (isset($qv['feed'])) $qv['taxonomy'] = array( ...
0
votes
0answers
62 views

Checking Taxonomy Terms for a Custom Post Type With get_the_terms Not Working

I'm trying to test the term for a post within a wp-query and for-loop. Everything works great however testing the terms via get_the_terms($post->ID, 'category') returns an empty array. $terms = ...
0
votes
0answers
26 views

if IS and IS NOT statement not having desired effect on custom taxonomy

I'm not a developer, I'm essentially learning as I go. I'm trying the following statement, and it's executing but not having any effect: function share_discount( $download_id ) { if ( ...
0
votes
1answer
24 views

Retrieve value of a category's custom field

Using the 'Advanced custom fields' plugin I have added a field to every post category that is called 'color' and it works just fine. Now inside the loop I need to retrieve the value of the 'color' ...
0
votes
0answers
27 views

problem with php script inserting categories in wordpress

I have a php script taking categories from softonic.com, and im trying to insert them into my blog, but I have a few problems. The first of all, is that the categories are not with any link into my ...
1
vote
1answer
37 views

Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)

I've created a CPT named "decoration products"(productos decoración), the problem concerns to it CPT. When for the first time I created "decoration products" CPT, I realized that it needed two level ...
2
votes
0answers
25 views

Creating Custom Taxonomy With mapping to post type

I just want to create a custom taxonomy for my plugin use but this should not be liked with any post-type and also i need to add the menu in my custom admin menu (Which i have already Created). I ...
0
votes
1answer
42 views

query_posts by category_name and custom taxonomy

I want to display posts filtered by category_name and custom taxonomy-term: I have function channel_init() { // create a new taxonomy register_taxonomy( 'channel', 'post', array( ...
3
votes
2answers
123 views

wp_insert_term auto unique name

When creating a new term in a custom taxonomy with wp_insert_term, i've noticed that name should be unique. I get a wp error message if it is not : A term with the name provided already exists with ...
0
votes
1answer
19 views

Custom Taxonomy user based creation

I need to create a User based Custom Post Custom Taxonomy Term, so in admin and frontend I can relate the Creation/Update & Delete of the term to the current logged in user. Is there a ...
2
votes
1answer
58 views

How to paginate a list of custom taxonomy terms?

I made a custom taxonomy named "books" and with a little help on SE I managed to display its contents on an image grid, the code below shows how I did this: add_shortcode('taxography' , ...
0
votes
0answers
19 views

Search by terms of a custom taxonomy

I have a custom post Download and this custom post has a taxonomy naming category. And i have 4 type of category in this category taxonomy.I want to retrive search result according to the 4 terms in ...
0
votes
1answer
20 views

enumerating custom taxonomies?

I made this function that displays tags as an image grid function execute_taxography() { $wpbtags = get_tags(); $output.= '<div class="grid"><div ...
1
vote
0answers
29 views

Select multiple categories from CPT to display in LayersWP builder widget

I am currently developing a LayersWP child theme and have registered a portfolio custom builder widget. In this widget I would like users to be able to select the categories that they want shown. For ...
1
vote
1answer
60 views

Getting WooCommerce product related child categories

I am completely stuck on what seems to be an easy thing. I hope you can help me with it. Each WooCommerce product will be added to one "car brand" child and one "car model" sub-child category of main ...
0
votes
1answer
24 views

Rewrite URL for a specific taxonomy

I registered a post type of 'product', and also registered a taxonomy 'poruct-cats' for this post type. When I want to access to product-cats it seems like below: ...
0
votes
2answers
68 views

How can I reduce amount of ifs and else ifs in this specific block of code?

I have some code in my loop that will determine the term in my custom taxonomy, if it's a specific term, it will output a specific image. <?php if( has_term('10', 'review-score' ) ) { ?> <a ...
1
vote
2answers
30 views

Replace taxonomy permalinks

I have this permalinks settings: /%postname%/ I have a custom taxonomy issue. I want replace all my taxonomy links (site.com/category/wordpress) to (site.com/category/wordpress/issue/any-child). ...
0
votes
0answers
19 views

Call/link wordpress category with jquery/isotope classes

I am working on the portfolio section of my web, and these codes i have in filter.js script (in wp-includes/js folder) jQuery(document).ready(function(){ ...
2
votes
4answers
274 views

Custom edit post column - category not showing

I added a custom column to a custom post type: add_filter('manage_posts_columns', 'custom_columns', 10); add_action('manage_posts_custom_column', 'custom_columns_thumb', 10, 2); function ...
0
votes
1answer
21 views

Display Taxonomy Term for CPT on single-CPT.php

I've been having issues with this all morning and need some help. So I made a custom post type called Equipment, then made a custom taxonomy called Equipment Types. On single-equipment.php I can get ...
0
votes
0answers
26 views

How can I allow users to set term_order for custom taxonomy in admin?

I am able to sort a list of (custom) taxonomy terms on the front-end calling get_the_terms() with the help of the following filter function: /** * Sort custom taxonomy by term_order * * @param ...