Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

learn more… | top users | synonyms

0
votes
1answer
536 views

Create a custom taxonomy template that loops through child categories in term order?

We're building a site that sells Biking Gear We're using the Genesis Theme Framework, and developing a custom child theme. It has a Custom Post Type for Products, made with the "Custom Post Type UI ...
0
votes
1answer
131 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 ...
1
vote
1answer
157 views

How to show taxonomy meta on frontpage?

For a website I am developing I have come across the following challenge. I have made a custom taxonomy "blog" (associated with both the Post-post_type and the User-object_type). With the taxonomy ...
0
votes
1answer
47 views

How to output taxonomy term (incl. link to archive) on author.php?

I have used the excellent tutorial of Justin Tadlock on Custom user taxonomies in WordPress to add a Blog custom taxonomy to both my Posts post_type as well as the user object_type. In his tutorial ...
0
votes
0answers
104 views

Displaying or Hiding Metadata on Page from WP CPanel

I have a custom post type called "Celeb". This CPT contains two Taxonomy terms as "Men" and "Women".Each Post has two metadata as "Name" and "Age". Now I would Like to add a "Visibility" checkbox ...
0
votes
2answers
32 views

Sorting custom post types by taxonomy (So close)

I have a custom post type called 'requests' that has a custom taxonomy 'request-categories'. I've created a template with a modified loop that allows me to view my custom post type in a certain ...
0
votes
1answer
153 views

Get terms that don't belong to current post with a shortcode

Is it possible to retrieve all the terms of a custom hierarchical taxonomy that do not belong to the current post? Perhaps by using wp_get_post_terms()? I recently stumbled upon this unusual need. ...
1
vote
1answer
25 views

How to dropdown custom taxonomy?

To make a dropdown list from categories I can use wp_dropdown_categories function. http://codex.wordpress.org/Function_Reference/wp_dropdown_categories But how can I do the same thing but for my ...
1
vote
1answer
624 views

Get post type from taxonomy or category page

This might be somewhat backward, but how can one get the post type being displayed on an archive page? Alternatively, how can one get the post type associated with a given taxonomy?
0
votes
1answer
68 views

Custom taxonomy page not working

I've created a custom taxonomy 'animal-species' that I want to filter out my 'animals' custom post type. The idea is that a user can go to the main animals page and filter them out by cats, dogs etc. ...
0
votes
1answer
2k 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
74 views

Featured Images for Tags?

Is it possible to somehow create featured images for tags or custom taxonomies. For the sake of explanation, I will give an example of the possible functionality. Say I am running a website that ...
1
vote
2answers
162 views

echo current taxonomy id for this loop?

I have this query to get posts and show like this: Custom taxonomy 1 <div ID1> |-- post 1 |-- post 2 </div> Custom taxonomy 2 <div ID2> |-- post 3 |-- post 4 </div> ...
0
votes
1answer
501 views

Get all terms, including unchecked, or get the terms outside loop

I'm trying to return all the terms for a particular taxonomy (so eventually I can create a link for it). At the moment, this function I've written only returns terms for the current post. How can I ...
0
votes
1answer
104 views

Get current page term title to use in WP_Query

I am trying to format a template page for a custom taxonomy and I'm having a hard time getting the term of the current page to use in the query. This is what I've tried so far: <?php ...
1
vote
1answer
169 views

is there any limit of length on creating custom taxonomies?

I am using custom taxonomy plugin. And I have custom Post type "Product". When I am creating new taxonomy "home and garder Appliances Washin" and attaching it to Post or "Product" it's not ...
1
vote
0answers
51 views

Sorting main query by custom taxonomy slug

Is there a way to sort posts by custom taxonomy (shoe_color) ASC|DESC? I would like to do this using query_posts and passing the orderby=shoe_color into it. Here is the code I'm trying to work out: ...
0
votes
2answers
323 views

display posts from category within a custom taxonomy

I am trying to listing posts from a single category of my custom taxonomy. I have created a custom post type called "news" and a custom taxonomy called "instituteName". I then created a number of ...
1
vote
2answers
153 views

orderby meta_value breaks taxonomy term archives

I have a People post type with a Person Type taxonomy (e.g. "Staff"). On the Person Type Term Archive pages, I want to sort by a "Sort Name" custom field. To do so, I'm using a pre_get_posts call: ...
0
votes
1answer
293 views

Custom Permalinks for Custom Post Types and Taxonomies

I've been struggling with this for hours. I'm trying to get this URL structure: example.com/business/%custom-tax-name%/%custom-post-name%/ By custom tax name I don't mean the name of the taxonomy ...
1
vote
0answers
62 views

set permalink for CPT

