A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

2
votes
1answer
180 views

Using Custom Posts with Metaboxes and Drop-downs

When using Custom Posts and adding a Metabox, I was wondering how I could add a drop-down menu that would populate data that was added by the user. For example I want to be able to select a 'source' ...
5
votes
1answer
16k views

Get Posts by Custom Post Type ,Taxonomy, and Term

Ok, so i have a Custom Post Type called "Services". This custom post type has a taxonomy called "Areas" and there's 5 terms in that taxonomy. Let's say I have 10 posts on "Services" and there's 5 ...
0
votes
2answers
210 views

Sort Archive by Taxonomy

I have a site with Taxonomy for State (Eg Victoria, Qeensland ETC) this taxonomy is called listing_state. I also have a taxonomy called membership_type which can be Free or Paid. These 2 taxconomies ...
0
votes
2answers
245 views

Help Understanding Taxonomy

OK, I need some help understanding taxonomies. I know what they are, I know how to make them, but I just don't what they're actually good for. So let's say I have a custom post type for video game ...
0
votes
1answer
279 views

How to have “the most used tags” taxonomy always expanded?

How can I have some taxonomies to always have "the most used tags" displayed when a new post is being created. Thanks.
3
votes
2answers
4k views

Get the first Category / Term only in single-custom-post.php

found close stuff but none that exactly answers my question.. so.. How do i get the only the first taxomony (category) of a custom post type... i can get all - no problem.. this what i am using to ...
0
votes
1answer
80 views

Best way to sort estates and query them (for rent? yes/no. contains office space? yes/no)?

I´m building a real estate site where Estates is a custom post type. I want to be able to tick a checkbox or something similare on the edit page, where I can choose if the estate is for rent, if it ...
0
votes
1answer
129 views

Edit custom taxonomy description programatically

I've added a custom taxonomy and I wanted to know if there is a way to edit a custom taxonomy's description. Here's the description field. IS there a function that provides access to this field? ...
1
vote
2answers
1k views

Custom taxonomy admin page

If you want a custom admin page for a taxonomy, you can set 'show_ui' => false when you register it to suppress the default admin page and then create a new admin page to replace it. However ...
0
votes
2answers
296 views

Update all posts at once

I have added a custom taxonomy to my posts, that will get a value by iteself on post_update action. What will be the SQL query to update all my posts at once so that the taxonomy value is added to ...
1
vote
2answers
369 views

List taxonomy term “Last Name” + “First Name” (taxonomy custom field) in a post loop

I have a few custom fields for a taxonomy "Author". The term title is the Author's last name, and one of the custom fields is his first_name. Now I need, in a post loop, to list all "Authors" of that ...
3
votes
1answer
964 views

How can I set up a category “overview” page?

I know I can use the Template Hierarchy to set up custom theme pages for terms inside a category, like these: mysite.com/category/tech/ // category-tech.php mysite.com/category/blog/ ...
0
votes
2answers
3k views

Displaying related posts in a custom post type by a custom taxonomy

I'm trying to display related posts by a custom taxonomy (product_tags) in a custom post type (products). The following code works, but it ignores posts_per_page. Any ideas? global ...
0
votes
1answer
353 views

Structure of custom post type / taxonomy?

I have three custom post types created already and their landing pages (page-events.php, etc): Events, Retreats, Coaching But for the first, I need some sort of categories which I am going to list ...
0
votes
1answer
2k views

Custom taxonomy archive - No posts found [closed]

I've created a custom taxonomy 'quote-categories' (a separate category listing for a custom post type) and created a taxonomy-quote-categories.php template that is called successfully when viewing a ...
2
votes
1answer
382 views

Set default (auto) slug prefix for Tags

Is it possible to add default prefix to the slug of each newly added Tag. So that full slug, would be stored in database (no rewrites). For example: Name: Tag1 -> Slug: prefix-tag1 Name: Tag2 -> ...
2
votes
3answers
856 views

Child Terms not Displaying on the Taxonomy Term Admin Screen

