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

learn more… | top users | synonyms

0
votes
0answers
10 views

get_adjacent_post_link excluded_terms ignored

I call the function ´get_adjacent_post_link´ using the argument ´$excluded_terms´. But this argument is ignored. This is how I call the function. get_adjacent_post_link( '%link', '<span ...
15
votes
8answers
7k views

How to show a hierarchical terms list?

I have a hierarchical taxonomy called 'geographical locations'. It contains continents on a first level, and then the countries for each one. Example : Europe - Ireland - Spain - Sweden Asia - Laos - ...
0
votes
1answer
21 views

Best way to structure article and issue relationship for CPT

So I've got an area of a new WP site I'm building that has a requirement for an Issue and Articles and I'm not entirely sure on how to structure it correctly. Think of an Issue like a magazine issue. ...
1
vote
1answer
23 views

Check if a post is in any child category of a parent category

In a site I'm developing, I have the following category structure: * movies (parent) * thriller (child) * comedy (child) * drama (child) The current post is in the comedy category. The ...
-1
votes
1answer
30 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
11 views

Extra fields on categories that is available via the WP-API?

I want my posts to belong to a taxonomy with a couple of extra fields such as category_icon, category_quick_facts etc. I want this taxonomy (with all of its fields) to be available via the WP-API. How ...
0
votes
0answers
637 views

add custom fields in custom taxonomy meta box in wordpress-3.5.2

Unable to add custom fields in custom taxonomy meta box in wordpress-3.5.2. I have checked solution in various blogs but Unable to solved this problem. I am using wordpress-3.5.2 What I am trying is ...
0
votes
2answers
627 views

Custom Taxonomy in Permalink of Post

It is possible to use this as a permalink for a post: /%category%/%postname%/ But lets say I've created a taxonomy called "artist". I'd like to use this for my posts: /%artist%/%postname%/ I ...
0
votes
2answers
41 views

Taxonomy Grid Archive Help?

I need some help. I would like to make a custom taxonomy archive that shows a grid of the terms(categories) in the taxonomy. I know how to accomplish the grid portion, but I'm having trouble with the ...
0
votes
0answers
16 views

Why do my offline development site and online live site behave differently?

I have two versions of my site - one live, the other a development site using DeskTopServer. I work on the development site - adding / editing posts etc. and making changes to the WP database, and ...
0
votes
0answers
24 views

Can I use multi (sub) levels of relation (AND | OR) on custom query?

I'm tryng to do the equivalent of: $args = array( 'post_type' => 'post', 'tax_query' => array( 'relation' => 'OR', array( 'relation' => 'AND', ...
0
votes
0answers
9 views

How to set specific values for a taxonomy via IXR_Client?

I am trying to create posts using IXR_Client. I am already able to do that, but now I am facing a problem were I don't know how to create sub-categories for the posts I am creating. The way I am ...
0
votes
0answers
16 views

Change taxonomy to metabox?

I created a custom taxonomy, but I need the taxonomy values in a metabox within the same post. How can I archive this? I tried several plugins for taxonomy management, but none of them could do what ...
0
votes
1answer
313 views

Permalinks for Taxonomy and Custom Post Type

Have the following situation here: Custom post type: 'recipes' Taxonomy for custom post type 'recipes': 'receitas' One of the taxonomies slug: 'receitas-whoopie-pie' The permalink structure MUST be: ...
0
votes
0answers
14 views

subcategories inside div tag

I'm trying to style subcategories separately. I tried to put them into divs, but it doesn't work. Any ideas? <?php // get the term id $category = get_queried_object(); // Get categories ...
0
votes
1answer
14 views

Thumbnail gallery by date and taxonomy

I'm having problem to create something like image gallery. What I wanna do is, in the home page sidebar, there will be a box named photo gallery which will contain 2 or 4 images thumbnail (just like ...
0
votes
0answers
47 views

How to display custom taxonomy

I have created city taxonomy in back end and i have added mumbai,pune,nashik city in city taxonomy like bellow snipe. My problem is that when i click the city for example mumbai i want display the ...
0
votes
1answer
22 views

Connecting multiple post types? Or linking “News” posts with “Game” posts how?

I am building gaming news and tutorial website. But i don't know how to link multiple post types with one specific post. For example, i created post types called Games News Tutorials Videos Reviews ...
0
votes
2answers
661 views

category filter doesn't work in WPML

I translate the categories to another language, but in the main page, the two language categories are all displayed. How can I filter another language? My WPML version is 2.4.1. I found all the ...
0
votes
1answer
22 views

Filtering posts by multiple taxonomies

I have a page on which I want to display all posts of a specific custom post type, let's call it "persons". I want to allow the user to filter all persons by multiple (!) taxonomies: age, city, ...
0
votes
1answer
27 views

Match two taxonomies to display a specific content

I have a page divided in two bars. The left bar is a side menu, which shows contents for a specific country (ie: if I am in the Mexico page, there are options listing Cancun, Acapulco, Mexico ...
1
vote
2answers
4k views

How do I filter posts by taxomony using AJAX

I found this post that describes how to filter category posts with Ajax and it works great, but I also want to filter my custom taxonomies the same way and I can't get it to work. It shows me all ...
0
votes
2answers
436 views

child_of not working in wp_dropdown_categories

I have wp_dropdown_categories working without setting child_of. Once I set child_of, all categories disappear. Here's my code, what should I do to enable child_of? function dropdown(){ ...
0
votes
1answer
34 views

Custom Post Type used for FAQs Accordion

OK, so I asked this earlier and no one had any answer for me. I have a CPT for FAQs. FAQs are separated into 'categories.' I need the name of the 'category' then a every post within that 'category.' ...
0
votes
2answers
438 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 ...
1
vote
4answers
5k views

How can I remove links from the function “get term list”?

<?php echo get_the_term_list( $post->ID, 'people', 'People: ', ' ', '' ); ?> returns something like this: People: <a href="person1">Person1</a>, <a ...
2
votes
1answer
53 views

Get list of terms of current taxonomy archive for another taxonomy

I have a Custom Post Type named 'Real estate' which has (amongst others) two different taxonomies: 'Purpose' (hierarchical; terms used are 'Living', 'Working' and 'Holidays') and 'Location' ...
1
vote
2answers
584 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 ...
0
votes
2answers
331 views

Get terms in hierarchical taxonomy

I have a hierarchical custom taxonomy ("photos"), with 3 parent terms color location year Each parent term has several children terms. I have associated the "photos" taxonomy with pages and have ...
3
votes
3answers
139 views

Taxonomy + post_type

I'm quite lost with taxonomies and custom post type. I have a taxonomy -> auteur I have custom_post-type -> citation (quote in french). I just want list all citations (quote) from an auteur ...
6
votes
5answers
4k views

How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms

I want to export all Wordpress categories (no posts, just categories) from one blog to another. How can I do that ?
0
votes
2answers
234 views

Multiple tag cloud filtering

I am writing a plugin which creates a custom post type and two associated custom taxonomies. The custom post type list/archive page should be filterable by terms in one or both taxonomies i.e not just ...
4
votes
1answer
2k views

Sortable admin columns, when data isn't coming from post_meta

I have a custom post type that uses a custom taxonomy. I'm imposing a limit of a single term to each post (using a custom meta box drop down on the edit post screen for the CPT). The term for the ...
0
votes
1answer
520 views

Getting the parent from the wp_term_taxonomy

Is there a built in wordpress function that let's me look up the "parent" field of the wp_term_taxonomy table if I pass the TT_ID to it? Something like get_value ( $wp_table_name, $id_fieldname, ...
0
votes
1answer
328 views

Custom Post Type Taxonomy Term Order by Title

I have a custom post type of Clients. The "Client Categories (taxonomy terms)" are called via taxonomy-client.php. I'm able to get the results to output as expected but I can't figure out how to get ...
2
votes
1answer
262 views

wp_insert_term doesn't work with custom post type's taxonomy

Here is the problem I am having: I have a custom post type called "weddingguests" This custom post type "weddingguests" has a custom taxonomy, "friendsof", hierarchic I want to programmatically ...
-2
votes
0answers
10 views

Custom Taxonomy description [duplicate]

How to show custom taxonomy description?
1
vote
1answer
350 views

How to get the depth of a category's subcategories

I'm looking to get the depth a category's subcategories. Suppose I have a category 'grandparent' which has a subcategory 'parent' which in turn has a subcategory 'child'. How do I get to integer 2? ...
0
votes
1answer
25 views

Sort by Custom Post Type (Multiple Loop)

I have changed my set-up slightly to have 2 separate post types "Premium Listing" and "Free Listing" and a taxonomy for Listing_category. Here is an example of my Loop The idea is to display Premium ...
0
votes
1answer
24 views

Add custom taxonomy as a css class

On a custom post type archive I'm trying to add the custom taxonomy terms slug as a css class to the tag. I've managed to get it to output the page->ID but struggling to get the $term->slug to work. ...
2
votes
1answer
4k views

How to change permalink structure for custom post type and it's taxonomies?

This is a repost of an earlier question I had, but I like to go into more details now to be able to fully solve this. So again, with (normal) posts changing the permalink is as easy as going to ...
0
votes
2answers
27 views

Variable not working in WP_Query

I have used this technique before and cannot work out why this time it is not working. 'news_category' is a custom taxonomy of my custom post type 'News'. I am getting the taxonomy of the current ...
0
votes
1answer
940 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
1answer
243 views

How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?

I have a custom hierarchical taxonomy containing only two levels of items. First Level the title, second level items of the taxonomy. Is it possible to add a "meta box" to the posts editor of ...
0
votes
1answer
35 views

How to show taxonomy image instead of taxonomy name on a list

I would like to show in a custom taxomony list icons instead of taxonomy name , but just for the ones with image asociated, where there is no image let show the taxonomy name . i have installed ...
1
vote
2answers
508 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
3answers
473 views

How to sort list of custom posts to get view like a tree of posts under categories and their children's categories?

I'm new here and my english isn't perfect so I'm sorry for this :) I'm here because I'm workin on site with post list sorted by category and I have problem with sort out my posts in categories and ...
0
votes
0answers
27 views

One taxonomy for multiple post types or not?

I am working on a website where I have a post type for "products". On this same website a user can find 3 information types about these products. Inspiration Manuals Reviews These are also 3 ...
0
votes
1answer
39 views

Get parent and first child taxonomy terms?

I'm trying to get the parent level and the first child level under that. I tried using get_terms for this but I was unable I'm guessing I need something more extensive. I know I can use get terms ...
0
votes
1answer
29 views

Get the tax term in which is a post via wp_query

I'll rewrite my original question because I feel like I can't be understood : I made a template page on which I have different WP_Query. I have a category taxonomy (countries). This template page ...