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

learn more… | top users | synonyms

-1
votes
1answer
21 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
0answers
22 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
3answers
549 views

Remove category from query (show all posts in archive.php) pre_get_posts()

I am using pre_get_posts() to allow all posts to be displayed on any category archive. This is because I will provide a javascript sorting and filtering method using isotope.js. Any category page will ...
0
votes
2answers
37 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
1answer
678 views

Duplicate Custom Post Type and Taxonomy Slug

I've seen a few questions that are very similar, but I haven't been able to get an exact answer, so I'm going to explain my situation here. Quite simply, I need the following url structure: ...
2
votes
1answer
91 views

What are terms and taxonomy, how they related to post and how these three are stored in database?

I want to understand terms and taxonomy in WordPress. My questions: What are the terms and taxonomy in wordpress? How terms and taxonomy relates to post and how post, terms, taxonomy are stored in ...
0
votes
0answers
39 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 ...
0
votes
0answers
17 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 ...
1
vote
7answers
5k views

How do I list custom taxonomy terms without the links?

I've searched far and wide to try and find an answer to my question. I'm hoping I can get help here. Here goes... I'm currently retrieving the terms of my custom taxonomy using: <?php echo ...
0
votes
0answers
21 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 = ...
0
votes
1answer
28 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
17 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
27 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
12 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
1answer
15 views

Is there a way to combine categories and their hierarchy into the admin listing page?

A simple question for a plugin that I would imagine must exist yet I can't find it. I want the standard listing page of posts (for my custom post type) to show all the posts within a tree like ...
0
votes
0answers
25 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
41 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
1answer
892 views

Multiple tag cloud filtering

I am writing a plugin which creates a custom post type and two associated custom taxonomies. The custom post type list/archive page should be filterable by terms in one or both taxonomies i.e not just ...
0
votes
0answers
27 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
58 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 ...
3
votes
3answers
14k views

How to change permalink structure for custom post type and it's taxonomies?

This is a repost of an earlier question I had, but I like to go into more details now to be able to fully solve this. So again, with (normal) posts changing the permalink is as easy as going to ...
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
276 views

Random taxonomy category list

I'm trying to display one of my custom taxonomy lists on a page. I want to show five but have them in different random orders when the page is refreshed. I've tried using shuffle, but it just ...
0
votes
1answer
69 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 ...
0
votes
3answers
68 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 ...
1
vote
2answers
79 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
1answer
21 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 ...
7
votes
5answers
8k views

How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms

I want to export all Wordpress categories (no posts, just categories) from one blog to another. How can I do that ?
1
vote
1answer
46 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 ...
0
votes
1answer
42 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; ...
-2
votes
1answer
41 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
28 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 ...
0
votes
0answers
20 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
37 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
26 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
49 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
24 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
90 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
36 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
63 views

Woocommerce only show attributes for specific category

I can't work out how to do this. I want to list the pa_country attribute terms for a 'wine' category in the sidebar. I can list all the 'pa_country' attribute terms for all categories, but that is ...
0
votes
0answers
30 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
36 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 ...
1
vote
1answer
2k views

Filtering posts by multiple taxonomies

I have a page on which I want to display all posts of a specific custom post type, let's call it "persons". I want to allow the user to filter all persons by multiple (!) taxonomies: age, city, ...
0
votes
1answer
30 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. ...
0
votes
2answers
66 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 ...
2
votes
4answers
1k views

Creating “static” taxonomies to choose from, inside custom post type?

Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
0
votes
0answers
25 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
14 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', ...