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

learn more… | top users | synonyms

0
votes
1answer
7 views

Displaying the category name of a custom post type

So I have a custom query, in which I'm displaying some results posts of a custom post type called "staff". This custom post type is linked to a custom taxonomy called "department". I am able to ...
0
votes
1answer
5 views

Show taxonomy image on custom post with ACF

I am trying to show a custom image on certain post based on the category. I have made my location rule to “Show this field group if taxonomy term = custom-category” . Now I can go to those categories ...
0
votes
0answers
9 views

Get all terms inside a specific taxonomy in a multisite

I have a father blog / main blog inside a multisite that has a specific taxonomy with 20+ terms inside it. i just need a list of all the terms inside that taxonomy... i dont mind quering using WPDB ...
0
votes
1answer
15 views

How to add a post with new Taxonomy without assigning to default category?

I need your help, I have created new Taxonomy in WordPress (Called Sources) and whenever I create new post and select that new Taxonomy WordPress forces to assign Default category. How to disable ...
0
votes
1answer
32 views

Custom post type - list posts based on meta_key and display them divided by CPT taxonomy category

Shortly: I've custom post type called 'produkty' Inside this CPT I've taxonomy called 'kategorie_produktow' with terms (list of product categories, like in normal posts) - each product has ONE ...
0
votes
0answers
19 views

Order by (sort) taxonmy fields using taxonmy custom field value

I have taxonomy:-shop_vendor with multiple vendors and every vendor have two radio buttons 1)Wellness 2)Dietitian and each vendor have selected one radio button at list. If i have 6 vendors in ...
0
votes
1answer
17 views

How to view WordPress' default category IDs?

It seems that Wordpress has default categories with default (and unchangeable) IDs. For example, the uncategorized category seems to always have an id of 1. Is this always the case? Is there any ...
0
votes
0answers
16 views

Copy/Move selected taxonomy terms to another taxonomy for posts

I've been searching for about 2 hours now on a solution of copying/moving selected taxonomy values for each posts to another. Here's the situation. I'm working on a site that has a post type of ...
0
votes
0answers
6 views

How to Add Attend/Not Attending to Events Managment System?

I wan to create my own platform to organize my events. I Created : Post Type: Contact Taxonomy1: Groups Taxonomy2: Events Metaboxes : - Name - Position - Address after adding my contact list, and ...
0
votes
1answer
10 views

query_posts that have custom taxonomy and limiting what shows based on the taxonomy

