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

learn more… | top users | synonyms

0
votes
1answer
30 views

Custom Post Types - Taxonomy and Customization

I'm trying to learn Custom Post Types and I have some questions. I'm trying to add a categories menu but that doesn't seem to be working for some reason - I don't get an error or anything. Here's my ...
0
votes
1answer
1k views

Custom Taxonomy with tax_query

So I've created a custom taxonomy type with a plugin (CMS Press) and now I'm trying to get all of the posts with the taxonomy terms in that taxonomy. My get_posts looks like this: $args = Array( ...
1
vote
2answers
938 views

Get posts of ONE taxonomy term of custom post type

I am going crazy here as I assume it is quite simple, but I just cannot get it to work. I have a custom post type called 'portfolio' and a taxonomy called "locations'. In the taxonomy I have various ...
1
vote
1answer
740 views

How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?

The default taxonomy, category. By default, only those with the edit_posts capability can assign categories during post creation/editing. I have a role with very limited capabilities. I want to let ...
1
vote
1answer
657 views

custom post type taxonomy “tag” archive : no post found

I've registered a custom post type "object" and registered the taxonomy "post_tag" so that these objects can be tagged. register_taxonomy_for_object_type('post_tag', 'object'); When I visit ...
0
votes
1answer
53 views

Display Taxonomy Terms in an option tag with value being the slug

I have a custom taxonomy filled with terms that I wish to display in a fashion such as below. <option value="[SLUG]">[TERM]</option> <option value="[SLUG]">[TERM]</option> ...
0
votes
1answer
487 views

Custom Post Type Set Comments ON by default without show METABOX

I've created a new custom post type for a specific posts. The posts from my new custom post type, have - by default - set the comments to "off". I need to the comments to be "on" by default. In my ...
0
votes
1answer
164 views

Filter unique custom field value based on custom taxonomy category or other custom field

Is there an easy way to obtain a list of uniqye custom fields value from a specified taxonomy value? For example, I have many categories under taxonomy "products". Every product has some custom ...
0
votes
0answers
27 views

How Can I List Categories by Date?

This question isn't specifically about categories, but any taxonomy. I registered a taxonomy called issue. I want to list these issues by year. I'm currently using the function: wp_list_categories( ...
1
vote
2answers
1k views

Display Taxonomy Image on single.php

I'm using Taxonomy Images, and I can't figure out how to display a category's associated image on a single.php. Essentailly, when a user is viewing a post that utilizes the single.php template, it ...
1
vote
1answer
390 views

Using get_posts() with tax_query parameter set isn't working with attachments

I'm working on a project that requires searching for attachments with a given taxonomy-slug pair (in this case, category=javascript). I'm using get_posts() with tax_query set to achieve this, but it ...
0
votes
2answers
389 views

Remove title attribute from tag cloud widget [duplicate]

I use the built-in tag cloud widget and it's outputting the terms with a title attribute on hover that says "x Topics". How can I remove this title attribute, or better yet, change it to something ...
0
votes
1answer
438 views

Get posts from multiple tax terms

I'm trying to get related posts by taxonomy term. So a post tagged to 'London' would have related posts tagged to London. The code I have works if the post is tagged to a single taxonomy term only - ...
1
vote
2answers
302 views

Error sending array of inputs

Hello I am getting a Error of the Wordpress includes, this error appears when I post the multiple values of a taxonomy <form role="search" method="post" id="searchform" action="<?php echo ...
0
votes
1answer
99 views

How to display only taxonomies of custom post type in a page?

I have created recipe as a custom post and types as a taxonomy. In that taxonomy I have created vegetables and fruits as fields and I have 5 posts in each fields, but I need to display only vegetables ...
0
votes
1answer
83 views

List a custom post type's posts ordered by nested custom taxonomy

Like the title says I have custom post types and custom taxonomy for that type. For the Taxonomy I have terms in 3 levels like this: -> Term 1 --> Term 1a --> Term 1b -> Term 2 --> Term 2a --> Term ...
1
vote
1answer
220 views

How to make checkboxes from taxonomy terms?

I can populate selectbox options like this: <?php $args = array( 'taxonomy' => array( 'country', ), 'hide_empty' => 0, ...
1
vote
0answers
56 views

Why don't posts show up in my categories on the frontend?

The posts in a category don't show up in their category pages, like this one: http://www.kaerumusic.com/portfolio-category/japanese/ . On this page, ( http://www.kaerumusic.com/artists/ ) you're ...
0
votes
1answer
811 views

conditional statement for custom taxonomy

Struggling to find out how to achieve this, if it is at all possible. The equivalent of is_category but for a custom taxonomy I've set up. The taxonomy category if which being Taxonomy Name with 2 ...
0
votes
1answer
150 views

Return category slug / title from category ID

I have a custom field set up that returns the category ID of a chosen category, I'm looking to use this category ID to show, in one instance: category slug, and another instance: category title. The ...
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
1k 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
655 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
36 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
149 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
53 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
58 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
830 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
130 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
52 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
53 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
125 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
539 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
157 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
58 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
634 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
746 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
42 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
1k 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
76 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
40 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
54 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
245 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
104 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
207 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
486 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
220 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
39 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. ...