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

learn more… | top users | synonyms

1
vote
2answers
496 views

Get the most popular terms for a custom post type

I’ve hit another small rock in my current project! I’m trying to list (and link) to the archive page for the top 4 most used terms for a custom post type. I have this; ...
1
vote
1answer
550 views

Query Multiple Taxominies Across Multiple Post type's

i have searched and found some aprroved answers to similer questions but nothing i could make work or something exactly like my issue... i have 5 custom post type... each one have its own taxmonies ...
1
vote
2answers
852 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 ...
1
vote
1answer
242 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 ...
1
vote
4answers
4k views

Using Taxonomy Image code with my get_categories code

I'm using Taxonomy Images to associate images with categories. I'm using the following code, one is to display the categories, the other to display the images. Here is the code that displays my ...
1
vote
1answer
2k views

Set a cookie in WordPress, using a select form and Jquery

Hi Guys and thank you in advance for giving me some attention with this. I have this code in wordpress that I just can't get right. I have the US states in a drop-down form. When the user chooses an ...
1
vote
2answers
1k views

How do I search inside specific taxonomies in Wordpress

I am trying to search for posts in specific taxonomies but any time I search, I get results from all the other pages instead of Wordpress searching within the selected category in the taxonomy. I ...
1
vote
1answer
406 views

How do I query a taxonomy term range

