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

learn more… | top users | synonyms

1
vote
1answer
178 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 ...
0
votes
2answers
836 views

Page not found for custom post type UI plugin and taxonomy

I am using Custom post type UI and when I try to go to the post created under the post type projects page is redirected to page not found page. I have page created with same name before but I have ...
0
votes
1answer
197 views

Combining these queries? (Same taxonomy term + same category as post)

I´m not to good at coding so I could use some help with this! I have a single page which below the post shows more posts from the same category. Then I have another single page which in a similare ...
0
votes
1answer
229 views

Sorting tags by name

I'm displaying a lit of tags when they have a description. I'd like to sort them by name instead of by post quantity. Is there a way to do this? <?php $tags = get_tags(); if ($tags) { ...
0
votes
2answers
273 views

Select query with two and two related taxonomies

is this possible for 2 taxonomy and 2 terms $querystr = " SELECT * FROM $wpdb->posts LEFT JOIN $wpdb->term_relationships ON($wpdb->posts.ID = $wpdb->term_relationships.object_id) ...
0
votes
1answer
338 views

Display a tag only if there is a description

I'm building a site glossary and trying to display only tags with descriptions. Is there a way to determine if the description is available and only display the tag when it is? Here is where I am so ...
0
votes
1answer
390 views

How to use taxonomy term as permalink folder

I've searched around and haven't found a way to do this yet. I'm trying to create a custom post type that will display a permalink structure that uses the term of a taxonomy as the folder name. ...
0
votes
2answers
252 views

How can I remove image taxonomy pages from my theme and from Google?

A lot of my theme's image pages are ranking on Google. I'd like to remove these pages entirely from my theme so they no longer rank. When a user hits these image pages the content is taken out of ...
0
votes
1answer
1k views

Return single taxonomy term outside the loop

I'm trying to list just the first taxonomy term outside the loop. This is working fine but it lists all terms, and I just need the first - any suggestions? $taxonomy = 'taxonomy-name-here'; ...
0
votes
1answer
430 views

Custom select query for taxonomies that have posts categorized in another taxonomy

I have a custom post type "vendor" - and I want to people to drill down via custom taxonomies to see posts. I have two custom taxonomies - one for "service" and one for "location". So in a custom ...
1
vote
1answer
721 views

Getting 404 on taxonomy page

i've created a custom taxonomy template for my taxonomy and custom post type, custom post type name is "ecommerce" custom taxonomy is "ecommerce_categories", the problem is with the pagination it ...
0
votes
3answers
139 views

Related Taxonomy Doesnt Show any Posts

Doesnt Show Any Results <?php $query = array( 'tax_query' => array( 'relation' => 'AND', array ( 'taxonomy' => 'location', 'field' => ...
2
votes
2answers
2k views

Fast way to add countries as a custom taxonomy term?

Is there a quick way to add a list of countries as terms to a custom taxonomy called "Country"? Is there an existing import file, SQL script ect... I don't want to be there all day manually adding ...
1
vote
1answer
182 views

Review site custom post type structure

I build a review site with Wordpress. I created a custom post type called "Reviews", inside this, theres two taxonomy, one called "Genres" and one called "Types". Inside the Genres, i have a couple of ...
0
votes
1answer
402 views

How to relate to 2 taxonomy with category

I really need your help my question is this, is it possible to relate to taxonomies? This is My Problem sample: My post type is "show" taxonomies and the categories location (Taxonomy) Categories ...
1
vote
0answers
182 views

Select category from dropdown, display random post from that category [closed]

Was wondering if anyone could recommend a good way to display a single, random post from a wp_dropdown_categories() menu. Basically, I have a custom post type called Tips and a taxonomy term called ...
0
votes
4answers
926 views

Display Custom Taxonomy in Sidebar in Two Columns

I have a custom post type (photos) with a custom taxonomy (categories) and I'd like to display the taxonomy list in my sidebar in two columns. I have a modified snippet that I found elsewhere to do ...
2
votes
2answers
3k views

Advanced Tax Query

Below is my tax query, at the moment this returns all posts which have at least one of the specified terms. Is there a way I can have it return only posts which have ALL of the specified terms? ...
0
votes
1answer
923 views

Taxonomy with_front causes all

I have a custom taxonomy, which sets the with_front to false to try and get the URLs to look like /%type%/%brand%/%product%/, degrading as we go down. This however is driving me nuts. Everything in ...
0
votes
1answer
707 views

Plugin to assign parent category on multiple taxonomy terms

I've inherited a mess of a WP site. I need to be able to take 100+ categories and rearrange parent/child relationships. I need something with a UI that will make this easy. Anyone know of a plugin ...
2
votes
1answer
3k views

wp_insert_term - parent & child problem

I have a car database that I want to import into Wordpress as taxonomies. The problem is I can't create 2 taxonomies at once (first is parent, last ones are childs of first). $p = ...
0
votes
1answer
1k views

How to order a taxonomy's terms numerically, from lowest to highest using get_terms

I'm using get_terms to output a taxonomy's terms, which are all numbers: For example: 4, 6, 8, 10, 12 How can I order these numerically, so they appear exactly as above? What I'm getting is ...
1
vote
1answer
989 views

Categories of custom taxonomy don't show any posts

I want to display posts from categories of my custom taxonomy but realy don't know how to achieve this. I am using isotope filtering which works as expected with default post categories. I can click ...
1
vote
1answer
1k views

How to display custom taxonomies with links in filter menu?

Since two days I am trying to solve a problem with custom taxonomies (categories). I have a Custom Post Type called 'Portfolio' and it works as expected but a problem is with my hierarchical taxonomy ...
0
votes
1answer
2k views

Custom Post Type Category Link

I have a loop of posts for a custom post type I built. How can i call the link of the category/taxonomy for each post? Thanks
0
votes
6answers
2k views

How do I list custom taxonomy terms without the links?

I've searched far and wide to try and find an answer to my question. I'm hoping I can get help here. Here goes... I'm currently retrieving the terms of my custom taxonomy using: <?php echo ...
3
votes
2answers
1k views

get term by id without taxonomy

Can I get the term by it's id without knowing to whish taxonomy it belongs? I have a meta field that stores term ids, but doesn't store the taxonomy. However, all the get_term function have taxonomy ...
0
votes
1answer
1k views

Get only immediate children (and not grandchildren) of a hierarchical custom taxonomy term

Say, for example, I have the following custom taxonomy: Term 1 Term 1.1 Term 1.2 Term 1.2.1 Term 1.2.2 Term 1.3 Term 2 Term 2.1 How can I get the children terms of Term 1, ...
0
votes
1answer
627 views

get_the_term_list() wanting to loop through the returned values

I have a custom post type, I am echoing out my custom taxonomies in my template by doing the following, get_the_term_list( get_the_ID(), 'work', '<li>', "", '</li>') , this currently ...
1
vote
2answers
284 views

How to list 2 taxonomy terms for a post, based on their hierarchy

I'm using get_the_terms to display 2 terms on a post, associated with the taxonomy "location". The terms are the suburb and the city. The location taxonomy is hierarchical so the suburb is a child of ...
0
votes
1answer
817 views

List custom taxonomy terms

I am trying to display all of the terms for a custom taxonomy(characters), the taxonomy is related to a custom post type(books). What I would like to do is display all of the terms for characters, so ...
0
votes
2answers
113 views

Geting error in post and category [closed]

Hallo, I have in my blog now add a Plugin [Custom Post Type UI] and have great a Post type movies and taxonomies like genre,actors,directer..... like this all ok now i have great a test post min add ...
1
vote
0answers
868 views

Relationship between two taxonomies and a custom post type [closed]

for a project, I've a CPT products with two taxonomies : category and brand. I would like to build a navigation from a category to a product under a brand. page 1 : list the categories terms page 2 ...
5
votes
5answers
1k views

Different post sort order within different categories

I need to give each post a unique post order for multiple Categories (per post) it is in. I can imagine a solution using custom fields whereby for each Category there is a corresponding custom field ...
3
votes
1answer
743 views

How to group meta boxes on the post edit page

I suspect that this is not possible right now, but oh well.. I'll ask, maybe one of you has some intersting thoughts to share. So let's say we have the following taxonomy terms meta-boxes on our post ...
1
vote
3answers
328 views

Make first letter of my taxonomy uppercase

I'm using echo get_the_term_list( $post->ID, 'trpropcity', '', ' ', '' ); to show a taxonomy link, I'd like to make this instance of it only have the first letter capitalized, Cleveland not ...
1
vote
1answer
357 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. ...
0
votes
1answer
170 views

Displaying child taxonomies

Imagine this: I have a custom post type called 'Animals' and I have registered a taxonomy for this post type called 'Types of Animal'. 'Types of Animal' would be 'dog', 'cat' and 'mouse' and so on. So ...
1
vote
1answer
407 views

Problem with custom post types, taxonomy and permalinks

I am experiencing problems with custom post types, taxonomies, permalinks and rewrites. I created a custom "recipes" post type and taxonomy using this code: add_action('init', 'recipes_register'); ...
5
votes
1answer
1k views

How can I create a taxonomy meta-box with search suggestions but no new terms input?

I was wondering how I could setup a taxonomy metabox on a post edit page that would be similar to the "tags" kind (with search field and automatic suggestions), but without the right to add a new ...
19
votes
3answers
15k views

How to get all taxonomies of a post type?

How can i get taxonomies of a post type? If I have a post type event and i need to find out the list of taxonomies that are attached to that post type. How do I find them?
1
vote
1answer
385 views

Customize category page for different custom taxonomies

What I'm working on are the pages that you go to after clicking on a custom taxonomy on the front-end. I'm to the point where I've duplicated category.php, renamed it taxonomy-tr_property_region.php ...
2
votes
1answer
754 views

orphaned taxonomy terms remove by sql query

I have 3 custom post types each of these CPT's have posts that are set to auto delete via a given time scale by cron jobs, thing is when they are deleted it leaves behind orphaned taxonomy terms in ...
4
votes
1answer
4k views

How to get taxonomy term of the current page and populate queries in the template

I've been stumbling around trying to figure out how to get a specific taxonomy term of the current page so that I can subsequently populate queries on the page for other post types that share the same ...
1
vote
2answers
1k views

Custom Post Type with Custom Title

I have a custom post type without title support and I'm trying to generate one from post's taxonomies and custom fields. To do so, I'm using this code: function custom_post_type_title_filter( $data , ...
1
vote
2answers
393 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 ...
0
votes
1answer
116 views

sidebar troubles, taxonomy trouble

can you help me with two things : i have different movies, to classify into different "genre", should i use "taxonomies" or the already built in "category"? is taxonomy more appropriate in this ...
8
votes
1answer
2k views

Taxonomy dropdown metabox in the back-end

I've created custom taxonomy called Brands and made it hierarchical so I can add Car brands and models there and keep their relations, like this: Ford Mustang Mondeo Focus Problem is, this list ...
6
votes
3answers
8k views

Attaching taxonomy data to post with wp_insert_post

I am implementing (trying) a front end posting system which shows taxonomy data in several dropdown select fields, each of the dropdowns is named by using the "name" $arg in wp_dropdown_categories. ...
1
vote
2answers
466 views

get_terms problem : related articles

I'm trying to use get_the_term_list to catch the name of the current taxonomy of the page, and then use it with get_terms and a foreach method, to show the result of all the "elements" from the same ...