I am experiencing an issue where terms with a parent are not being displayed in the category admin screen. The screen gives the total number of terms that should be there (i.e., 32), but only displays ...
1
vote
1answer
884 views

Exclude custom taxonomy tag from loop

I have the following code at the beginning of a loop: <?php query_posts('showposts=3&cat=84'); ?> <?php $posts = get_posts('category=84&numberposts=3&offset=0'); foreach ($posts ...
0
votes
1answer
1k views

Adding session variable and/or cookie based on user-selected input

I am working on a classifieds website that has a custom taxonomy called 'countries'. In the main header menu I have these categories showing in a dropdown list of particular countries people can ...
0
votes
1answer
192 views

Display check marked taxonomies as drop down menu

I've built a hierarchical taxonomy that displays a master list of available fragrances in the admin. When you create a page, you checkmark the fragrances that are available for that particular post. I ...
0
votes
1answer
624 views

Taxonomy Checkbox Admin Panel

I have a basic Admin panel allowing Admin to save options using Checkbox. Checkboxes are used as multiple selection is necessary for the option So, Admin Option - Checkbox 1 - Checkbox 2 - Checkbox 3 ...
1
vote
2answers
177 views

If search matches taxonomy

Is it possible to redirect the user to the taxonomy page IF the search input matches the taxonomy name exactly? For instance i have a taxonomy called "Actors". If someone put into the search field ...
0
votes
1answer
63 views

Retrieve all term IDs of post

I have an array of term IDs that I'd like to filter my query with, but most wordpress functions seem to need the 'taxonomy' field entered too. Is there a reason for this? Passing the taxonomy ID ...
2
votes
2answers
466 views

wp_set_object_terms() — prevent overwrite?

From my understanding (and before trial and error), wp_set_object_terms( 'post_id', 'add_this_term', 'in_this_taxonomy'); But from the Codex, apparently adding the term will overwrite any other ...
1
vote
2answers
973 views

Using default WP menu functionality to link to custom post-type listing?

I'm completely starting over with a wordpress project that began a couple of weeks ago, and basically i'm totally discovering wordpress, so please bare with me. I might be completely misunderstanding ...
0
votes
1answer
71 views

Prevent certain subscribers from seeing specific taxonomies (changes frequently)

I've created a taxonomy (let's call it tax). I need to limit what a user can see. The users can't edit anything, just read the blog. If it was just setting what they could see once, I'd probably just ...
0
votes
2answers
4k views

How to make tags show up in search results?

Im looking for a way to make tags a searchable object. To clarify, Im NOT trying to make the search engine search posts by looking at its tags, but I want tags to show up in the results just like a ...
1
vote
2answers
1k views

I need template for my custom taxonomy term

I created a custom taxonomy slug is 'event_type' and created terms like social, educational and religious. I want to have template page where I can show posts related to these terms. you can say I ...
2
votes
1answer
234 views

How to add terms to a post depending on its title?

I want to add all posts with keyword "Dog Training" in the post title to a specific category. Reason: If you enter something into WordPress search it's not an exact match. Previous WordPress search ...
1
vote
1answer
668 views

How can I populate a select element with terms from a custom taxonomy and filter post results?

Alright, so first, I need you to check out this wire-frame so you can see what I'm trying to accomplish: Wire-frame What I've done so far is this: I created a custom post type for individual ...
5
votes
3answers
682 views

Taxonomy term in permalink

I have a big problem. I have been banging my head on this all day long. It seems to be a stupid easy question. Possibly also with a stupid easy answer. But I can't seem to find it. What I want is ...
0
votes
3answers
706 views

how can i display taxonomy instead of category on my web page?

I want to display taxonomies instead of categories on the homepage of my blog. What can I do to achieve this?
0
votes
1answer
53 views

Need help deciding on a taxonomy

I'm working on a project that mimics a product Catalog, all products belong to a Collection and they all have a Type and Attributes. For instance, a shirt belongs to the Apparel Collection, so I ...
4
votes
1answer
694 views

Control term order on a per-post basis

I have a taxonomy in which term order matters, but varies from post to post. So I want to be able to set the order that terms are displayed in on a per-post basis: My first post | Tagged: Apples, ...
3
votes
1answer
148 views

