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

learn more… | top users | synonyms

0
votes
1answer
84 views

Assign a category by user and customize the edit-tags.php?taxonomy=category page

I've been searching for days now without success... Here's my goal: - assign a top level category by user (this I've made it) - let each user create child categories only in his assigned category ...
0
votes
1answer
114 views

Create advanced portal website with sections - taxonomy usage?

I would need your help. Please let me explain my needs. I need to create a portal-based website, and I have some doubts about the right way. The homepage will contain a few "sections". Each section ...
0
votes
1answer
412 views

multiple taxonomies in wp_list_categories' $args

Why doesn't it shows terms in both 'lunch' and 'dinner' taxonomies? How can i do it? <?php $taxonomy = array('lunch', 'dinner'); $orderby = 'name'; $hierarchical = 1; ...
0
votes
1answer
50 views

How can I create gallery of products and submit data for each product?

I have a client that wants an eCommerce contact to order website. The client wants to submit products on the website, including the price, name, and information for the product. Along with that, the ...
0
votes
1answer
29 views

wordpress taxonomy in regular posts

I have a custom post type and taxonomy so the user can post in a specific areas in the theme. User (admin) can add categories easily. But the categories that has been added through my taxonomy don't ...
0
votes
2answers
619 views

Custom Taxonomy in Permalink of Post

It is possible to use this as a permalink for a post: /%category%/%postname%/ But lets say I've created a taxonomy called "artist". I'd like to use this for my posts: /%artist%/%postname%/ I ...
0
votes
2answers
161 views

Echo used hierarchical taxonomies parent name

I want to echo my hierarchical taxonomies parents which I used in my posts. I've see answers about that, but no one didn't help me. To get all taxonomies, currently I use <?php the_terms( ...
0
votes
1answer
48 views

Custom Query for Taxonomy

What is the correct wpdb custom query for this: taxonomy=pa_main-genre&post_type=product&orderby=name&order=asc Basically i am trying to do is,list all the terms for pa_main-genre. ...
0
votes
1answer
91 views

Show min and max taxonomy values

I'm trying to get the min and max values from a taxonomy, but my code is returning all taxonomies: function get_years ($taxonomies, $args){ $hlterms = get_terms($taxonomies, $args); foreach($hlterms ...
0
votes
1answer
111 views

list taxonomy based on taxonomy

Please, someone can help?! I'm fighting with this for weeks and nothing.... I'm quite new in wordpress and php... There is a way to list taxonomy terms based on another taxonomy? OR If is possible to ...
0
votes
1answer
141 views

Passing values by form to create a query

I have this structure: taxonomy - term1 -- child term1 -- child term2 -term2 -- child term1 -- child term2 I have two select boxes. First one shows the parent terms (term1 ...
0
votes
2answers
657 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 ...
0
votes
1answer
182 views

Why does my taxonomy code display the first alphabetical term?

What i am trying to do is echo the last hierarchial child term for the taxonomy. My taxonomy is propertytype. My hierarchial structure is: Real Estate (Parent) Commercial (Child) Offices (Child of ...
0
votes
1answer
312 views

Implode Taxonomy to hide parents?

The following code will display the child taxonomy term of the parent only. $terms = get_the_terms($wp_query->post->ID, 'propertytype'); $props = array(); foreach ($terms as $term) { if ...
0
votes
1answer
143 views

retrieve post slug by post_tags taxonomy

My scenario: I have a part of a site which retrieves all post_tags terms for a specific category the code: query_posts('category_name='. $category[0]->cat_name); ...
0
votes
1answer
509 views

Getting the parent from the wp_term_taxonomy

Is there a built in wordpress function that let's me look up the "parent" field of the wp_term_taxonomy table if I pass the TT_ID to it? Something like get_value ( $wp_table_name, $id_fieldname, ...
0
votes
1answer
546 views

Alternative for is_taxonomy() to workaround theme's default sidebar

My Wordpress theme is using some code in the "sidebar.php" file that tells it that some pages should always use the default sidebar. This was fine until I found that each and every custom taxonomy ...
0
votes
1answer
349 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
2answers
292 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
497 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
2answers
432 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
1answer
189 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
999 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
278 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 ...
0
votes
1answer
3k views

How to get posts using category slug in ClassiPress?

I'm using the ClassiPress theme as a base for a new theme. If you have worked with classipress, you should know that classipress handles its own category using the taxonomy ad_cat. That said, I have a ...
0
votes
1answer
182 views

Custom Taxonomy link out the loop

how can i get Custom taxonomy URL by taxonomy ID outside the loop like get_category_link();
0
votes
1answer
94 views

Taxonomy template for all taxonomies attached to certain post type

For instance, I have a product post type and I would like all the taxonomies associated w/ this type, such as size, color, material etc to display using the same template without having to 1. create a ...
0
votes
1answer
304 views

What is the current page's Taxonomy?

I need to be able to switch between the current page taxonomy so I can load in the appropriate menu: $current_tax = 'need to get this from somewhere'; switch ($current_tax) { case 'tax1': ...
0
votes
2answers
2k views

Loop custom post type by taxonomy (Category)

I created a custom post type in my function.php of the theme and some a taxonomy for them. I added 2 categories in my taxonomy (first, second) and added some post in my new custom post. I want to ...
0
votes
1answer
209 views

Order taxonomy terms by the frequency of use in the last 30 days

I would like to know how to order the terms in some taxonomy according to their frequency of use in posts in the last 30 days. What I am looking for is the most optimal method how to add "orderby" ...
0
votes
1answer
219 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
1answer
659 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 ...
0
votes
1answer
607 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 ...
0
votes
1answer
776 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
1answer
168 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 ...
0
votes
1answer
177 views

Custom taxonomy admin description

Is it possible to add a short description to a custom taxonomy's admin area? For example, I've added a taxonomy that determines what kind of banners are displayed on a post's page. In the meta box ...
0
votes
1answer
42 views

Is there a WP function to get taxonomy name from taxonomy_term_id?

I need to get the taxonomy name from the taxonomy_term_id. I am currently using the following to get it: global $wpdb; $term_taxonomy_table = $wpdb->prefix . "term_taxonomy"; $taxonomy = ...
0
votes
1answer
25 views

Custom Taxonomy Template Variables Available?

I have a custom Taxonomy sports and want to edit the front-end display. I have got taxonomy-sports.php and used this code to get the data on the taxonomy, but I feel like it should already be ...
0
votes
1answer
165 views

chained drop-down menu for custom taxonomy using chained.js — not quite working

So, Im trying to get a chained select to work to select a state then a city with that state. (2 fields). Here is what Ive got: First my function to create the menu using get_categories(). First ...
0
votes
1answer
145 views

query posts returns 10 records

I am using the following code to fetch records from a custom taxonomy. if ($_GET['post_type'] == "developments"){ ?> <?php global $wp_query; ...
0
votes
3answers
192 views

Sharing a custom taxonomy - No posts?

I've been writing up some code which enables two post types to share a custom taxonomy. From the admin side, it works fantastically - but for some reason, when I look at the taxonomy archive itself on ...
0
votes
2answers
138 views

Get custom taxonomy term url on archive page

This is driving me crazy, so please help me guys with this. I'm trying to add a metatag to custom taxonomy ter archive page header which contains the url of the term archive page of a custom ...
-1
votes
2answers
507 views

Using 1 taxonomy for multiple post types?

I previously declared the taxonomy " artist " for a profile post type. Now i am creating a CD post type and would like to use the same artist list from the profile post type That is one example if ...
-1
votes
1answer
1k views

Isotope Drop Down Categories Filter Function

I have a code in my functions file that I am using to generate a list of categories so that I can use isotope to filter the current page. However I need to know how to - How to make it a drop down ...
-1
votes
0answers
21 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
-1
votes
1answer
22 views

How to display a term of taxonomy

My doubt is how can I show a "term” of an specific taxonomy, the problem is that I have not found an applying example, just short code lines that don’t show me nothing at all. I want please the ...
-1
votes
1answer
10 views

Insert taxonomy term to different table

I have different table in the database called "wp_taxterms". How do I insert to that table every time a news taxonomy term under "Clients" is created or if an existing one has been updated/deleted? ...
-1
votes
1answer
463 views

How to query posts from specific authors and categories using WP_query?

I currently have a WP_query where I am getting posts from a specific set of authors. To this, I want to add specific categories as well. $args = array( 'author__in' => $authors, 'posts_per_page' ...
-1
votes
3answers
109 views

How to perform a search inside a specific taxonomy category

My problem is this: I have 3 custom taxonomies, let's say 'author', 'title' and 'editor', each one applied to regular posts. Let's say I have post_1 that has in the 'author' field 'jorge borges' and ...
-1
votes
1answer
50 views

Getting taxonomies specific to categories

I have categories set up for car manufacturers. I have 4 custom taxonomies that are also set up: color, starburst, offer_type, and logo_count. Each post I upload to my wordpress has values for all 4 ...