NOTE: The links will work If you copy & paste them. (I'm a newbie so I am not allowed to add to many links to the question) I have a few taxonomies that I would like to query a range from, for ...
1
vote
5answers
592 views

How to associate an image with a term taxononmy and publish it on frontpage?

I couldn't find the solution anywhere else, so I believe is a valid question for this website. I think my problem is divided in two parts. I created a custom taxonomy called "Type" and within it, I ...
1
vote
2answers
423 views

Master Site for specific taxonomy in MultiSite

I want to create "city" taxonomy in all sites of MultiSite. But i want to show same listing in every blog and i want to edit it from only master site and not letting other blog owners edit it. I think ...
1
vote
1answer
184 views

Wordpress as thesaurus/dictionnary: what approach?

I'm willing to develop a thesaurus/dictionary for the Berber language. A website that allows comunity members to add new words/synonyms/antonyms.. How to relate words (posts) to each other? by ...
1
vote
1answer
363 views

Taxonomy filter all children

I have a custom taxonomy filter that will filter all the pages in the selected taxonomy. I would like the code to select the pages in that taxonomy, and the children of thous pages. Heres the code. ...
1
vote
2answers
397 views

WordPress built-in method to extract array of term IDs?

I'm querying a custom taxonomy for a post, hoping to get a list of all terms for that post and taxonomy. get_the_terms($post_id, $taxonomy) works, but gives this ungodly array of term objects that ...
1
vote
1answer
3k views

How to create new category for custom post type?

I have create a custom post type named "jobs", and I want to create a set of category for that, ie like "PHP Jobs", "Python Jobs" etc. $args = array( 'labels' => $labels, 'public' => ...
1
vote
1answer
443 views

metabox with custom post type values

I need to re-write a current WP website and I think Custom post types are required, combined with Meta Box. The basic layout is Author (custom) Books (custom) Photos (custom) All 3 custom post are ...
1
vote
3answers
534 views

Is It Possible To Have Shared Wordpress Custom Post Types?

I am developing a website for a record label and the basically it uses quite a few custom post types for various pieces of information. My problem is that I feel the same bits of information are being ...
1
vote
2answers
53 views

Can a Child Category Have More than One Parent?

I'm looking at the get_categories() function in the WordPress codex to see how I can return all of the children of each "root parent" ( categories that have no parents ). For example, if I am ...
1
vote
1answer
85 views

Filter posts by custom taxonomy terms

I am trying to filter posts by author. The 'post_author' is a custom taxonomy and I've included it in my args and posts are showing with the linked author names but when I click on the author name ...
1
vote
1answer
79 views

Check if a post is in any child category of a parent category

In a site I'm developing, I have the following category structure: * movies (parent) * thriller (child) * comedy (child) * drama (child) The current post is in the comedy category. The ...
1
vote
1answer
64 views

Filtering posts by multiple taxonomies

I have a page on which I want to display all posts of a specific custom post type, let's call it "persons". I want to allow the user to filter all persons by multiple (!) taxonomies: age, city, ...
1
vote
2answers
26 views

Custom Taxonomy Archive not displaying entries

I have CPT 'movie', with the following taxonomies: genre, director, and actor. The code used to register these is this: http://pastebin.com/yJ9XHCDk I have an archive movie page working using the ...
1
vote
1answer
447 views

display posts with same taxonomy term

I'm trying to display 5 related posts in the loop, those related posts being posts that share the same taxonomy value. e.g. I have a custom taxonomy set up called venues thus each post has a venue ...
1
vote
1answer
52 views

Custom taxonomy [year] is directing to yearly archive

My custom taxonomy is linking to yearly archive instead of the post linked to it. I have created a custom taxonomy named "year" containing int (i.e 2008,2009,2010 etc). Have registered the custom ...
1
vote
1answer
65 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
1answer
1k views

Custom Taxonomy as checkbox or dropdown

I have registered a custom tax to my CPT. On the edit screen the tax meta box appears with an autocomplete field. Is it possible to display it as checkboxes or dropdown instead?
1
vote
2answers
987 views

Get posts of ONE taxonomy term of custom post type

I am going crazy here as I assume it is quite simple, but I just cannot get it to work. I have a custom post type called 'portfolio' and a taxonomy called "locations'. In the taxonomy I have various ...
1
vote
1answer
2k views

Filter custom post type using multiple taxonomy dropdowns

I'm trying to create two dropdown boxes on a custom post type page called Activities. One taxonomy category is for Activities Grade Level and the other for Activities Type. With what I have now, if ...
1
vote
1answer
858 views

Use get_terms to get post_tags but limit to a taxonomy

So I'd like to get the top 5 post_tags by count. But I have an additional taxonomy that I use to further organize posts called Issue. So I want to be able to get the top 5 post tags used by posts in a ...
1
vote
1answer
175 views

get_the_tags() not iterating through for/while loop, but will with foreach

I'm having a very peculiar issue with Wordpress right now that I can't understand, and hopefully someone here will have experience with it to help solve it. I'm trying to iterate through the array ...
1
vote
1answer
37 views

Include custom post type in “all posts”

(Working of off an existing team that the client already purchase.) I have a WordPress install with a couple of custom post types: portfolio testimonials I've set the taxonomy to hierarchical' ...
1
vote
1answer
358 views

Changing taxonomy term by slug (wp_update_term)

What I am trying to accomplish is to update a taxonomy term name using its slug rather than the $term_id Wordpress does this by: <?php wp_update_term( $term_id, $taxonomy, $args ) ?> Is it ...
1
vote
1answer
303 views

Custom dashboard menu does not stay open for the custom Taxonomy within it

Short Version: Custom menu with a custom post type that supports a custom taxonomy. The custom post type works, the menu for it works and stays open. The custom taxonomy works, but the sidebar menu ...
1
vote
1answer
47 views

How do I do this with WordPress? Taxonomies?

I was hoping to get some help with how I organise posts in WordPress. I have 2 Custom Post Types called 'Places' and 'Events'. In the Admin, I'd like to be able to create a 'Place' post and ...
1
vote
1answer
147 views

Filter taxonomy terms using multiple id in the edit-tags.php

I want to use the edit-tags.php search function with multiple term id's. For example, if i type into the searchbox something like this: #1245&6832, it should display these two terms in the results ...
1
vote
1answer
94 views

How to get the id from the custom category?

How do i get the ID from the current custom taxonomy (category) the user is browsing? It uses a custom post type called "products" The categories are called "pcategories" With normal categories i ...
1
vote
1answer
97 views

Show Available Taxonomy List with Current Category

As you can see from the image, I am listing all categories and the cities (taxonomy list). What I want to do is : If Car classifieds is selected on cities list show the city name which has car ...
1
vote
2answers
393 views

Creating “static” taxonomies to choose from, inside custom post type?

Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
1
vote
1answer
108 views

Advanced Taxonomy Queries Wordpress

I am working with wordpress and business listings. I have about 5000 business listing all over the usa. Each business listing has a custom field for state, county and city and brands. My business ...
1
vote
1answer
744 views

How can I convert some categories to a custom taxonomy?

I have a WordPress install that has a ton of categories. I want to convert some of these categories into a custom taxonomy. For example, I have: Categories: Category A Subcategory 1 Subcategory 2 ...
1
vote
1answer
1k views

Internationalize / translate custom post types & taxonomies

I've created custom post type and taxonomy via generator, but not quite sure how to make it translatable. Google doesn't help in this. I have no idea where to put text-domain here and things what I've ...
1
vote
3answers
2k views

Query posts by taxonomy term name

I would love to get the list of posts by their custom taxonomy (=store) name. Here is what I have so far, but it is not working. Please help with the code. $mystorename is a variable holding the ...
1
vote
1answer
414 views

Why does querying on post_tags (which has been applied to custom post types) only return posts?

So I've created a little jquery cycle based feature rotator that pulls from the post_tags. I added the post tags to my other custom post types like this: register_taxonomy_for_object_type('post_tag', ...
1
vote
1answer
38 views

Is using taxonomies the way to go here or would custom post types be better?

I to create a site that will let subscribers select items from a list, say of books or DVDs - essentially building a collection that they could then add additional info, e.g. price paid, where ...
1
vote
2answers
694 views

category filter doesn't work in WPML

I translate the categories to another language, but in the main page, the two language categories are all displayed. How can I filter another language? My WPML version is 2.4.1. I found all the ...
1
vote
1answer
235 views

Displaying terms based on loop posts?

I have a shortcode that shows a loop for a custom post type: while ( $loop->have_posts() ) : $loop->the_post(); // do something endwhile; Some of the posts are in categories ...
1
vote
2answers
971 views

How to filter out Categories for specific post types on Wordpress Admin?

How can i programatically change the Category selection menu on wp-admin? is there a hook or filter to edit the Category List? My objective is to filter out specific categories for specific ...
1
vote
1answer
408 views

Set attachment tags from attachment's custom field data

I currently have a custom field added to my attachment's form called artist_credit using the hook attachment_fields_to_edit. When a person enters a name into the artist credit field, I want it to (if ...
1
vote
2answers
249 views

Count posts for each taxonomy term for each month

Cannot figured it out... I need to count how many posts there are for each taxonomy term form each month.
1
vote
1answer
812 views

is_taxonomy is deprecated. What's the alternative?

Now that is_taxonomy($taxonomy) function deprecated how do I know if a taxonomy exist? What's the alternative? On a second note, the codex for wp_insert_term() says that if the taxonomy does not ...
1
vote
2answers
552 views

Custom Post Type: How to display all of same taxonomy?

Isn't there a permalink structure that will essentially list out all categories of a certain post type? function create_faqs_post_type() { register_post_type( 'faqs', array( ...