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

Wp Query with multiple custom tag(taxonomy) by get the terms

I need to do a wp query that will get any post in custom post type that has one custom taxonomy (not hierarchical, like a post tag) or more. My current code work for one tag, but I've try for multiple ...
0
votes
1answer
39 views

Convert Custom Taxonomy Posts to Normal Posts

Previously I was using a custom taxonomy based theme, Flavour. However after some successfull years with that theme, I tried with a different theme. However in the new theme, I am unable to see or ...
0
votes
2answers
232 views

Taxonomy landing pages

I like to create a landing page for my custom taxonomies. Right now ive created three custom taxonomies /country/[terms] /person/[terms] /interrests/[terms] i like to create a listing page for ...
-1
votes
1answer
56 views

Determine category in taxonomy of current custom post type

Using a php statement - how can I determine the name of the category in a taxonomy of the current custom post type that a user is browsing?
0
votes
2answers
58 views

Where is defined a custom register_taxonomy? [closed]

Where is defined a custom register_taxonomy for my website url? Now is showing: http://localhost:1337/wordpress/portfolio-list/yapbond/ But I want ...
0
votes
1answer
158 views

remove term from custom taxonomy list

I have the terms of a custom taxonomy presented in a list like this: <?php $taxonomy = 'categories'; $tax_terms = get_terms($taxonomy); ?> <ul> <?php foreach ...
0
votes
1answer
57 views

Display taxonomy with a maximum number of letters

I'm looking for a function which displays a post's taxonomy with a maximum number of letters. I've achieved with title (How to limit the max number of characteres in the title that are displayed), but ...
0
votes
2answers
250 views

taxonomy_template filter do not loads custom taxonomy template properly

I'm using taxonomy_template filter in my plugin to load a template file for custom user taxonomies. This is the code I'm using add_filter( 'taxonomy_template', 'get_custom_taxonomy_template' ); ...
0
votes
1answer
33 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
70 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
82 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
135 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
77 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
46 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
235 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
147 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
397 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
171 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
36 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
59 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) ...
-2
votes
2answers
300 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
32 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 ...
1
vote
1answer
1k 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
138 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" ); ...
2
votes
1answer
367 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
503 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
273 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
2answers
51 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
95 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
83 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
31 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
121 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
97 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
396 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
1answer
2k 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
108 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
77 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
139 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
61 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
686 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
64 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
50 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
201 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
99 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
306 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
39 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( ...
1
vote
1answer
6k 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
162 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
517 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 ...
1
vote
1answer
4k 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 ...