Articles of custom taxonomy

List taxonomies in a dropdown in theme's option panel

I want to show a dropdown in the option’s panel for choosing a “featured product category” which is a custom taxonomy. I do this way: register_taxonomy(“Catalogs”, array(“kmproduct”), array(“hierarchical” => true, “label” => “Catalogs”, “singular_label” => “catalog”, “rewrite” => true )); and in my theme_options.php i have: … array( “name” => “Homepage featured category”, “desc” => […]

Create Advanced search with taxonomies (not filter list)

as always after struggling my mind for 3 days with a problem i decide to ask for help here. Im trying to create an advance search page with taxonomies and keyword field. You can see what i actually got in ( dont panic, its spanish but just think as taxonomies and you will be […]

How can you handle rewrite rules for custom post types with option to filter on custom taxonomy terms?

I have seen this question but can’t wrap my head around actually filtering on the taxonomy as well.. Essentially what I’m looking for is an archives page for the taxonomy such as (which the previous question answers), but to filter on custom taxonomy within the custom post type such as Settings => New York, […]

showing custom taxonomies w/custom post type

we have set up a custom post type under the heading of custom post type along w/two custom taxonomies. (the following code has been added to our functions.php page:) add_action(‘init’, ‘create_seminar_post_type’); function create_seminar_post_type(){ register_post_type(‘seminars’, array( ‘labels’=> array( ‘name’ => ‘Seminars’, ‘singular_name’ => ‘Seminar’, ‘add_new’ => ‘Add New Seminar’, ‘add_new_item’ => ‘Add New Seminar’, ‘edit’ => […]

Custom Post Type Loop within Shortcode

I’m really at loss as to why this isn’t working: I am using a shortcode to display a query on a custom post type + taxonomy, this is the segment of it: // – arguments – $args = array( ‘post_type’ => ‘customposttypename’, ‘taxonomyname’ => ‘alpha’, ‘post_status’ => ‘publish’, ); // – query – $my_query = […]

Possible to replicate's debate section in wordpress?

We’re building an online magazine with a debate section similar to Is it possible to do it in wordpress with existing plugins? Thanks so much.

WP 3.0.5 – Custom posts matching 2 taxonomies

I’m running a WP 3.0.5 website and here is my problem: I define a custom post type with 2 custom taxonomies and I’ve got to develop a search engine based upon these taxonomies. Until there, no problem : $args = array( ‘my_post_type’ => ‘post_type_name’, ‘my_taxo_1’ => ‘taxo-1-slug’, ‘my_taxo_2’ => ‘taxo-2-slug’ ); query_posts( $args ); Working […]

how to group custom post type posts by custom taxonomy terms

I would really appreciate if you could help me 🙂 I’m very stuck and don’t know how to proceed. I have a custom post type called event and 2 custom taxonomies registered for it: event_type with tag-like functionality (ex. of event type: yoga, voice work) event_location with category-like functionality (ex of event location: uk->brighton, london; […]

Group custom posts by custom taxonomy names

I try to display a list of custom posts grouped by categories using a solution from here (the 1st option/example). I adapted the code only a little to my needs, but it freezes (get a white display if it isn’t commented) my installation/blog, because of this line (as it seems to me): $term_ids = array_map(function($t) […]

Share taxonomy between user and posts?

I’m in need of a taxonomy that can be shared between users and posts. Is this possible and if so how? I read that you can set up taxonomy for users, but is it possible to share it with a post type? My use case is a company employees list where employees are divided into […]