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

learn more… | top users | synonyms

0
votes
1answer
2k views

How to get the get the select values created by ACF plugin in wordpress

Basically I want to display the select box so admin can select the option while creating or editing a category to display the category in front page with image or not. I use advanced custom plugin to ...
1
vote
4answers
919 views

Count posts that have specific taxonomy term attached

When upgrading our portfolio I'm looking for something that shows the number of posts in a (current) category of a post type. Example: I have a category with 'features'. Each feature has it's own ...
1
vote
1answer
2k views

Filter custom post type using multiple taxonomy dropdowns

I'm trying to create two dropdown boxes on a custom post type page called Activities. One taxonomy category is for Activities Grade Level and the other for Activities Type. With what I have now, if ...
0
votes
1answer
600 views

is_tax() function not working as expected

I'm facing an issue with the is_tax() function. I'm a class method that fetches a specific custom post types. These custom post types have taxonomy related custom fields (among other custom fields). ...
0
votes
1answer
35 views

Taxonomize taxonomy terms?

I want to register taxonomies that apply to taxonomy terms (in addition to posts). I believe this is possible because posts and terms are both WP objects. What steps are needed to achieve this? ...
0
votes
2answers
144 views

Display yesterday's last post's Custom field from Unique terms of one Taxonomies

I have problem in my first theme design, and I think you can help me easily!(I searched my problem several times in Google and WordPress codex but I cant find exactly that I want!!) I want to ...
0
votes
1answer
52 views

Grouped custom taxonomy query

I have created 1 custom post types: image-gallery 1 custom taxonomy: media-category 2 categories (under Media Categories): categoria-uno and categoria-due I need to print the records grouped by ...
0
votes
2answers
57 views

Counting posts by certain author with custom taxonomy

I'm using this code to display the last three posts of a custom taxonomy ('special') by a certain author: <?php query_posts( array( 'taxo' => 'special', 'showposts' => 3, 'author' => 2 ) ...
1
vote
1answer
781 views

Use get_terms to get post_tags but limit to a taxonomy

So I'd like to get the top 5 post_tags by count. But I have an additional taxonomy that I use to further organize posts called Issue. So I want to be able to get the top 5 post tags used by posts in a ...
0
votes
1answer
117 views

Get posts in a subcategory of a chosen parent

Taking on legacy data I have the following structure -Top level category (category) -- Sub category (report) --- Post I want to get all posts in a particular top level category. The problem is ...
2
votes
4answers
2k views

show tags of custom post type ONLY

I have a custom post type with tags included as a taxonomy, I am trying to display a list of all the tags that are in the custom post type only. I initially used: wp_tag_cloud(); which generates ...
0
votes
1answer
51 views

Custom Post Type Template based on Taxonomy

I have a custom post type, Vehicles. Vehicles have a custom taxonomy, new or used. Naturally the vehicle pages use single-vehicles.php but I would like to differentiate between new and used vehicles ...
0
votes
1answer
51 views

Check if taxonomy is attached to at least one post in a post-type

To check if at least one post in post-type products has the led term I usually do this: $query = array('numberposts' => 1, 'post_type' => array('products'), 'television' => 'led'); $products ...
0
votes
2answers
121 views

Exclude 2 in 3 terms of A Taxonomy from all Archives

I have read this post: Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts' And then I have used that function to my theme. My Taxonomy (tinh-trang) had 3 term: ...
1
vote
2answers
515 views

Custom Post Type Taxonomy Filters

Im really struggling to piece this functionality together, and hope someone can help or provide snippets to get me there. So I'm creating a section on a website where stories are published, I have ...
1
vote
1answer
142 views

How to save a multiple checkbox array into a non-hierarchical taxonomy

I'm using apptheme jobroller theme and trying to manipulate its Edit Resume page. I want to show a specific taxonomy (resume_specialities) as a set of multiple checkboxes and enable users to check ...
0
votes
1answer
57 views

