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

learn more… | top users | synonyms

0
votes
1answer
635 views

Display Post by taxonomy and taxonomy child

This is a follow up to Display Post by taxonomy and taxonomy child if exist I need to display a list of Accomodation, first by Type of Accomodation, then by Regions. I have a post-type, called ...
0
votes
2answers
1k views

WP Search using taxonomy terms

I have been looking for hours for an example on how to do this. I have 2 simple taxonomies, Type, Size. I need to create a custom form with the 2 taxonomies available as Select list/filter. Please ...
0
votes
1answer
1k views

How to link categories to custom taxonomy terms?

In a site I have registered some custom taxonomies. I want to have sort of a linkage between one of the custom taxonomies and the categories (which is, also, a taxonomy by itself), in such a way: If ...
0
votes
1answer
285 views

Displaying posts of given category

I'm facing a strange problem: <?php $loop = new WP_Query( array( 'post_type' => 'ff', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => 10 ) ); while ( ...
0
votes
0answers
17 views

How to add id to custom post type taxonomy term slug?

For example, if custom post type taxonomy is "cpt-category" and term is "cpt-term-11", I would like to show and link like this(*123 is term id) /cpt-category/123/ instead of ...
0
votes
0answers
5 views

I'm looking for a plugin or solution to make taxonomy pairs or groups

I have two different custom taxonomies. First taxonomy contains name of competition (City competition, Country competition). Second contains type of win (winner, top21, top100). And every post can be ...
0
votes
1answer
81 views

Custom Post Type Archive with Dynamic Taxonomy Filtering

I have been learning about WordPress's built-in function as described in the title. What I have learned is that WordPress will automatically filter the content displayed by the taxonomies specified ...
0
votes
0answers
19 views

Using is_tax with multiple taxonomies

I have multiple taxonomies set-up which are being used in conjunction with a custom post type. It's all working well and I can view different posts depending on the URL structure, e.g. ...
0
votes
0answers
8 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

How to categorize taxonomies meta data

I have a taxonomy called Video_Tutorials I'm trying to let the user add meta data to the taxonomy in a categorized way For example, I need each term under that taxonomy (say "Photoshop Free Course ...
0
votes
1answer
40 views

category image taxonomy

I was using this solution for my problem, create a taxonomy for images without using any plugin, finded here: How to add upload field in a custom taxonomy? This is the code I use: function ...
0
votes
0answers
29 views

Sort products by custom taxonomy name

I'm trying to sort all products on the shop page by a custom taxonomy category which is in this case product_brand. What I want is when I choose from the dropdown sort by Brand all products to be ...
0
votes
0answers
24 views

Wordpress, add post to custom taxonomy's category

