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
2k views

Query custom taxonomy by term id?

I made a custom post type and a custom taxonomy, but I have a problem. When I access the url http://www.ithemes.co.kr/?shopcat=galaxy-s, it works well. But when I access the url http://www.ithemes.co....
1
vote
1answer
939 views

Creating a custom Admin panel

I'm building a Wordpress Plugin and it has two tables and some data. Right now, for displaying and changing the data, I'm using the wpdb function and manually creating the user interface (mimicking ...
1
vote
1answer
873 views

Custom Taxonomy Term Caching?

I have two Custom Post Types, "event", and "opportunity". They share a custom hierarchal taxonomy, "location". My client had added a handful of terms (United States (parent), then a few States (...
1
vote
1answer
1k views

Add multiple taxonomy filters to edit.php that support search

After reading through this fantastic tutorial by Mike Schinkel: Adding a Taxonomy Filter to Admin List for a Custom Post Type? I have discovered a few issues that I need to work out. Search does ...
1
vote
1answer
760 views

Controlling Taxonomy Category listings to hide and unhide specifics

I have a vertical menu using the superfish script that shows categories in a custom 'productcategory' taxonomy. This menu has multiple levels, and is hierarchical.At the bottom of each branch of the ...
1
vote
2answers
2k views

Set menu active state for custom posttype and category, given custom taxonomy term

How to set the menu active state for a custom posttype and category, given a custom taxonomy term? I have a custom taxonomy: region, a custom posttype: business, and use the categories taxonomy. My ...
3
votes
1answer
2k views

Rewrite permalinks for custom posttype and custom taxonomy

How to rewrite permalinks for a custom posttype and custom taxonomy? I have a custom taxonomy: region, and a custom posttype: business. Now, how to rewrite the permalink, so that for a category, ...
2
votes
3answers
3k views

How to create non-unique sub-category slugs?

What’s the best way to make Wordpress accept non-unique sub-category slugs? By default, Wordpress ensures that every ‘slug’ portion of permalink URLs is unique, and is very savvy about using this to ...
2
votes
1answer
246 views

How to prevent posts duplicating when viewing a custom taxonomy term

My question is fairly basic. I have an archive.php and inside I have the main loop like so: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> Do stuff here <?php endwhile; ...
2
votes
1answer
667 views

term_description help

i have a piece of code which is helped to display the description of custom taxonomies but i want to put <h1> tag for the title of description, but that description box doesn't takes html tags, ...
3
votes
2answers
2k views

Associating an “author” with a custom taxonomy

I have a custom role, "Ministry Representative", which is able to log in and create and manage their own "Opportunities" and "Events", which is each a custom post type. On the front end of the site, ...
43
votes
4answers
13k views

Custom post types, taxonomies, and permalinks

This is driving me nuts and I'm sure it's simple but nothing I search for comes up with a simple structure (everything is very complex). I have a custom post type product_listing and a custom ...
1
vote
2answers
272 views

quey posts from different categories with taxonomy

I wonder if someone could help me. I just upgrade my wordpress and start to use taxonomy. what I want to do is to query posts from different categories. I used to do it like this query_posts('cat=...
1
vote
2answers
1k views

Dynamic variable for custom taxonomy in loop?

I have a custom page template that loops through all custom posts with the post_type of "product_listing" AND the custom taxonomy "product_cat" of "shirts" and returns 4 posts per page (as seen below:)...
0
votes
1answer
954 views

drop-down list another query

i tried this code, it is not giving me any 404 page instead it is giving me the same page back, now i think the submit buttons needs to be configured function the_taxonomy_dropdown($taxonomy) { $id ...
2
votes
1answer
439 views

drop-down list taxonomy problem

i have a function of custom taxonomies to display a drop down list on my website, which is working fine, but there is one problem, the default value is a custom taxonomy, but that i dont want, i want ...
2
votes
2answers
3k views

Formating the_terms() function output

This code: <?php the_terms($post->ID, 'type') ?> Gives: <a href="/archives/type/image" rel="tag">Tag</a> What do to if I want to display only "Tag" word, not link eg. Tag ...
2
votes
2answers
10k views

Getting Wordpress custom taxonomy/category?

Well, I'm using my own taxonomy for custom post type. It looks like this: register_taxonomy("our_gallery", array("gallery"), array("hierarchical" => true, "label" => "Types", "singular_label" =&...
1
vote
1answer
2k views

Query posts by custom post type and custom taxonomy

I am writing a custom loop query to filter through a custom post type and custom taxonomy. I have replaced any variables with static values for the purpose of showing you what result I want. $args = ...
2
votes
2answers
791 views

Redirect to Post List by Taxonomy on User Selection of Taxonomy Dropdown?

(Moderator's note: The original title was "drop down taxonomy") I want to add a drop-down box filled with my custom taxonomies, so when someone selects any value, it redirects to ...
1
vote
1answer
844 views

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 mysite.com/movies (...
3
votes
2answers
983 views

Custom Comment Types

I have created a custom post type for a sort of gallery whereby users can upload work etc. In addition to this I have taxonomies for this type such as categories, tags, colors, etc. But I want users ...
2
votes
8answers
11k views

Filter get_categories() for taxonomy term in WordPress

I want to show a category only if a (custom) post is in that category AND region = $name for that post. So, e.g. I have a custom post (type "business") named "Mamma Mia" in child-category: "pizzerias"...
0
votes
1answer
302 views

custom taxonomies on pages

i need some help how can i display custom taxonomies on selected pages? i mean i have 3 custom taxonomies location,duration & courses i have created three pages where i want to display the terms ...
3
votes
2answers
3k views

Custom taxonomy listing page when no term set (all terms)

I've created a custom taxonomy "foo" with rewrite slug "foo" and query_var "foo". Say for example, I also have terms "bar" and "baz" in the "foo" taxonomy. At the moment, permalinks like /foo/bar ...
0
votes
1answer
887 views

Singular custom taxonomy label

I have a custom taxonomy called "Artists" which has the taxonomy singular name set to "Artist". If a post only has 1 artist I would like the label to be "Artist" instead of "Artists". How could I ...
4
votes
1answer
2k views

Create page to handle form submission

I currently have some custom post types "shops" (actually more like pages than posts) and a custom taxonomy "products" linked to those post types. I'm attempting to create a form (via shortcode) that ...
0
votes
3answers
963 views

can I prevent WP users (even admin) from deleting custom categories?

I am writing a plugin where I have custom taxonomy (category). I want to prevent any user from deleting some of custom categories. Is there any way how to do so. Let's say that category with ...
3
votes
2answers
2k views

How do I create multiple post types in same menu section in WP-admin?

I am building a custom menu section (a new item with subitems in the main menu section on the left side) in the WordPress Administration of my website. The section shall include a main post type, and ...
0
votes
4answers
972 views

Trick to get custom post types to show up on a custom taxonomy page?

I've setup a custom post type and a custom taxonomy for that post type, but I'm having one problem - on the custom taxonomy permalink pages, the content of the custom post that should be there is not ...
9
votes
1answer
4k views

custom taxonomy and pages rewrite slug conflict gives 404

I'm using the Custom Post Type UI plugin to create my custom taxonomies. I have a portfolio that is made up of projects (custom post type) with 2 custom taxonomies of technologies and clients. The ...
2
votes
2answers
1k views

Get the latest taxonomy/category?

I'm designing a custom magazine theme, where categories are used for different sections, and I created a custom "edition" taxonomy. The editor will create a new term in that taxonomy for each new ...
1
vote
2answers
2k views

Taxonomy.php Not Showing Posts

I have the following code in my Functions.php file to create a custom taxonomy and post type. And I have created a series of posts within this post type and attached tags to them. add_action( 'init', ...
4
votes
2answers
4k views

RSS Feed for posts containing any term from a taxonomy

I imagine the answer to this will be related to this question I asked yesterday: Custom Taxonomy WP_Query for All Terms in a Taxonomy? I would like to output an RSS feed containing all posts that ...
0
votes
2answers
913 views

Best structure for entering recipes in a WordPress theme?

I'm working on building a recipe/meal planning site in WordPress. I need to have recipes indexable and sortable by the ingredients required, and I'm trying to figure out the best way of doing that. ...
4
votes
1answer
3k views

Custom Taxonomy Template Post List with Sort Order

I have an interesting problem I am trying to solve. Here is my situations: I have create a custom post type for "events". For each event post I require custom fields to be entered for the event ...
2
votes
1answer
1k views

How do I display a tag cloud with both post tags AND a custom taxonomy?

Using wp_tag_cloud(), how can I display a single tag cloud that incorporates both regular post tags and a custom taxonomy?
1
vote
1answer
634 views

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("...
5
votes
3answers
3k views

How to Make a Separate RSS Feed for Each Custom Post Type

How can I make a separate RSS feed for each custom post type? I had searched the net for it and found suggestions to do something like this: http://www.yoursite.com/feed/?post_type=book I tried ...
0
votes
2answers
948 views

Strip tags from a the terms() function

Trying to print my custom post type's taxonomy but without the link. Tried this, but doesn't seem to work, any suggestions? $text = the_terms($post->ID,'type','','',''); echo strip_tags($text); ...
3
votes
4answers
6k views

Counting Posts of a Given Post Type Having a Specific Taxonomy?

(Moderator's note: The original title was "How to know the number of custom type posts having a specific taxonomy") I'm stuck with the function wp_count_posts()! I created custom post types called '...
0
votes
3answers
1k views

Custom hierarchal taxonomy loses interface hierarchy when selecting parent & children

I have a custom hierarchical taxonomy that is called 'Categories', but serves a different area of the site than the default "Categories" taxonomy. The problem I'm having is with selecting children ...
0
votes
1answer
1k views

Custom Import with taxonomies

I'm looking to do a custom import from a custom cms to wordpress. Looking at the export/import files in wordpress, I can get match most of the structure. Though, it is missing the relationships for ...
2
votes
1answer
1k views

Checking if a Page has an Associated Term?

I am looking for a way to do some conditional logic on terms associated with a post. Essentially I created my own custom taxonomy for "age groups" and have created three terms for them. Kids, Teens, ...
1
vote
2answers
1k views

Custom Taxonomies Incorrectly Counting Revisions?

(Moderator's note: The original title was "The count of my custom taxonomy is incorrect; it's counting revisions") Has anybody run into this before? I've added two custom taxonomies, and the count ...
3
votes
3answers
780 views

Issues when rewrite rules collide?

Is it a problem to have a custom taxonomy and a custom post type use the same rewrite structure? I have a custom taxonomy people and a custom post type people_bio. The idea is that you get a list of ...
1
vote
1answer
571 views

Category slug field missing with registered custom taxonomy

I have registered a new taxonomy term using the same code on two different sites. On one site (a vanilla install), If I go to my taxonomy term in the admin menu, I see a 'slug' option for the add ...
1
vote
1answer
95 views

Is there a way of storing posts and pages under the same hierarchy?

I'm working on a site which needs to have pages and posts sorted into the same categories. The pages have their own individual hierarchy structure. Is there a way to do this using a custom taxonomy?
3
votes
1answer
3k views

Displaying the Name of the Queried Taxonomy Term on a Term Archive Page?

(Moderator's note: post was originally entitled "Taxonomy.php title") How can I display the "Posts classified under:" title for the taxonomy.php page? For example, this code is used in tag.php: ...
2
votes
2answers
4k views

Displaying Posts Related to Other Posts by a Taxonomy Term?

I have a custom post type for musician's profiles, and a taxonomy for their location (categorised hierachically into Countries and then Cities). On the musician's individual profile pages I need to ...