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

Customize category URL

I've searched around and have not found the answers im looking for. By default I have: example.com/blog (blog archive) example.com/blog/entry (single entry) example.com/blog/category/announcements ...
0
votes
1answer
45 views

get_term_children returns unknown int though term has no child

I am running get_term_children to check if a term has children. On a term which does not have have children wp returns an array containing a single int : 12 though that does not relate to any term. ...
1
vote
1answer
53 views

How to filter terms from a custom taxonomy by a usermeta value on all screens and templates

I have a custom taxonomy "q_client" - each time a new term is added to this tax the ID of the user is stored in user_meta. So each user has an array of id of the terms they have added - a quick hack ...
1
vote
0answers
57 views

wp_get_object_terms(): count relative to passed IDs?

I know when you wp_get_object_terms() you get a "count" member variable for each term object returned, but that "count" is what's in the $wpdb->term_taxonomy table in the database, it's not ...
0
votes
1answer
29 views

get_terms returns array starting at 4

I am using get terms to return a list of terms within a custom taxonomy. It's returning an array but it starts at index 4. How do I get it to start at 0 like normal?
0
votes
1answer
31 views

Display custom post taxonomies

This should be fairly simple and Im not sure what I'm doing wrong. I am trying to display the tags associated with my custom post. I have registered it like so // Initialize Taxonomy Labels ...
1
vote
0answers
68 views

Hierarchical permalinks for custom post type and taxonomy

I have registered the custom post type "word" and the custom taxonomy "wordcat". Now what I want is proper hierarchical permalinks. So I've been searching the web for quite some time with no result. ...
0
votes
1answer
52 views

Compare Two Custom Post Types Using The Same Custom Taxonomy

I have two post types, courses and testimonials, sharing the same taxonomies. What I am looking to accomplish is to check whether a course is in the same category as a testimonial. Then display if it ...
0
votes
2answers
127 views

Want wp_get_post_terms return in arbitrarily order, how to do?

Function below returns in alphabetical order and not, as wished, in arbitrarily order. Is it possible to -not- return in alphabetical but in exact order as given in the array? ...
1
vote
1answer
60 views

Custom Taxonomy Meta Admin Column

I've added a custom taxonomy - shop_departments which is hierarchal. I've then added a meta field to this new taxonomy - term_meta[front_page] - which is all working fine. However, on the ...
0
votes
1answer
22 views

Custom Taxonomy Template Variables Available?

I have a custom Taxonomy sports and want to edit the front-end display. I have got taxonomy-sports.php and used this code to get the data on the taxonomy, but I feel like it should already be ...
0
votes
1answer
38 views

2 custom post-type and 1 taxonomy

I have 2 post types (job, resume) and sharing 1 custom taxonomy (cities) it's for jobs in "New york" and it's also for jobseekers in "New york" (resume is the post-type for jobseeker) ...
0
votes
1answer
54 views

Multiple taxonomies & terms (no hyperlinking) in 1 function [duplicate]

I am trying to make a function but (because the lack of my knowledge) can't figur out how to do. The codex shows an example for using 1 taxonomy and 1 term and as output nice showing 1 Taxonomy / 1 ...
-2
votes
2answers
57 views

How to display recent posts added in custom post types

I have tried a code posted here>>Custom Post Type: Get most recent permalink But the thing is-it is showing only one post from the recent and without get_the_title,,, can anyone help me to achieve, ...
1
vote
0answers
26 views

Adding custom taxonomy in my existing category URL

I have a custom taxonomy for my posts called "Continents" and they could be: Europe, Africa, Antarctica etc... Then I have standard categories like: News, Reviews, Interviews etc. And 1 subcategory ...
0
votes
1answer
67 views

Count number of post in Taxonomy?

wp_count_terms() counts the number of terms in a taxonomy but not the number of post that have those terms and I've found that wp_count_post() does not accept a taxonomy. So whats a guy gotta do to ...
0
votes
1answer
57 views

Why can't I access Custom Taxonomy metadata?

I'm trying to access Custom Taxonomy metadata for all my custom taxonomy terms. The metadata is stored in options like so: $t_id = $term_id; $term_meta = get_option( "taxonomy_$t_id" ); ...
0
votes
0answers
17 views