I have a custom post type, technologies, that has a custom taxonomy defined for it, importance. The idea is that a technology that has any significance will get importance tagged on it (featured is ...
0
votes
1answer
24 views

Custom Post Type and Taxonomies, creating the corresponding template file and loop the data

I am creating this custom post(which is some sort of image gallery). Well each custom post also have this taxonomy, which works as a category type/post type. My question is, how do I create a custom ...
0
votes
0answers
34 views

Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies

For a local directory, i have a 'businesses' CPT with 2 taxonomies - 'location' and 'type'. I am trying to figure out the best way to create taxonomy term archive pages such as: ...
0
votes
0answers
28 views

Create custom post type just like a page post_type

Here's what I'm trying to achieve: A custom post type with the attributes/properties of a page post_type I'm aware of the supports array which allows page attributes to be used, but this isn't what ...
0
votes
0answers
15 views

How to remove base slug for specific taxonomy term?

I have a tag named Recipe, for example. Now the URL is myweb.com/tax/recipe but I want to rewrite this specific term to myweb.com/recipe
0
votes
1answer
19 views

How to show amount of post in a taxonomy with advanced custom fields?

I am trying to display the post count of some taxonomies. I have a custom template that I am showing some taxonomies on. I am using advanced custom fields to assign each repeater field to a ...
0
votes
0answers
14 views

Custom Taxonomy as Link

I have this image here http://i.imgur.com/5szTQNy.png which shows the download button I will be talking about. I am trying to make it so that when I put in a custom taxonomy box in the back end the ...
0
votes
2answers
40 views

Related posts by taxonomy [duplicate]

I want to show related posts, with the same taxonomy (artists) as the current post. In the related post I don't want the current post to appear. I am also using a custom post type. (sculptures) This ...
0
votes
0answers
7 views

Organization of different portfolio under a user in WordPress

I would like to be able to organize properties (real estate) in projects. Every property will be assigned to a project. Some properties will be assigned to the same project. This would likely be done ...
0
votes
1answer
44 views

Style a category from category list

This is my previous question Wrap a chosen category name with div which I made a mistake on the question, however I got the correct answer. But thats not what I needed. Currently, I'm using this code ...
0
votes
1answer
27 views

Wrap a chosen category name with div

I'm trying to wrap a category name in a post with a div. This is how i get the category name I need. Reference Links : get_term_by term_exists My Ideas <?php $term = term_exists('foo', ...
0
votes
0answers
42 views

What to do with shared terms splitting in Wordpress 4.2?

I read about a possible break compatibility change in Wordpress 4.2 called "shared term splitting". I download the plugin from jjeaton (https://github.com/jjeaton/wp-find-shared-terms) that show you ...
1
vote
0answers
39 views

Display name of the last child category

I have the following product structure: -- Category -- Deep -- Deeper Currently the last child category "deeper" will only be used for labeling products. What I want to do is to echo only the last ...
0
votes
1answer
12 views

How to list all names and descriptions of a custom taxonomy

I have a custom taxonomy (toolkit-sections) inside a custom post type (toolkit-tools) and I'm looking to just list the taxonomy names and descriptions from toolkit-sections on a homepage. I don't ...
0
votes
0answers
16 views

In edit post show categories as select instead of checkboxes

In wp-admin edit post categories(taxonomies) are listed as checkboxes. People can select multiple categories. That is exactly what I don't want! I want the categories to be listed as an ...
2
votes
2answers
51 views

Convert IPTC keywords to blog post tags

I'm a total newbie regarding to wp or coding or anything like that but I manage to get things done with a bit of reading. I need a way to convert IPTC extracted keywords that are attached to it's ...
0
votes
0answers
9 views

multitaxonomy in one metabox

I want to add meta box in custom post type. but i nees to add in this meta box two custom taxonomy Is any why for add one meta box that contain two or more custom taxonomy?
0
votes
1answer
30 views

Get most recent post for every term in a given taxonomy type

I'm looking for an efficient way to retrieve the most recent post from every term for a given taxonomy type. I found this question, which provides the same solution I came to on my own: $terms = ...
1
vote
1answer
37 views

How to get the post type from a category id?

I am trying to find out the post type from a category id. Suppose that, when i am opening a category page localhost/project/foobaar/category/pen I want to know the post type to which category - ...
0
votes
0answers
15 views

Menu not showing while using filter hook for custom posts

I have a custom post type named event and each event has a meta value named event_date. event post type has two custom taxonomy event_category and event_location. On the homepage I'm trying to show ...
0
votes
1answer
55 views

Get all taxonomies for all post types

I would like to get all the available taxonomy for each (custom) post type. My aim is to list for each post type, each taxonomy like category, tag and for each of these taxonomy to get all register ...
0
votes
1answer
102 views

Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms

I am trying to build an advanced search form that allows users to select from two taxonomy based drop down menus. Each taxonomy drop down has taxonomy terms from which the user can select multiple ...
0
votes
0answers
11 views

Getting associated taxonomies

I am in a bit over my head with this one, so I'm hoping someone can point me in the right direction. Project Background I am working on a project that involves a complete overhaul of a site that ...
-1
votes
1answer
53 views

tax_query not working properly with get_posts

Here are my args: $args_home = array( 'post_type' => array('news', 'jobs'), 'posts_per_page' => 12, 'meta_query' => array( array( 'key' => '_thumbnail_id' ...
0
votes
1answer
19 views

Missing posts in a query

I've got this loop where I need to grab a custom post type, get a taxonom, then for each term in taxonomy I need to output all posts. They are all output in a gallery, where taxonomy term is the ...
0
votes
1answer
44 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: ...
0
votes
1answer
21 views

Creating a Taxonomy Page [duplicate]

I am having a hard time wrapping my head around the way to set up a taxonomy template page. My goal is to create a taxonomy archive of a custom taxonomy I created. The page would only need to contain ...
0
votes
0answers
14 views

How to create a collection of terms used by posts from wp_query

I am creating a custom search results page that has a WP_Query that looks like this: $args = array( 'post_type' => 'manuals', 'posts_per_page' => -1, 's' => ...
0
votes
1answer
18 views

switch statement for taxonomy content

I'm trying to check if a taxonomy in a post matches a string, however my code isn't working and it's always outputting the first item.. $i=get_the_term_list($post->ID,'tax-athlete'); switch ...
0
votes
0answers
11 views

WordPress Mysql DISTINCT meta_data with custom post and taxonomy

i've a problem with mysql query on my wordpress database. I have post_type is : "product" and taxonomy is "cat" I've custom fields: packagename At moment I have this query that show all post type is ...
0
votes
3answers
76 views

How to add HTML5 'required' attribute to wp_dropdown_categories() without JavaScripts?

I'm using wp_dropdown_categories() for populating <select> field with custom taxonomy terms. If the code is like below: <?php $args = array( 'show_option_none' => __( 'Select one', ...
0
votes
0answers
13 views

Create multiple taxonomy archives from the same tax and link term-links to them based off of the unique query

I have a CPT called "Clinical Trials." There are three taxonomies associated with "Clinical Trials" —"Locations", "Cancer-Types", and "Status". I have a query set up to return a list of all ...
0
votes
1answer
46 views

Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()

I'm developing a plugin and I've problem with inserting new term to my custom taxonomy. <?php add_action('init', 'create_tax', 0); function create_tax() { $args = array(...); ...
1
vote
1answer
20 views

conditional statement based on terms

I was wondering if someone could help me out. I have created a custom query to retrieve in a custom single.php to retrieve posts which have the same custom taxonomy term and display them. here is the ...
0
votes
1answer
33 views

How to create TEMPLATES for TAXONOMIES? What I have to change in this code?

I've created custom post type and it's taxonomies. The code is: add_action( 'init', 'register_cpt_portfolio' ); function register_cpt_portfolio() { $labels = array( 'name' => _x( ...
0
votes
1answer
17 views

Adding inline help to category/taxonomy checkboxes in admin sidebar

My site uses blog categories and several custom taxonomies. I need a way to add 1-2 sentences of inline help above the checklist of terms in the admin. The custom taxonomies are associated with ...
0
votes
1answer
30 views

Custom Post Type parent slug as menu item

I created a Custom Post Type with the slug "Sell". I want to add this to my menu set up in Appearence. But it seems to work only for actual items created with this CPT. But I need the menu link, ...
0
votes
0answers
35 views

wp_list_categories doesn't return 4th level of children

On my website, I have a taxonomy, on each term page of which I list child terms. If there are children, immediate ones (depth=1) are displayed. If there are none of them, nothing is displayed. The ...
0
votes
0answers
23 views

Add image to taxonomy and output to homepage

I want to add an image to my taxonomy terms and then display the image on my homepage. On my index.php template it list the recent 10 posts and I want to show the taxonomy image of the post is in. ...
0
votes
1answer
26 views

Using custom taxonomies in a query

I'm using a plugin (IssueM) which gives the "articles" post-type a custom taxonomy called "Issues". I'm trying to return all "articles" which have the taxonomy issue-one set (which is the slug name). ...
0
votes
0answers
18 views

Independent categories to custom post type

When ever I create custom post types I face the problem that categories are shared with normal posts. Is there a way to keep these category taxonomies separate? For example this is my custom post ...