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

Custom query for tag and custom tag from 2 post type

I have custom post type called items and added custom taxonomies type and sub-type. I like to query posts from both post and items post type that has art as either Tags or Sub type. Below is what ...
1
vote
0answers
25 views

How to show custom taxonomy in the permalink?

I used the Portfolio Post Type Plugin to create custom tax and post type. I would like to show the custom taxonomy on the portfolio projects. portfolio/customtaxonomy/project while now is ...
1
vote
0answers
19 views

Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)

As title reads, I am trying to list specific custom tax's terms in a custom post type archive's page. My setup: Custom post type: 'podcast' Custom Taxonomy: 'showname' -> Custom Field for above ...
0
votes
0answers
25 views

Getting a value of a post taxonomy object

The following returns the list of names of all taxonomies from my post_type: $date = get_object_taxonomies( "pa_first-registration-date" ); var_dump($date); Within this array I have the value: ...
1
vote
0answers
19 views

Search Tool only refreshes Page without showing results

I have a search tool that allows you to search plants based on multiple different taxonomies (Color, soil type, type, ect.) Each plant is set up as a post using ACF. You can search for plants based on ...
0
votes
1answer
38 views

Insert terms for custom taxonomy on plugin activation, or each page load (init hook)

Consider a plugin which adds a custom Taxonomy and then fills the taxonomy with a large term hierarchy (tens of hierarchical terms, may become hundreds in specific installations). I understand that ...
0
votes
0answers
24 views

Create column in custom post table based on custom taxonomy

I am trying to add a column to the custom post list based on custom taxonomy. I have a custom post type called product. I have a custom taxonomy called cheese and within that taxonomy I have terms ...
0
votes
1answer
34 views

Why is this custom taxonomy showing in the database?

I have created a plugin that add geographic data to Wordpress. According to this answer the taxonomy data should not be stored in the database, however it seems to be stored: mysql> select * from ...
0
votes
0answers
25 views

Custom Post Type (CPT) list/archive/category setup help

I've added a CPT: "projects". I'd like to be able to land on /projects and have a list of my categories. When clicking on a category it would bring you to /projects/category-name. That page would ...
1
vote
0answers
32 views

Search form not working with custom query?

My search query doesn't seem to work, the query in my url is all correct but the content just refreshes without finding the posts with the search term.. I got a custom search query and a function to ...
1
vote
1answer
26 views

Get posts by name and taxonomy term

How do I get all posts that has a taxonomy term and a specific name/slug? I have tried with the following arguments but without getting the wanted result. What am I missing, how can I combine the ...
1
vote
0answers
30 views

Wordpress thinks my custom taxonomy pages are search pages #seo

I have set up a custom taxonomy for regular posts called guide. I have a template file called taxonomy-guide.php which lists out posts with a guide taxonomy. So my URL structure appears like this: ...
1
vote
0answers
47 views

Add Taxonomy Subcategory To Permalink

I am using a custom post type (job_listing) and custom taxnomy (job_listing_category) via the Job Manager plugin. I came across a guide in the plugin's documentation, to "add the Job’s category name ...
1
vote
2answers
24 views

where is the 4th taxonomy terms? taxonomy terms is disaapearing in the loop

I am listing custom taxonomy names. The list is displaying and the table structure is: <table> <tr> <td>Name 1</td> <td>Name 2</td> ...
1
vote
1answer
91 views

I used the Tax-meta-class by bainternet but i still can't get it to display any of the results.

here's my code: $config = array( 'id' => 'tax_meta_box', // meta box id, unique per meta box 'title' => 'Tax Meta Box', // meta box title 'pages' => ...
1
vote
0answers
15 views

Get the taxonomy of a post hierarchically

I would like to get all the taxonomy of one post (in a loop), hierarchically. Example I have those taxonomies, and the ID of the tax in bracket. Tax1(1) -Tax2(3) --Tax3(2) I would like to gather ...
0
votes
1answer
37 views

Best way to use Category & Custom Fields?

I have a website called http://overmvp.com. On this site, there are multiple "Heroes". Each hero has been manually added to the database in a custom table. With this, I need to create a guide. So for ...
0
votes
0answers
15 views

Decrement term in for each

So I am catching custom posts in wordpress by for eaching my custom terms. To get a post from the next term in the loop I use $terms[++$key]->name and it all works fine. However when I want to do the ...
1
vote
1answer
139 views

Taxonomy , subtaxonomy,child taxonomy of a product woocommerce

Hi i need to get the main taxonomy and sub taxonomy of a product in woocommerce . i know how to get taxonomy details .123 is product id . $terms = get_the_terms(123, 'product_cat'); I know how ...
0
votes
0answers
29 views

Custom Taxonomy with Core Post Type Pagination Issue

I've added a custom taxonomy to the core Wordpress Post Object: register_taxonomy("main-category", "post", array( "hierarchical" => true, "labels" => $tax_labels, "public" => ...
0
votes
2answers
36 views

Select posts wich has no relationship in custom taxonomy

I can select posts via my custom taxonomy as explained in the codex. But I am not sure, how I have to set up the tax_query if I want to get only posts which have no relation in the custom taxonomy at ...
0
votes
1answer
37 views

Get template part with CPT and Custom Taxonomy conditionals

I have two Custom Post Types Video and Gallery and a Custom Taxonomy Status with the term Featured. Right now I'm showing these CPT in my index.php, but I want to style each of them, so I'm using ...
0
votes
1answer
222 views

How do I make multiple dependent input fields that use the jquery autocomplete function?

I'm trying to create a form that will allow the user to add a new listing on the front side of my equipment classifieds website. I have a custom post type set up with a custom taxonomy called ...
0
votes
1answer
109 views

term_exists() returning NULL on term that exists

It seems that term_exists() is returning NULL for a term that already exists: $name = "כל האזורים" $taxonomy_name = "geographictermsisrael" $args = array("slug" => "everything", "parent" => 0) ...
1
vote
1answer
50 views

Autogenerate Front End Form Field With jQuery

I am attempting to autogenerate the terms in a custom taxonomy from a front end field. However, when I use the following code and try to type in a letter the dropdown menu that appears is a bunch of ...
1
vote
0answers
30 views

Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown

I have a CPT called 'online-lots' for displaying items in an auction. The posts are grouped by custom taxonomy called 'sale' (e.g. '07_15 July Sale)', meaning that a whole catalogue of items can be ...
0
votes
0answers
31 views

Hierarchical permalink for taxonomy archives

Hi I have a custom post type "book" and a taxonomy "authors". Currently taxonomy archive permalink works as: localhost/book/child-author-term and localhost/book/parent-author-term No problem if ...
0
votes
1answer
36 views

Separating a custom taxonomy from blog post-type

Whenever I invoke register_taxonomy in my site's custom plugin, all taxonomies are created as children of the blog post-type in WordPress by default. I just want them to be top-level items in ...
4
votes
1answer
255 views

You are not allowed to manage these items - bug introduced in 4.4

I have custom taxonomies which up until 4.4 worked fine. Now when I go to /wp-admin/edit-tags.php?taxonomy=gmc_dietary&post_type=gmc_recipe I get the message: You are not allowed to manage ...
0
votes
0answers
17 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
33 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
27 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
162 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
274 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
29 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
78 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
39 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
47 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
95 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 ...
-1
votes
1answer
76 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
77 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
46 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
34 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
147 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
128 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
63 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
39 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
24 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
290 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 ...