P2P Plugin: ¿How to show the most connected items?

I have 2 Custom Post Types on my WordPress, that works like Movies and Actors, related with the Posts 2 Posts plugin. The relation between them is many-to-many, and I want to show the actors that are ...
2
votes
1answer
106 views

Automatically assign taxonomy term if custom meta value exists

I currently have a custom meta field for adding a video url to the post. I'd like for the existing taxonomy term "video" to be automatically assigned to the post upon saving if the meta field has any ...
0
votes
1answer
138 views

Check if custom taxonomy has posts with get_categories()

I'm using get_categories to list all the terms of my taxonomy "genre", but I have other taxonomy called "brands". In Brands page (taxonomy-brands.php) I need to return all the posts from the brand ...
2
votes
1answer
114 views

How can I convert a Custom Taxonomy to a Custom Post Type?

I've not been able to find any information on this - a bit of an unusual request. I've decided I'm best off creating a Custom Post Type to handle my database of Artists and Albums on my music site, ...
0
votes
0answers
48 views

urlencode error with checkboxes in wp_query using tax_query and taxonomies

I am making a search that taps into wp_query and filters thru custom taxonomy terms. It works, but I get a urlencode warning when using checkboxes to filter thru taxonomy terms assigned to POSTS, but ...
0
votes
2answers
48 views

Permalink Trouble with Custom Post Type

I have a custom post type called "work" and it has a taxonomy called "categories". Currently "/work" and "/work/category_slug/work_slug" works great. However "/work/category_slug" does not. I get a ...
0
votes
1answer
54 views

Differentiate Parent & Child of Custom Taxonomy

I use Custom Taxonomy "Artists" to differentiate between "Albums" (Parent Taxonomy) and "Albums" (belonging to an Artist, Child Taxonomy). I am showing my taxonomy on posts for users to see which ...
0
votes
1answer
25 views

Listing all selected terms for custom taxonomies on a post

I'm running a query on a custom post type to display on a page. The custom post type has multiple custom taxonomies. Each taxonomy is not required. I want to display only the taxonomy terms selected, ...
0
votes
1answer
28 views

Should I use custom taxonomies or not?

I'm building a plugin which features an custom post type Events. Now I would like to add functionality to support venues. I think a custom taxonomy could do, but I'm not so sure, because I would like ...
1
vote
1answer
68 views

Custom post type structure for posts with multiple child posts

I'm developing a site for an African language translation company and am currently trying to think of the best way to structure the site I have a custom post type of "Languages" set up, with posts ...
0
votes
2answers
50 views

Avoiding stripping of HTML in Custom Taxonomy Meta Field

I'm using a custom form field on a Custom Taxonomy to hold various data. All working well except in one particular case where I'm trying to save an iframe embed code (from Bandcamp) which is to be ...
0
votes
1answer
39 views

Wordpress set taxonomy on post?

hello this is my code to select taxonomy for post by post id. this is my code and this code is doesn't work please help. wp_set_post_terms( '2653', array('Bus'), 'category_type_bus'); this is my ...
0
votes
0answers
23 views

Posts and Taxonomies structure

I am stuck on geo logic structure while making tourism site information structure. Having example Countries->Resorts/Visa_rules/Flight_rules->Cities/Excursions->Regions->Hotels all of the mentioned ...
0
votes
0answers
333 views

How to integrate MixItUp into wordpress with custom post type

I'm trying to integrate a MixItUp tutorial into WordPress. I've came up with the following code which displays the categories for filtering and a list post added to a custom post type. However in ...
0
votes
1answer
430 views

Conditional two level dropdown filter for custom post type

I have set up a custom post type and taxonomy. The post type is called Local Services and the hierarchical taxonomy is called Regions. The Regions have child categories called Areas. I have set up a ...
2
votes
1answer
49 views

Wordpress tax_input only if logged in

I am working on a wordpress plugin where a save lead data by forms in my website. When a user submits the form the following code will run so a post in post type "lead" will be added. Almost ...
0
votes
1answer
29 views

Get custom taxonomies from multiple posts