I am trying to add a post to a category under taxonomy cate. The code I am using is: $user = get_user_by( 'email', $_POST['user'] ); $id = array( 'post_title' => $_POST['title'], ...
0
votes
1answer
53 views

Listing Custom Post Post from certain category

I have Custom Post note Here my category looks like this : Tutorials --Class 11 ----Physics ----Chemistry ----Biology --Class 12 ----Physics ----Chemistry ----Biology -- represent children and ...
0
votes
0answers
12 views

Permalink Custom Structure urls taxonomia

I created a CPT and taxonomy, category and products, the problem is I need my product has the permalink well .com / name-category / name-product the permalink structure is set up /% category% /% ...
0
votes
0answers
62 views

get_terms functions.php

my functions.php function retrieve_my_terms() { $get_participants_country1 = get_terms('participants_country', array( 'hide_empty' => false ) ); $teras_terms = array(); foreach( ...
0
votes
0answers
76 views

WP_Query with multiple select fields

BACKSTORY: This is part of my WP_Query foreach loop, there are many fields that it takes into account (text, number & these are taxonomies). It works nicely like this. case ...
0
votes
0answers
24 views

How to display custom taxonomy grandest children in three columns, with first child as column heading?

I have a taxonomy structure thats 4 levels deep, with the name 'services_tax': Parent - Child - - Grandchild - - Grandchild - - - GrandGrandchild I am trying to get the terms selected on a custom ...
0
votes
0answers
15 views

query taxomony terms but exclude current taxonomy and display older terms

I have a taxonomy called "magazine", with custom fields attached to it, with the slugs for each term as "editions". so if you are in tax-archive for say, "/editions/issue-52/", I have a query in the ...
0
votes
1answer
59 views

Display List of Categories Within a Custom Taxonomy

My website is an online magazine, so I have a custom function that creates a taxonomy (Volume/Issue) for Posts and Pages. Each issue of the magazine has its own particular category (e.g. News, ...
0
votes
0answers
20 views

Display one taxonomy results first then other taxonomy results?

On my site I have a slider that cyles through vehicles from cheapest upwards in ascending order. These vehicles are selected for the home page slider by a taxonomy option entilted ...
0
votes
0answers
41 views

How to edit taxonomy terms fields directly from post editor?

When adding a custom taxonomy to a custom post type, a taxonomy meta box appears in the CPT editor where author can add terms to that CPT within the taxonomy. But the question is: Is it possible to ...
0
votes
0answers
65 views

Hierarchical URL based on custom taxonomies and post types

I've been googling around for an answer to this question but the answers are either too old or hard to follow. I'm hoping I can get some clarification on how this works here. I'm trying to set up a ...
0
votes
1answer
39 views

Taxonomy link not working (leads to 404 page)

I've created a website where I use Taxonomies for adding an extra category future. This feature works in the backend (admin) and is showing up correctly under the article. The problem is that the link ...
0
votes
1answer
54 views

Group Custom post type in a taxonomy page by its child taxomony

I hope you can help me, guys. I've create custom post type and custom taxonomy with Custom Post Type UI plugin. Then i create an page taxonomy-mycustomtaxonomy.php. When i access, for example, a url ...
0
votes
0answers
40 views

Order by Parent category, foreach terms as term

I am using Post 2 post plugin to link 2 post types. I have categories, parent and child. My single-invitations.php contain “For each terms as term” code. also am using Category Order and Taxonomy ...
0
votes
0answers
9 views

What is the earliest hook you can piggyback on to check terms/taxonomy for a collection view?

I am attempting to set up some conditional logic based on whether or not get_the_terms( $post->ID, 'product_cat' ) has the term 'Photographs' in it. Currently I'm using the wp hook, but that ...
0
votes
0answers
29 views

How to get the categories from Related Posts using “Posts to Posts” plugin

Sorry if this has been answered elsewhere — if it has, I have been unable find the answer — or if this seems like a basic question. But I am trying to use the Related Posts functionality built into ...
0
votes
1answer
39 views

how to print post tags [duplicate]

I want to list tags of my current post I am using below code <?php $tax_tags = get_terms(array('post_tag')); foreach($tax_tags as $tag){ ?> <p> <?php echo ...
0
votes
2answers
40 views

Display Post co-authored in Author Page

I am using co-author plus and I have posts in my site that are done by multiple authors. I would like that when I click on the co-author's author page, I will be able to get the posts that he/she ...
0
votes
1answer
39 views

get children from current variable (taxonomy) via shortcode

I am working on a portfolio site and I need to modify this part. It is a filter of categories, placed via a shortcode. I want to show only the children categories of the selected category of my ...
0
votes
0answers
27 views

Sort Taxonomy List by Custom Values

I'm trying to make the order of taxonomies adjustable. I've already got the drag & drop working and can put those values to the database. I just don't know how to sort the taxonomy list by other ...
0
votes
0answers
27 views

Remove current taxonomy value and set new value from a button on Wordpress front-end

I have a list of Wordpress custom post type posts. They have a status of either Active or Dormant. I need to create a button on the front-end that says "Deactivate Item" which when selected removes ...
0
votes
1answer
49 views

How can I list all the categories under a Custom Post Type (taxonomy)?

So I have created a custom post type and under that taxonomy named "Category" which serves for categories. How can I list all the categories from there?
0
votes
0answers
20 views

rewrite_rule - working fine but broken single post 404

I'm having an issue with my rewrite rule, works fine here: example.com/resources/ example.com/resources/articles/ Also works fine with the pagination here: ...
0
votes
0answers
32 views

Using “Types” plugin, how to get taxonomy in url for custom post type

I am using "Types" plugin to create custom post type easier. I created a taxonomy for my custom post type "bottle", however, the permalink is not good at all. I would like to have their taxonomy in ...
0
votes
1answer
29 views

Filtering posts by taxonomy and meta_value

I am writing a plugin that will hide and sort posts based on tags and postmeta. Products tagged "antique" that are out of stock will be hidden by default. So far, I can hide sold products, but when I ...
0
votes
0answers
22 views

Custom taxonomy escaping html attr

I have a custom taxonomy, really simple one. When inputing tag to the description it works fine and as expected. however when adding rel="nofollow" or rel=nofollow wp is dismissing the attr and save ...
0
votes
0answers
10 views

Wordpress Taxonomy Filter always show nothing

I have currently the following problem: I registered a new Taxonomy (called 'mediacategory'), but I got some problems by creating a filter. The script is working with the default taxonomy 'category' ...
0
votes
0answers
62 views

How to get taxonomy in grid view in bootstrap in wordpress

I was trying to get taxonomy in grid view with taxonomy image to for image I used taxonomy term image but when i get all taxonomy in taxonomy.php I am getting taxonomy but I was not able to get ...
0
votes
0answers
44 views

loop all posts by category

I have custom post type and taxonomy. post_type = product taxonomy = Products 2 level of taxonomy. Living room -Sample tax under living room -more -more Kitchen -sample tax under Kitchen -more -more ...
0
votes
1answer
27 views

Taxonomy pages, stop them indexing or being generated?

Not sure if anyone can help / advise on the following: Just looking into WordPress pages that are automatically generated, like taxonomy pages. We have seen search results come up before the actual ...
0
votes
0answers
19 views

Post doesn't appear in the taxonomy manage page

I'm using CPT UI to create custom post type named "Tour". Inside tour i have a taxonomy named "Sidebar". Inside Sidebar i have an item like this: As you see there's a post in that item. But when i ...
0
votes
0answers
38 views

Search form not working as expected

I've made a search form with dropdowns and when I select an option from each one it does not display any results. I've been trying to change the wordrpess search query but with no luck until now. here ...
0
votes
0answers
3 views

Custom Taxonomies Duplicating Into Each Other When Saving Custom Post

I am having an issue with a custom post type with multiple custom taxonomies. When I add the post the custom taxonomies are saving but the items/terms are also duplicating into the other custom ...
0
votes
0answers
25 views

Wordpress: Trying to echo taxonomy slugs of individual downloads, but limit them to the $atts[category] selected from shortcode from post

Note: I'm a reasonable newcomer to .PHP, starting with this project. I understand the concept of it, but I'm not yet skilled enough to figure out what functions I need to use for something a bit ...
0
votes
0answers
10 views

Can a taxonomy be used over another taxonomy?

I'm not sure if the title is appropriate. My wordpress site lists restaurants in my city and I'm using two taxonomies 'location' and 'cuisine' for filtering. Is there a way in which I can build a ...
0
votes
0answers
39 views

How to display terms from two taxonomies in one php code?

Two taxonomies were added to posts : volume : in which admin enter the number of the journal volume for each post issue : where admin enter the number of the issue under which the post is published ...
0
votes
0answers
58 views

How to get the last term from taxonomy?

working on a scholar journal in which publisher add issues to the "issue" taxonomy assigned with articles. i need to display outside the loop a list of posts assigned only with the last issue ...
0
votes
1answer
19 views

Display custom_post_type with current taxonmy of a page

I've associated a taxonomy to pages and a custom_post_type. When i'm on a page with a said taxonomy term, I need to display a list of custom_post_type associated twith the same term. I'm using this: ...