Add tags to custom post type without menu link

I've worked out how to add tags to custom post types using 'taxonomies' => array('post_tag') However this adds another "Tags" submenu under my custom post type menu which I do not want. How do I ...
0
votes
3answers
609 views

Taxonomy Drill-Down / Plugin Help - hierarchical queries within plugin?

I hope this question doesn't make me look too stupid! I am using a plugin called 'Query Multiple Taxonomies' -- it's a fantastic plugin and is written extraordinarily well. ...
0
votes
2answers
690 views

How to display post from current Taxonomy in archive page?

I am using the following code to display a random post from the current category in category archive page (using archive.php). However, when in Tag or Taxonomy archive pages, the post is not correctly ...
0
votes
0answers
40 views

Show list of posts only on category site

I used the following code to create a list of my custom categories and custom post types: <ul> <?php $custom_terms = get_terms('project_category', ...
1
vote
1answer
944 views

Why is my WP_Query not working when tax_query terms are an array?

I have an issue with a WP_Query for a site I'm building which has me stumped. This works as expected: $package_args = array( 'post_type' ...
0
votes
1answer
71 views

Turn wp_tag_cloud into a front-end filter

I have a photo gallery with wp_tag_cloud in the sidebar to display hierarchical taxonomies that categorize photos. The taxonomy name is person. <div id="filter"> <?php wp_tag_cloud( array( ...
0
votes
1answer
39 views

Taxonomy templates in a multilanguage site

Let's say I have a multilanguage (English and Spanish) site with a custom post type called Books, with two custom taxonomies, Authors and Publishers. The template files used to render the taxonomy ...
0
votes
0answers
53 views

Custom taxonomy template

I make two custom post type called (movies and serials) and one custom taxonomy called (directors). When I go to /directors/namedirector I don't see movie. I need help to make query or template for ...
0
votes
1answer
227 views

Why get_page_template() doesn't show taxonomy template file name?

I made a custom taxonomy called - work-category and a template file for it called - taxonomy-work-category.php. That part work just fine. For a purpose I did put get_page_template() in that ...
0
votes
1answer
103 views

Advanced AND tax_query in sidebar with 2 taxonomies

I have two taxonomy : brand and product. In single sidebar I am displaying the brand and product of the post in the sidebar but I would like to display all the other product of the current taxonomy ...
0
votes
2answers
204 views

Is there a query string for edit.php to show all posts that have no custom taxonomy terms?

I wrote a plugin Premium Posts that registers a custom taxonomy called sms_premium_posts and adds a column to the post list table in the WordPress administration area. In that custom column, if a ...
0
votes
2answers
454 views

Automatically Assign Parent Terms When A Child Term is Selected

I have deep hierarchical taxonomy and I want to have all parent term assigned when I select a child term. I need it for category structure on a online listing/classified site. CPT name: product ...
0
votes
2answers
217 views

Metadata for a taxonomy - is there any WordPress way of doing this?

If I have a CPT "movies" I know I can have various taxonomies eg "Director", but how can I store further information such as "director's nationality" for any one particular director ... or is this ...
0
votes
1answer
38 views

How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)

I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot). Though.. I want all my clients to query their album on my site. ...
0
votes
1answer
306 views

Taxonomy as checkboxes

So I'm trying to get Wordpress to display the categories as a series of select boxes in a custom meta box and am using some examples from this tutorial, but when I go to save the selection it ...
0
votes
2answers
155 views

Override Taxonomy Template

I'm trying to list all the products tied to a specific taxonomy. For some reason the template won't work when trying to access "http://www.myexample.com/product_categories/funiture/", I tried ...
0
votes
1answer
319 views

input radio 'checked' saves, but select option 'selected' doesn't

So I followed a tutorial on how to create a meta box w/ the taxonomy terms shown in radio buttons. (Tutorial here for others if interested: ...
0
votes
0answers
18 views

Maintain custom post types and taxonomies in all themes [duplicate]

When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
0
votes
1answer
92 views

Delete Term via edit-tags.php

I might get rep'ed down on this - but is there suppose to be a "Delete" link on the edit-tags.php page? Note: not the WP-List-Table, but the actual page where you specifically view the terms ...
0
votes
1answer
26 views

create taxonomy

I am new to word press, I want to display results on a page which belong to some group from database(I have group column). I think this can be done by taxonomy so I have taxonomy table but I don't ...
0
votes
1answer
379 views

How to set hierarchical terms to a post using wp_set_object_terms

I have a hierarchical custom taxonomy called "locations". The parent categories are country names, the child categories are the territories under the country. How can i attach these terms to a post ...
1
vote
2answers
591 views

Get current custom user taxonomy

I’m using the plugin User Groups which lets me group users with categories. The plugin is working essentially the same as using the manual method (custom user taxonomies) described by Justin Tadlock ...
1
vote
4answers
701 views

How to get next previous category in same taxonomy?

Like WP get_adjacent_post function gives the next and previous post data based on the parameters i want to get the next/previous category data is there any WP built in function which does the right ...
0
votes
1answer
103 views

How to make an admin create/edit post page to look like taxonomy page?

This idea just came to me, where I thought it would be great to have something like this for CPTs that doesn't need much content/fields to fill out. Basically a Post page where your able to add a ...
0
votes
1answer
82 views

Add category description to list of category with taxonomy image

I'm using the Taxonomy Images plugin. Would like to list categories with their thumbnails AND descriptions. Code below give a list of categories (titles are linked to category archive) and thumbnails. ...
1
vote
1answer
222 views

wp_insert_post not updating custom taxonomy selected if logged in as a subscriber

Here is my Code, it works fine When i try to post data from front end if Logged in as admin, but if i logged in as a subscriber code works fine but it is not inserting the taxonomy term i select, here ...
0
votes
1answer
43 views

Looping taxonomy in taxonomy?

So I have a CPT of references (like a dictionary kind of format for music). In it there are two taxonomies: medium_reference and reference_letter. The reference_letter lists letters A-Z, while ...
0
votes
1answer
477 views

Custom taxonomy rewrite using tax name instead of rewrite slug

I Created a custom taxonomy for my projects custom post type. function projects_taxonomy() { $labels = array( 'name' => __('projects Categories'), 'singular_name' => ...
0
votes
2answers
241 views

Add text to the end of each list item in wp_list_categories

I haven't been able to find what I'm looking for and not sure how to approach it. I'm using wp_list_categories to obviously list terms of a taxonomy. I'd like to add some text to the end of each ...
0
votes
1answer
113 views

Problem importing categories and sub-categories

I have an array with the categories and sub-categories I want to import to the "campsite-district-county" taxonomy. My sub-categories are not being inserted with the correct parent. They're being ...
1
vote
0answers
186 views

Get posts under a category with SQL

How can I retrieve posts under a category with plain SQL with out using WordPress native api's like get_pages? My Wordpress table wp_terms contains a term named Restaurants. I want to list the post ...
1
vote
1answer
163 views

get_the_tags() not iterating through for/while loop, but will with foreach

I'm having a very peculiar issue with Wordpress right now that I can't understand, and hopefully someone here will have experience with it to help solve it. I'm trying to iterate through the array ...
1
vote
1answer
348 views

Showing custom taxonomy column in taxonomy category listings immediately after create category

I add my custom taxonomy column with this code: function manage_my_category_columns($columns) { if ( !isset($_GET['taxonomy']) || $_GET['taxonomy'] != 'products' ) return $columns; ...
0
votes
1answer
64 views

Get Link to Feed On Term or Taxonomy

Instead of building the link myself, I was wondering if wordpress has a function which generates a link to a given feed, be it a taxonomy, term, or post type. Perhaps it might even generate the little ...