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

learn more… | top users | synonyms

0
votes
1answer
26 views

Unable to differentiate between two categories under custom post type on single.php

I have created A custom post type as mentioned in my older question When I try to use get_the_category() function to retrieve the category of the post(if it is symphony or noir). It returns "Array". ...
0
votes
0answers
10 views

Taxonomy term ACF issues with post with more than 1 category sometimes

I am trying to get and display values from a taxonomy term on a custom post type for some categories which are under 1 parent category with the ID of 80. Everything works fine when there is 1 ...
1
vote
2answers
13 views

How can I find the taxonomy in edited_{taxonomy}?

How do I find out which taxonomy triggered the save? add_action ( 'edited_' . $taxonomy->name, 'save_taxonomy' ); function save_taxonomy( $term_id ) { $term = get_term( $term_id, $taxonomy ); ...
0
votes
0answers
14 views

create search form with dropdown taxonomy and input text + custom template for action form

0 down vote favorite i create search form with taxonomy dropdown and input text for keyword "My Custom Taxonomy name is gener" this is my code without problem <form role="search" ...
2
votes
1answer
19 views

what are terms and taxonomy and how they related to post and how these three are stored in database

I am newbie to wordpress. I want to understand terms and taxonomy in wordpress. My questions: 1. What are the terms and taxonomy in wordpress? 2. how terms and taxonomy relates to post and how post , ...
0
votes
1answer
38 views

Retrieve list of taxonomies in json

I have custom taxonomies like that /wp-admin/edit-tags.php?taxonomy=my_cat&post_type=my_poet I want retrieve list of taxonomies in json add_action('init', array($this, 'json_handler')); I ...
0
votes
1answer
15 views

Show portfolio category slug in url ( if exist)

I'm trying to achieve a two level portfolio structure, and it works fine in the breadcrumbs but not in the URL. The idea is to show the portfolio slug (destinations) followed by the portfolio category ...
0
votes
1answer
13 views

Illegal string offset 'taxonomy' in

I'm struggling a bit with the following error Illegal string offset 'taxonomy' in ... on line 175 Trying to get property of non-object in ... on line 177 Trying to get property of non-object in ... ...
0
votes
0answers
8 views

Problem with Query on Taxonomy

I have a CPT (homepage) and a taxonomy for this CPT that has some fields (about, services ,...) I want to display the posts (and the contents) of each category (of custom taxonomy) in my homepage. but ...
0
votes
1answer
5 views

How can I show taxonomy's hierarchy on a dropdown? [closed]

I am using realty.fearlessflyer.com theme on http://www.muranghotels.com and would like to show area in hierarchy, is it doable? Thank you.
0
votes
1answer
10 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
0answers
10 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
16 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
39 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
24 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
19 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
7 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
26 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
39 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
31 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
16 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
23 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
45 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
30 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
43 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
41 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
20 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
31 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
38 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
16 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
145 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
58 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
20 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
50 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
19 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
14 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
85 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
16 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 ...