List taxonomies with thumbnails

I've added an extra field to a taxonomy called "albums" via this function: add_action( 'albums_edit_form_fields', 'albums_taxonomy_edit_meta_field', 10, 2 ); function save_taxonomy_custom_meta( ...
0
votes
2answers
336 views

Related terms - Terms that feature in post of current term

Not sure how hard this is but i'll try and explain it as simply as possible. I have a custom post type called: "Movies" with an taxonomy term called "Actor" For example purposes suppose were on the ...
0
votes
2answers
575 views

Taxonomy template shows only 10 posts

So I'm a little confused with this one. A blog I recently set up makes plenty of use of custom post types and custom taxonomies. In the reading settings the blog posts to show is at 100 but I can ...
0
votes
1answer
188 views

Replacing a placeholder term with a session variable value in taxonomy filter

I have in my themes some code which will set a session variable. For the sake of example, it's a geolocation routine which will set to either USA, UK or ROW, resulting in: $_SESSION['region'] = ...
2
votes
2answers
2k views

Group Custom post type in a page by its taxomony tag

I hope i can write a clear question since i got confused trying to solve this... I got a custom post type... that custom post type has taxomony (category like) and i want to return a structure like ...
0
votes
2answers
507 views

child_of not working in wp_dropdown_categories

I have wp_dropdown_categories working without setting child_of. Once I set child_of, all categories disappear. Here's my code, what should I do to enable child_of? function dropdown(){ ...
0
votes
3answers
815 views

Terms not appearing in wp_dropdown_categories

I am trying to use wp_dropdown_categories at front end. I got the dropdown box with default "uncategorized", the rest of the category is not there. function cats_dropdown(){ require_once(ABSPATH ...
0
votes
1answer
200 views

Description of a sub-taxonomy

I am using this code to display description of a taxonomy. <?php $my_taxonomy = 'institute'; $terms = wp_get_post_terms( $post->ID, $my_taxonomy ); echo term_description($terms[0]->term_id, ...
0
votes
2answers
1k views

Why is taxonmy-[taxonomyname].php not working?

I've registered a couple of custom taxonomies to go with a couple of custom post types but I'm having some trouble getting a template file to work. I've tried taxonomy.php, taxonomy-[termname].php, ...
0
votes
1answer
1k views

Alphabetically sort a taxonomy.php template by post title

Simply put, is it possible to sort a taxonomy.php template via the same methods you can with something like wp_query so that the archive shows all posts in an ascending order alphabetically by title? ...
1
vote
1answer
497 views

How do I list the pages of a custom taxonomy?

Grouping pages/posts into taxonomies is great IF you can list the pages under each category. For instance, I have set a taxonomy as 'WordPress Reference'. Then I have a "category" (I think that's ...
3
votes
1answer
9k views

How can I add the featured image functionality to a custom taxonomy?

I would like to be able to use the 'featured image' functionality, found on post types, for a custom taxonomy. I have a taxonomy called 'collections' and I would like each collection to have a ...
1
vote
1answer
262 views

Changing stylesheet depending on custom taxonomy terms

My client would like the background & header colors to switch depending on terms within the custom taxonomy 'Grades'. These terms are kindergarten, first grade, second grade, etc... (all ...
0
votes
2answers
166 views

How to display posts from two taxonomies?

I have site with rankings of doctors. Medical specialization and localization where doctors live is stored as a taxonomy. For example: city -> New York, London, Paris specialization -> surgeon, ...
0
votes
1answer
341 views

Bug using wp_insert_term with switch_to_blog

I'm running a network of about 80 sites using WP multisite 3.2. I'm experiencing irregularities using switch_to_blog whith wp_insert_term. To test this I have disabled all plugins, and am testing on ...
0
votes
1answer
293 views

Taxonomies not showing in WP Dashboard Right Now widget

For some time I've been using this code snippet adding both custom post types and custom taxonomies to the WP Dashboard Right Now widget: function dashboard_right_now_content_table_end() { $args ...