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

learn more… | top users | synonyms

1
vote
1answer
16 views

Post loop for all taxonomy terms

I currently have a custom taxonomy set up called development-category at the moment, if I want to set up a posts loop for each of these taxonomies, I'm having to do it as follows: <?php ...
3
votes
1answer
47 views

WordPress category & taxonomy loop with pagination

I have two taxonomies belonging to the same post type (posts). Adventure - belonging to the category taxonomy Adventure - belonging to the holiday-type taxonomy I want to run two queries: $args = ...
0
votes
1answer
11 views

Categories won't appear on custom post type

I've registered a custom post type called 'document', and want to add category support. I understand that either register_taxonomy_for_object_type('category','document'); or adding 'taxonomies' ...
0
votes
0answers
11 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
19 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
21 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
14 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
9 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
12 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 ...
2
votes
1answer
28 views

Disable Single Post View for Specific Taxonomy on Custom Post Type

we have a somewhat unique problem with a specific Custom Post Type that was developed for a client. It basically boils down to a need to disable the single post view for any posts that have been ...
0
votes
1answer
13 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
13 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
6 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
31 views

Get list of taxonomies associated with users

I've seen Justin Tadlock's post on creating taxonomies for users, so I know that it's possible to do that. But how do you get a list of all of the taxonomies associated with users? For posts and CPTs ...
0
votes
1answer
12 views

In two-category searches, where does WordPress save the title of the 2nd category?

I am filtering posts by two categories, using the following style of query: http://www.brandx.com/topics/animals+blue/ which gives a list of all posts that are in the animals category and in the ...
0
votes
1answer
15 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 ...
2
votes
3answers
176 views

Update taxonomy value of post type in query

I have a situation where i have about 5000 imported records in a custom post type (travel) with a taxonomy category (country). Since i import from several different locations and each source seems to ...
0
votes
0answers
16 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
5 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
16 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
21 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
17 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
15 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
24 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
2 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
15 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
2answers
41 views

get_term_link doesn't work

with the support of ACF team I created a page where I list the values from a Taxonomy Custom Field (custom field named cognome_nome) alphabetically. I explain: Term 1 Name: Elena P slug: elena_p ...
0
votes
2answers
52 views

Show parent-child relationship for categories in the wordpress admin

How can I show child categories under there parent category in the wordpress admin? On a post the format of the category box would look like this: Category 1 Sub-Category 1.1 Sub-Category 1.2 ...
1
vote
0answers
13 views

Convert non-hierarchical taxonomy to hierarchical after registration

I have a custom taxonomy that was created by WooCommerce (product_tag). I'd like the taxonomy to be hierarchical so it behaves like categories instead of tags. I need to do it after the taxonomy ...
0
votes
0answers
27 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
31 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 ...
1
vote
1answer
21 views

Get and loop posts with all taxonomy terms

I created a page that displays the posts orderby comment_count. I have a custom taxonomy named 'authors'. I would like to display only the posts with taxonomy values. Not a specific term but simply ...
0
votes
1answer
16 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: ...
0
votes
0answers
26 views

Showing list of custom posts of a custom taxonomy

I have a custom post type Movie and a custom taxonomy Genre with some terms (like Sci-fi). I want to create a custom template for show all the movies of a particular genre. I read that it's just a ...
0
votes
1answer
33 views

List sub-taxonomies from current taxonomy

I have a custom taxonomy called book with terms: 'science fiction', 'romantic', 'history' Each of these Taxonomies have 4 sub-taxonomies, that I need to display as a sub navigation. I'd like first to ...
0
votes
0answers
10 views

No results for taxonomy archive page

So, I'm making a taxonomy template page for a plugin, but I'm not getting any results from my query. I'm loading the template with this. function projects_categories( $taxonomy_template ) { if( ...
1
vote
1answer
47 views

Taxonomy terms sort by… Last name!

I have a custom Taxonomy named 'authors' where I insert additional authors. My question is: is it possible to list all the taxonomy terms order by "Last Name". If I order by name clearly it looks ...
0
votes
0answers
35 views

add_action priority and taxonomy used in plugin

I try to register my taxonomy in my plugin and use it after. So far I have done: function custom_taxonomy() { $labels = array( ... ); $args = array( ... ); ...
0
votes
0answers
12 views

WP Query for newest post of each taxonomie of a custom post type

I'm trying and googleing since 2 days, but cant figure out how I can display my 8 needed posts. Details about my structure: I'v created an custom post type "projects" where all the posts about ...
0
votes
0answers
73 views

Recent posts by taxonomy and filter by tag

I would like to display in the single page sidebar all the posts related with the Current Custom Taxonomy (taxonomy name: authors) and also filter the list of posts by a tag or category. I found this ...
0
votes
1answer
44 views

Display taxonomy posts

This seems super basic but cant find a clear answer anywhere. All I am looking for is the loop to display posts within a taxonomy. Say I have a custom taxonomy called custom_category and within that ...
0
votes
0answers
13 views

Sync Post Categories with Pages while maintaining ancestors

I'm attempting to automatically create post categories and maintain the post category hierarchy so that it mirrors pages that have been created while maintaining the page hierarchy. I have achieved ...
0
votes
1answer
44 views

How to Register and Display Widget for Custom taxonomy

I have registered a Custom Taxonomy Named as Album, Now i want to register and display a custom widget like category to display recent 'x' albums with thumbnail on my sidebar. Below is a piece of ...
0
votes
0answers
27 views

Taxonomy ID change after edit

Here is my problem. After editing a taxonomy - not custom one, just default Categories, ID of that term is changing. I have no idea why, it's not theme problem, it doesn't look like plugin either, ...
0
votes
1answer
21 views

Display Taxonomies in loop with template args

I want to display the taxonomies within the loop but with customized template. Here is my code: if ( have_posts() ) { while ( have_posts() ) { the_post(); $args = array( ...
1
vote
2answers
65 views

Display latest x posts from all categories in Custom Post Type/Taxonomy

I am attempting to display the latest x posts from all categories using a custom taxonomy called 'case-studies' in WordPress. I have managed to output all the category names as heading links I have ...
0
votes
0answers
43 views

WP 4.3 - Categories doesn't show on the menu at all on different accounts

I'm having an issue where the Categories Taxonomy is showing on one admin account but is not showing on another admin account with the same accessibilities/privileges. What could prevent it from ...
0
votes
2answers
24 views

Question on using custom structures for categories

Im trying to create a topics "section" similar to what Justin Tadlock has on his site but i'm not sure how he is doing this. Categories? Tags? or what? I tried changing the Category base to topics as ...
0
votes
0answers
16 views

Custom Post Types sharing same taxonomy

I've created 2 CPT (with Types): rivenditori and articoli. They share the same default WP taxonomy: category. I have been looking for a solution, but still nothing is working. What I get now is that ...