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
2answers
126 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
57 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
54 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
66 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
56 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
102 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
129 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
112 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
47 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
53 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
67 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
38 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
325 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
420 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
47 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
50 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
26 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
55 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
38 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
189 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
97 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
49 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
51 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
697 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
63 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
59 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
57 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
588 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 ...
0
votes
2answers
37 views

Order by custom field attribute

I'm try to get the output of this post type to order by the staff name alphabetically and I can't seem to figure out if needs to be within the beginning array() or if I been do something within the ...
0
votes
0answers
21 views

Archive Navigation with CPT and Taxonomy [duplicate]

Need your help to find how can i put post navigation working on the taxonomy archive page. This code is in taxonomy-custom_name.php . What i need to show on this page is all posts (custom post types = ...
0
votes
1answer
146 views

get_term_children for immediate children only (not grandchildren)

I want to display term children of a custom taxonomy. Currently, I am able to do this using get_term_children, but using this, it displays children and grandchildren, I want to avoid this and make ...
0
votes
0answers
40 views

Custom post types ordering & hooks

I have archive-member.php copy/pasted from the archive.php which I use to output the list of all posts with custom post type member taxonomy-meber_type.php file copy/pasted from the ...
0
votes
2answers
99 views

query to use to link to taxonomy single page

Hi & thanks in advance to those who could help me sot out he below: I have customized my home page, using tpl-home.php to show the authors (eg users...) of the most recent posts - nothing ...
0
votes
0answers
50 views

Insert custom post type with taxonomies

I am tryig to insert my custum post type with a specific taxonomies , but it doesn't work Here my Custum post type add_action( 'init', 'create_annonce' ); function create_annonce() { ...
0
votes
0answers
23 views

select menu assign custom taxonomy to options class

I am trying to get make a select menu that uses the custom taxonomy values for a post and then assign them to the class="" for the options. I feel like I'm real close, but I'm having some issues: 1) ...
0
votes
0answers
38 views

Rewrite permalinks using custom taxonomy or category

I have a blog I'm making for sporting events and I have categories (News, Commentary, etc.) and a custom taxonomy called "events" (100m sprint, long-jump, etc.) I'm trying to set up a permalink ...