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
246 views

Getting grandchildren of a post with a specified custom taxonomy?

I have an hierarchical custom post type called Geographies, wherein each Geography is assigned to a custom taxonomy (geographytype): Area, Country, Region or City. The hierarchy is set as follows: ...
0
votes
1answer
110 views

Custom term link return 404 error

I have create a custom post type and a taxonomy while i am clicking on the taxonomy link it returns 404 error, This how i created the custom post type and taxonomy. function ...
2
votes
2answers
416 views

Paginated Taxonomy Term Archive including one post per term

I have a custom query which gets all the custom taxonomies for the custom post type and displays the latest post in each. At the moment it pulls in all the taxonomies. Is there a way I can limit the ...
-1
votes
1answer
81 views

Custom post type / Filter by letter

So I've created a custom post type called "Profiles" for a school website I'm working on. Purpose of this content type is to list all teachers with their names, profile picture, bio, etc. Right now, ...
0
votes
1answer
624 views

Show Post from parent category (custom taxonomy) ONLY!

I want to display all post under a parent category (custom taxonomy) ONLY!. Here's what I've done so far:' <?php $args = array( 'posts_per_page' => 100, 'post_status' => 'publish', ...
0
votes
1answer
130 views

Taxonomy Parameters in WP Query to get posts from two different taxonomies

For example I have custom post type Cars and two custom taxonomies Brand (with terms BMW, Honda, etc.) and Color (Red, Green, etc.). Car must has Brand but may not have Color. So it may be like: Car ...
1
vote
1answer
251 views

Custom Post Types and independent Categories - complex Taxonomy

Input data: There is a Custom Post Type, with Companies posts that relates to Company category; There is a Custom Post Type, with Products posts that tied to Items -> Item-type category; ...
0
votes
1answer
276 views

Permalink issues with custom taxonomies

I have a (hopefully simple) question here. Built in post type: Category I have a custom post type: Rights, with a custom Category taxonomy for it (Rights Category). My issue is using the rewrite ...
0
votes
0answers
146 views

Update fields with post object and custom tax with wp_insert_post