I have a CPT and two custom taxonomy I registered. I also registered the taxonomy for the CPT. This is my register code: $args = array( 'labels' => $labels, 'public' => true, ...
0
votes
0answers
156 views

Custom post type & taxonomy just like WP defaults

I've spent days attempting to do a single thing: create a custom post type/taxonomy (cat)/taxonomy(tag) trio that replicates the stock standard WP category/post/tag structure with permalinks of ...
1
vote
1answer
3k views

Custom search for custom post type, custom meta and search fields

Id like to build a search form for a specific custom post type (vehicle) and have filters for that custom posts type's custom meta fields (price, age) and custom taxonomies (make). This will totally ...
0
votes
1answer
341 views

Custom Post Types and Complex Content Hierarchy

I'm developing a fairly complex portfolio WP theme and I can't seem to figure out the logical and most efficient way to setup hierarchy for content. The content needs a deep hierarchy and I need ...
0
votes
1answer
30 views

How to list groupings and keep pagination

I have need to make a very custom query, and I'm not sure how best to approach it. Assume I have a custom post type that is called Package and three terms (basic, pro, premium) for the taxonomy ...
0
votes
0answers
218 views

Index page redirecting to custom post type page

Every time I go to the index page of the website, it redirects me to a single custom post type page. This url: http://example.com/ Redirects you to this url: ...
1
vote
2answers
642 views

“Custom Post Type Permalinks” plugin URL strcuture

I've found this great plugin Custom Post Type Permalinks by a Japenese developer which is awesome at generating hierarchical permalink structures for Custom Post Types. Only I'm having an issue which ...
0
votes
1answer
59 views

Custom Post Types and Taxonomies

I am building an issue based wordpress magazine and am running into a few issues with custom post types and taxonomies. I created a taxonomy called "Issues" so that any custom post type could be ...
1
vote
0answers
367 views

How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?

Actually i have created a custom post type and fetch the data from "Advanced Custom Fields" plugin after then connect to a custom search-form to search only the post data.It works good. But now i ...
0
votes
0answers
162 views

Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links

Problem (Example): I have one custom taxonomy called "portfolios". It is tied to a custom post type called "portfolio". I create a portfolios term called Animals and another called Pets. Then I create ...
0
votes
1answer
37 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? ...
3
votes
2answers
2k views

Using URL parameters, list posts from category and custom taxonomy

For example, http://example.com/?cat=6&tag=books lists posts that belong to category ID 6 and tagged 'books' (i.e. posts that satisfy both conditions). Similarly, ...
0
votes
1answer
184 views

Add “Select All” to custom taxonomy

Is it possible to add a "Select All" to a custom taxonomy for my custom post type? A project I'm working on requires the option to be able to select all of the taxonomy terms. While I could go through ...
0
votes
2answers
278 views

How can I make front page to display custom taxonomy page?

If I have this URL for my custom taxonomy term http://example.com/work_type/vehicle-transporting/ how can I show it as the main page http://example.com/ like it is available to do for the static pages ...
1
vote
0answers
100 views

Customizing Primary Menu to include custom taxonomy description

I've a hard time implementing the custom primary menu behaviour. I've already: Created a custom post type: products that has a custom taxonomy: product_category associated with it. Activated and ...
2
votes
1answer
1k views

How to share category taxonomy with custom post type (The Event Calendar plugin)

I have a custom post type 'Events' created by The Event Calendar plugin. It has registered it's own custom taxonomy. Is there a way I can assign the regular WP post categories to some of these events ...
0
votes
0answers
354 views

Retrieve name or slug from get_objects_in_term

I have taxonomies set up for users, and on taxonomy-{term}.php I have the following code to "loop" them all out, sorted by ID: $term_id = get_queried_object_id(); // Get taxonomy term ID $term = ...
1
vote
1answer
334 views

Change Permalink Structure for Tag.php template

Im using a custom post type to build a filterable gallery and taking advantage of the tags taxonomy within it. I am also using a custom taxonomy called years. at the moment, the permalink structure ...
0
votes
1answer
74 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 ...
1
vote
1answer
167 views

Top Level pages in wordpress giving 404, but child pages working fine

Basically everything works fine except for the top level pages ( e.g. category, archives, single post, custom post type, etc...). I have 3 custom post types and 4 custom taxonomies (each custom ...
5
votes
3answers
1k views

Custom Post Type and Taxonomy URL rewrite

I'm creating custom theme for my personal website using Wordpress 3.5.1. I have problem with the WordPress custom post type and taxonomy, here's the detail: custom post type name: articles taxonomy ...
0
votes
2answers
165 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: ...
0
votes
2answers
64 views

register and insert category manually

I am registering custom taxonomies .... <?php add_action( 'init', 'create_book_tax' ); function create_book_tax() { register_taxonomy( 'genre', 'product', array( ...
1
vote
2answers
881 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 ...
2
votes
1answer
53 views

Refine user taxonomy query based on role

I have a bunch of custom user taxonomies which I use to group users by, and then show these users on the front end with the following code (from taxonomy-{term}.php) <?php // Get each user from ...
1
vote
0answers
127 views

Rewrites with hierarchical taxonomies in permalink

I am attempting to create a hierarchical list of products in WordPress 3.5.1. For example if the custom post type product was in the custom taxonomy Outdoor > Garden Tools > Hoses, these would ...
0
votes
1answer
598 views

If custom taxonomy else conditional [closed]

I have a menu that I only want to show on certain pages using the following code: <?php if ( is_front_page() || is_archive() || is_404() ) { } else { if ( function_exists('has_parent') ) { ...
1
vote
1answer
67 views

limit post by a taxonomy in the admin

I have a site with authors from different locations. I have created a taxonomy called locations and has different countries (ex. Canada, Germany). Each author need only to see his country's post for ...
0
votes
1answer
328 views

Display custom taxonomy on my custom post type

Hello I am very new at customizing themes, my problem is that on my new post type "listing" single-lisiting.php file I need to change the taxonomy category to be display to 4 new taxonomies: status, ...
0
votes
0answers
180 views

wp_insert_term is adding a term that has no name

I'm trying to insert a term for a custom taxonomy and a custom post type in Wordpress. The problem I'm running in to is that it successfully inserts a term, and at the right hierarchy level, but the ...