I've been looking around for half a day now but no success so far. I've created a custom post type (recipe) and two custom taxonomies that go with it (type and cook). What I want is to be able to ...
0
votes
3answers
56 views

Current taxonomy name (not term!) given a post ID

I can find everywhere infos on how to get the terms for a specific a post, but I only need the taxonomies names. I mean: tax: Taxonomy1 terms: term1, term2, etc tax: Taxonomy2 terms: term1, term2, ...
0
votes
0answers
27 views

Get parent taxonomy's name of custom post?

I have a foreach-loop that looks like this foreach($selected_courses as $postid) { $course = new WP_Post($postid); } where $selected_courses is an array of ids based on a form submit. ...
0
votes
0answers
72 views

WordPress calendar hook to filter days that are marked with posts

The get_calendar function returns a calendar and is part of the core widgets that come with WordPress. But I've written a custom solution for controlling the visibility of posts based on user ...
0
votes
0answers
39 views

Migrating a taxonomy's tags to the native category

So, I've inherited a website that uses a custom taxonomy for no real reason, leaving the native 'category' taxonomy unused. As the site is undergoing a redesign, I'm going to want to use some new ...
0
votes
1answer
204 views

Get terms for a specfic post from multiple taxonomies in custom post type

I have created Custom post type 'references' and two taxonomies under this e.g "Custom Taxonomy A" have Categories "Cat-a1" , "Cat-a2".... "Custom Taxonomy B" have Categories "Cat-b1" , ...
0
votes
1answer
48 views

Permalinks with custom taxonomies and regular categories

I have created a few custom taxonmies in Wordpress (e.g. author, book, comic..). I also have a few categories using the built-in category system (e.g. news, review,...). I try to get a permalink ...
0
votes
1answer
37 views

Custom Taxonomy List links being re-written

I am trying to show a list of terms from my Job Category. I tried the following: function job_listing_taxonomy_list( $taxonomy,$hide ) { $args = array('order'=>'ASC','hide_empty'=>$hide); ...
0
votes
1answer
98 views

WP_Query tax_query - Show results if child has parent X

I've made a custom search which includes a 3 tier custom taxonomy that looks like this: continent - country - - state The search is formatting in the above way. Here is my problem: Example data: ...
0
votes
0answers
50 views

Custom Post Type Permalinks Problem

looking for some help with a permalink structure problem. I am using this code here http://pastebin.com/QfgAMkfV as a plugin with hopes of creating a structure like so /films/ /films/film-name/ ...
0
votes
1answer
54 views

Taxonomy term breadcrumb; how?

Given a taxonomy term (perhaps in a taxonomy*.php template) how to construct a breadcrumb going up the full ancestry of the term? Is there any shorter way other than a "brute-force" loop to query ...
0
votes
0answers
23 views

How to internationalize the sub menu name “categories” in Custom post type?

I'm trying for translation. I made a plugin with custom post type everything is okay. Only one thing i can't able to translate which is categories sub menu menu in custom post type. $args = array( ...
0
votes
1answer
756 views

Get term name from term ID?

I cannot figure out how to get the taxonomy term name if I have the taxonomy term's ID. This is my current code // create a dropdown menu of the quantity taxonomy wp_dropdown_categories( ...
0
votes
1answer
64 views

Help building array hierarchically with taxonomies (to get posts)

What I need to do is to : -+ Retrieve all terms assigned to a page -+ Get all posts assigned to each term -+ Organize the output in the hierarchic way as in the admin I'm OK with the first two ...
0
votes
1answer
64 views

Looping through custom taxonomy and display custom post types (Custom Post Type UI)

I am using Custom Post Type UI and Custom Fields plugins for the WordPress theme I am creating. I have created a custom post type of price and I have created a custom taxonomy called price_types ...
0
votes
0answers
59 views

Overwrite custom post type (WP SEO Local)

Site I'm working on right now is using WP SEO Local plugin (Yoast), it makes a custom post type for the locations, and they all get a custom slug. Let's say my slug is /locations/ So all the ...
0
votes
1answer
624 views

How to Add Custom Taxonomy To Woocommerce Plugin

I am trying to add a Custom Taxonomy to Woocommerce by targeting the product post type in Woocommerce. I used following code and added it into functions.php I am not getting any error message but the ...