Updated Post 'update_field' Function is Acf Plugin $supplier_one = 'my supplier'; $supplier_two = 'my supplier TWO'; $post_id_one = 555; $post_id_two = 556; update_field('suppliers', $supplier_one, ...
0
votes
1answer
374 views

Custom Taxonomy Filter Issues

I have a custom post type with a few custom taxonomies and I am using a piece of code to filter the posts based on the taxonomy on the main edit page using drop-down menus, which works great, but I ...
2
votes
1answer
2k views

Display the Terms from a Custom Taxonomy Assigned to a Post(inside the loop) in Hierarchial Order

This link tells me how to display categories assigned to a post. How would I modify this code to display the terms from a custom taxonomy assigned to a post in hierarchical order?
0
votes
1answer
165 views

Add custom post type taxonomy tag to article class

Ok, so I have tried about 5 different WP functions now and no luck. Basically here is what I want to do. I have a custom post type called "work", I have a taxonomy within this custom post type called ...
1
vote
1answer
758 views

Grouping of CPTs and taxonomies into menu groups in admin

I have a group of custom post types such as "CPT A", "CPT B" and "CPT C". I display the admin page for each of these as subpages under a common Admin page. add_menu_page('Console', 'Console', ...
0
votes
2answers
349 views

Custom taxonomy archive not showing posts of certain child taxonomies

I have a custom post type that has a custom taxonomy which functions as the main hierarchical structure for this custom post type. I am experiencing some behavior that I can't explain though. This ...
0
votes
1answer
2k views

Show Custom Taxonomy title in loop

I'm using the code below to show the featured image and link for the first post in each custom taxonomy for a custom post type. I'd like to display the name of the custom taxonomy next to each image, ...
0
votes
1answer
59 views

Get one custom taxonomy category

I am trying to do something which I thought would be simple but I am at a loss (ive googled played with different code etc.) I have the following Custom Taxonomy Job Attributes I have two check box ...
0
votes
1answer
155 views

How to list tags from custom post type attachments?

So I am trying to list out all the tags created for images uploaded within my custom post type only. I added in a snippet of code to my themes functions.php file to enable media categories and tags: ...
0
votes
1answer
48 views

Wordpress custom taxonomy

I'm using a custom taxonomy called 'product_cat' and post type called 'product', I'm trying to display all parent terms, child terms and grandchild terms within the taxonomy. So I get a list like ...
0
votes
1answer
149 views

Category / Custom Post Type permalink issue

So I'm currently working on a client site and trying to switch some old posts over to use new custom post types. Prior to this point, her website was set up in such a way that she could add both ...
1
vote
1answer
1k views

Custom Taxonomy term archive template

Is it possible to have separate archive templates for custom taxonomies? Like this: Tax(categories) -Players(category) -Managers(category)
0
votes
2answers
302 views

How to limit the number of terms (terms acts like categories)

Hello i have created taxonomy in custom post type that act like category. then i have created terms that acts like categories. i have create widget that show all terms from taxonomy. all works ...
1
vote
1answer
144 views

Custom post type and taxonomy slug issue

I'm working with custom post types in WordPress and have a question about slugs. Let's say that we need to create custom post type Quiz with taxonomy Quiz Category. I've used the following code: // ...
0
votes
1answer
208 views

Use custom field as tag slug

I am trying to replace 'tag-slug' with a custom field value, so it will automatically pull the tags that match the custom field 'my-tag-slug' The code below does what I want <?php if ...
2
votes
2answers
1k views

Multiple custom post types using the same taxonomy = URL frustrations

I have two custom post types: Events Businesses I have a new taxonomy that both these CTP's share: Locations If I go to "domain.com/events/" I see an archive of all the events, and if I go to ...
0
votes
1answer
149 views

Custom filtering on month value only of an entire date field

I'm using the plugin Ajax WP Query Search Filter (http://wordpress.org/plugins/ajax-wp-query-search-filter/) to search some custom posts I've created. The filter works great on three custom ...
1
vote
1answer
1k views

How can I make a custom post type sticky?

I installed the "Sticky Custom Post Types" plugin, and I added this code to my function.php: function wpb_cpt_sticky_at_top( $posts ) { // apply it on the archives only if ( is_main_query() ...
0
votes
2answers
598 views

Custom Taxonomy dont save in a frontend form for post a custom post

I have a Dropdown Categories .. <?php wp_dropdown_categories('taxonomy=faenas_combenef_category&hide_empty=0&orderby=name&order=asc&name=location') ?> And my post Process... ...
0
votes
1answer
46 views

Fix Custom Taxonomy Display two times on each call

<p> <?php $terms = wp_get_post_terms($post->ID, 'sublocation'); if ($terms) { foreach ($terms as $term) { $out[] = '<a class="' .$term->slug .'" href="' ...
0
votes
0answers
27 views

Fix : Custom Taxonomy Duplicating in each call

I have created Custom Post type called "places" For that I created Custom Taxonomy Category called "Music". Here is the code: add_action( 'init', 'register_taxonomy_music' ); function ...
0
votes
1answer
183 views

Best way to organize book-page structure

I'm wondering what is the best way to organize book-page content without involving taxonomies. So for example, I have a math book with a bunch of problems that I wish to list. I have a custom post ...
1
vote
2answers
353 views

get_term_children returns WP_Error for custom taxonomy

What I'm working on is a ajax based dropdown option form which returns child terms based on the option selected. When the option is selected, a function is fired using onchange, where the script ...
0
votes
2answers
307 views

How to display Custom Taxonomy of Custom post type

I have created Custom Post type called "places" For that I created Custom Taxonomy Category called "Music". Here is the code: add_action( 'init', 'register_taxonomy_music' ); function ...
0
votes
4answers
420 views

Make Custom Taxonomy Category Use Parent Template

I have a Wordpress custom post type set up in my functions.php called "Research" I have a custom taxonomy called "Classifications" Under that taxonomy I have the terms/categories: Old Research ...
0
votes
1answer
1k views

Custom Post type Query by Taxonomy

This has been driving me nuts for hours. I've checked numerous pages on the web for an answer but I can't find one. I'm trying to get all of the posts from a custom post type, that are attached to an ...
0
votes
1answer
75 views

Displaying Posts Attached to Custom Taxonomy Terms

The following displays a parent term in a custom taxonomy, then displays the child terms and finally is intended to display the post links (custom posts) for the posts attached to each term. Thus: ...
0
votes
1answer
27 views

Use different categories for a custom post

I was wondering if it was possible not to mix the categories across my different custom post ?
1
vote
1answer
759 views

Scheduling posts to update once per day with wp_cron

I have a function that hooks into save_post that changes the value of a custom taxonomy term based on today's date. That's working fine. When I update a post, the taxonomy term is updated correctly. ...
0
votes
1answer
454 views

SQL / wp_update_post: change post custom field to CPT post taxonomy

the setup is as follow: I have posts with a custom field: actor = 'tom hanks' for advanced management I created a custom post type (actors) and added "tom hanks" as a post within that actors taxonomy. ...
3
votes
1answer
573 views

How to prevent new terms being added to a custom taxonomy?

I've created some custom taxonomies using register_taxonomy, but I want to prevent new terms from being added. I noticed that there is a 'capabilities' argument available in register_taxonomy, is that ...
0
votes
2answers
448 views

How To Display Selected Terms For Custom Taxonomy?

This may be a syntax problem but if so I can't see the problem. I want to select specific terms of a custom taxonomy and display their names. I'm having a problem with the selection process in the ...
0
votes
1answer
4k views

Advanced Custom Fields: query posts filtered by multiple field values

I have the following: custom post type: q-and-a custom taxonomy: q_and_a_category taxonomy terms: design, engineering, project-management I'm creating three separate pages that filter the custom ...
0
votes
1answer
101 views

Update Post Taxonomy Automatically Based On Date

I am using the below function to set a custom post type taxonomy to a certain term based on the current date. This is for an event that lists upcoming, ongoing, and future events at a venue. I need ...
0
votes
1answer
491 views

Update Custom Taxonomy Value for a post based on custom date field

Quick read: I need to update the value of a custom taxonomy based on two custom field values (dates) automatically, meaning the post updates itself with having to click "update" to change the value. ...
0
votes
0answers
22 views

Add 2 Taxonomies to Custom Post

I have created a custom post type "beers" and added a custom taxonomy "distributor" as a category (see below) register_taxonomy("distributor", array("beers"), array( ...
1
vote
1answer
873 views

How can I filter by taxonomy on a custom post type's page?

Right now I am outputting the related categories to the current displayed post type as shown below. I am using wp_list_categories to list out the categories and it works just fine. The only issue is ...
3
votes
1answer
524 views

Bulk term assignment for attachment taxonomies

I've created a custom taxonomy for attachments. Everything ok, but now I want the ability to bulk assign its terms to attachments using the default wordpress media admin ('upload.php') bulk actions. ...
0
votes
1answer
1k views

custom post type paging not working past page 3

I have a custom post type called services which has 23 custom posts, i also have a custom taxonomy for all the categories (5 categories). I am trying to create a list of all the custom posts of ...
0
votes
1answer
2k views

Taxonomy query for children of parents

I am stuck on this. I thought I had it correct but then realized it's not. I have a custom hierarchical taxonomy based on location. States are top level and counties are children. I have the top level ...
0
votes
2answers
63 views

How to know if it's a child taxonomy?

I'm in need to know if the current taxonomy is child or parent. How can i achieve this? I need it for the condition in if statement. I need to know if(this is child taxonomy){ } Anybody knows ...
0
votes
2answers
681 views

Category link redirect to custom template page instead of index.php?

I want to make template page for my custom taxonomy. I have custom taxonomy categories listed as navigation links. It's the country list (China, Slovenia, Serbia...). Every of this categories has ...