A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

2
votes
0answers
67 views

Can we have same term slug in different taxonomies?

I am having problem when creating term with same slug in different taxonomies. I researched that Unique key is removed from slug in wp_terms table, so i am getting problem to figure out that why i am ...
0
votes
1answer
18 views

Suggest Users basing on User taxonomy

My question is for getting informations or directions about how to move for a task I have to do. This is just a request for advices due to the fact I'm not an expert in wordpress development. My task ...
0
votes
0answers
24 views

Terms showing empty inside a loop

I have the following problem: I have 2 taxonomies that belongs to a custom post type What i want to do: Loop = taxonomy 1 loop = taxonomy 2 loop = post type My code works but, it shows ...
1
vote
1answer
48 views

Taxonomy archive page WP_Query does not return get_the_permalink() or get_permalink() value

In a taxonomy archive page, within the following loop: $type = 'classes'; $page_taxonomy = get_query_var( 'classes_class_type', 'yoga' ); wp_reset_query(); $args=array( 'post_type' => $type, '...
0
votes
0answers
20 views

Relating two taxonomies together

I'm trying to link two taxonomies together: retailer and category. Each retailer will mostly be assigned to the same category so I thought if I can associate the retailer with the category from the ...
1
vote
3answers
63 views

How do I apply style to each category of a list?

I need to create a simple plugin to show a list of categories inside the body of the post and, as I am new to coding, I searched for the basics and started to make little changes; it looks like this, ...
0
votes
0answers
24 views

Permalink custom post type and custom taxonomy

I have problems with making permalinks. I have multiple custom post types. Lets say cpt1 cpt2 cpt3 I have one custom taxonomy with few categories. Lets say : cat1 cat2 cat3 All custom post ...
3
votes
0answers
72 views

Hook to process a new taxonomy tag before it is created?

I am working on a website where there is a custom taxonomy for places, which can be either cities or states. The users are supposed to tag each post with a city and a state. To deal with ...
0
votes
1answer
37 views

Foreach inside foreach

I got two taxonomies: "Colours" and "Recommended Colour" both have the same terms (same colours). I want to display a list of all terms of the taxonomy "Colours" and mark one colour as recommended. ...
-1
votes
0answers
36 views

How To Create Custom Taxonomy For BuddyPress Activity

I want to create custom taxonomy for buddypress activity post type so admin can categorize activity posts like assigning categories to standard Post type. I can not find any tutorial / article or ...
0
votes
0answers
18 views

I want to add tag id to search query in wordpress

I have a custom search form which get result like this http://localhost/car/?post_type=cars&vehical=sports-car&manufacturer=truck&country=australia&state=new-yourk By using this ...
-1
votes
1answer
24 views

Taxonomy listing issue - does not display how I would like

What I have is a: Taxonomy: menu_type Term: drink (parent term) Sub term: drink 1, drink 2 (child terms) Term: appetizer (parent term) Sub term: appetizer 1, appetizer 2 (child terms) I ...
0
votes
2answers
67 views

Hide specific taxonomies from a taxonomy list using 'get_object_taxonomies'

Hello, I have a 'Custom Post Type' with 8 taxonomies and I'm pretending display a list with only 6 taxonomies and the no empties terms of each one and hide 2 taxonomies. My current code displays all ...
0
votes
0answers
47 views

taxonomy child term url change

Currently I have custom taxonomy called "client_categories" under custom post type "press_centre" I want to change url from www.mysite.com/clients/client1/image_library_1/ to www.mysite.com/clients/...
0
votes
0answers
18 views

How to include ascendants custom taxonomy terms in WordPress?

Suppose I have selected a term for a product post type in a nested custom taxonomy terms , "Term a": Term A Term 1 Term a (Selected) Term B Term 2 What I would like achieve is to ...
0
votes
0answers
24 views

Display taxonomy child only if parent is current

I have 4 level wordpress taxonomy tree. I want to display as category list and display child only when parent is current category. There is my code <?php $term_list = wp_get_post_terms($post->...
0
votes
1answer
34 views

Wordpress add taxonomies/terms list as a menu in archive page

I create a custom post type (deals), terms (project), menu (top_menu) and archive page (archive-deals.php) on my theme. I want to display terms post list in archive page. But when I click terms menu ...
0
votes
0answers
21 views

Search form only for specific post types AND taxonomys

I've amended the default search form to search within only specific post types thanks to the help of a thread on this forum (cant find link now to link to, sorry) - but each post within these specific ...
1
vote
1answer
30 views

Adding Taxonomy Image to taxonomy loop [closed]

I'm using the code below to show six random tags, adding a class on an <a> tag. $args = array( 'taxonomy' => 'post_tag', 'hide_empty' => 0 ); $tags = get_terms( $args ); $class_name = '...
0
votes
1answer
16 views

Create a hierarchical taxonomy list in Wordpress

First of all I want to thank all of your for reading my post and trying to answer my question. I'm having an issue regarding the taxonomies of Wordpress. I created a website with a custom taxonomy ...
0
votes
0answers
27 views

Multiple Post Types and Multiple Taxonomies Issues

I have multiple CPTs that all have multiple taxonomies. The problem I am running into is some of the taxonomies are the same between the different CPTs. This ends up resulting the in the same URLs. ...
0
votes
0answers
92 views

Dynamic Multiple Taxonomy & Ajax Filtering

I am dynamically generating some taxonomies and then using the terms to create checkboxes on the frontend. I would like to filter posts depending on what is checked. If multiple checkboxes are ...
0
votes
0answers
31 views

Cutsom post type and Taxonomy page

I have created a custom post type name 'products' and custom taxonomy called 'product_catagory'. The posts are displayed correctly and so is the archive-products.php archive template page I created. ...
1
vote
1answer
79 views

Wordpress have_posts() return false but count says “3”

The situation is this: I have created a custom post type which works perfectly, now I want to create a specific archive page template for the taxonomies of this post type. I duplicated the archive....
0
votes
1answer
14 views

Custom Taxonomy From Database

i want to create one site with Wordpress and for that i have some weird requirement. i wants the site like, when admin write any post at that time he have to select then product for that page. (i.e ...
0
votes
1answer
148 views

How does the 'the_post_navigation()' work for CPT's

In the twentyfifteen theme on the single.php template they are using the fairly new function 'the_post_navigation'. It seems to work for Custom Post Types (CPTs) but I cannot figure out how it does ...
1
vote
2answers
113 views

Is it possible to get a Previous/Next Taxonomy term archive URL?

I have a custom post type called shows and taxonomy called podcast. Using taxonomy-podcast.php, I having hard time finding a function that will generate next/previous Term URL Archive. For Example: ...
0
votes
3answers
69 views

Targeting Parent Category Pages

I wish to create different template pages for all Parent Categories and Subcategories. I was hoping to do it using the hierarchy (eg. something like category-parent.php and category-sub.php), but ...
0
votes
1answer
23 views

Creating custom post type posts and associating them with a post from another custom post type

I've created two custom post types -- one for Activities and one for Places. Any post under Activities needs to be associated with a Places and I was wondering what the best approach would be in order ...
1
vote
1answer
49 views

Replace term archives with static pages

I need to make different pages for different Woocommerce product categories with each having different look and functionality. Defining templates for each term archive would make it difficult for my ...
-2
votes
1answer
46 views

Remove Tag Cloud Words from Custom Taxonomy

How can I remove the Seperate tags with commas and Choose from the most used tags from my custom taxonomy? These: My Current registration for it is: $labels = array('name' => 'Company', '...
0
votes
0answers
35 views

Display all taxonomy if it exist on custom post type loop

I have a custom post type template that has an isotope layout which you can filter. I want the filter to be its taxonomies but only display those taxonomies if it exists on the specific custom post ...
0
votes
0answers
8 views

How to make custom post type permalink read like a page permalink?

I have a theme that uses custom post type permalinks. This is how they look http://coupons4florida.com/listings/dellas-cafe-bistro/ I would like them to look like this http://coupons4florida.com/...
1
vote
1answer
52 views

How to output hierarchical taxonomy path, with only the deepest term assigned?

Let's say we have a taxonomy that goes three levels deep, eg. A > B > C. Next, we create a post and assign it to the "C" term. In our case here, there will only ever be a single assignment; ...
0
votes
0answers
21 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
2answers
39 views

Display taxonomy term only if there's a value

I have a post type which I want to add some taxonomy values (tags) Example Post Type One City: London, Paris Color: Red, Yellow Language: In the example above, Language doesn't have any value, ...
0
votes
1answer
30 views

Custom Taxonomy is disabled on Edit page

I created a custom taxonomy that it is being used for the product post type of woocommerce. For some reason when you go to the edit screen it is appearing disabled. This is the code that I'm using ...
0
votes
1answer
67 views

How add body_class from wp_termmeta

I need to assign a class to the body for woocommerce categories. What I've done: // add the fields when the term is created add_action( 'product_cat_add_form_fields', 'add_product_cat_class_field', ...
1
vote
1answer
26 views

get_posts that match a user-specified value on a page

On each page, I want the admin to choose which case history post summaries will be displayed depending on the post category. My code below works but it is very clunky if you have lots of categories. ...
0
votes
2answers
211 views

User role permissions based on taxonomies

I was wondering if it's possible to set up user roles in a way that means that users in certain groups can ONLY edit posts that have a specific taxonomy assigned to them e.g: Properties (Post Type) ...
0
votes
1answer
42 views

Fatal error Call to a member function filter()

I am using wordPress version 4.4.2 + Jupiter 5.08 on Apache 2.2.22 (Debian) The website seems to be fully operational, but in the Apache error log I got this message : PHP Fatal error: Call to a ...
0
votes
0answers
19 views

Exporting tags to cloned blog

So, I've been developing a blog in local, using a clone of a site, same posts, categories, tags, etc. The problem is that meanwhile, the client has created a lot more tags that were not present when I ...
0
votes
0answers
44 views

Submit a Custom Post Type in WordPress from the Front End in Every Category

I want a front-end submission form in my WordPress website. Where this form should be available to each category? I want only two things in the form namely post title and post content. Is there ...
1
vote
1answer
37 views

Allow only 1 instance of each term in each custom taxonomy

I'm looking for a function that restricts the creation of each term to only 1 instance within each custom taxonomy. Each custom taxonomy may have the same term but the term may only occur once in each ...
0
votes
1answer
39 views

WP Query for variable taxonomies

I am stuck with this. Maybe its simple, maybe its not. But there goes. I understand that the standard way of querying multiple taxonomies in wordpress is using the method described here. https://...
0
votes
2answers
68 views

How to check if a taxonomy not exists in a plugin

I made 2 plugins (Plugin A and plugin B/custom post type.) which some of the the module on Plugin A need to call taxonomy from PLUGIN B. Everything works fine when both plugin active, but when the ...
0
votes
0answers
29 views

How do I output “Parent Term / Child Term” of a taxonomy for a custom post?

Inside a custom post (a glossary term), I want to output its subjects (in taxonomy 'glossary_subject'). Some subjects have parent terms. I would like my output to look like this: Parent Term1 - Child ...
0
votes
1answer
15 views

Templates files for custom post type with custom tags

There is a task: Create a new post type (video) with its own post tags and tag page - separate from normal post. What I've done: // Create a new post type register_post_type('video', array('...
0
votes
0answers
23 views

How to make multiple taxonomies hierarchical?

I have 4 custom taxonomies - Board, Standard, Subject, Chapter for my edu blog. I want to make one taxonomy under the other like Board > Standard > Subject > Chapter for listing. I have already been ...
0
votes
0answers
44 views

Get wp_taxonomy_term inside WP_Query throwing an error

I am using Elastic Grid in my site. When I am coding in to the WP it is giving me an error saying K.data(...).split is not a function Here is my code, $(function(){ $("#elastic_grid_demo")....