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
0answers
9 views

Same menu for different taxonomies to reach different content

I'm using a "location" taxonomy to show the same website for 4 different locations. Each of them will have the same categories which I want to display in a menu. Is there anyway to create the same ...
0
votes
1answer
9 views

Multiple archives to display parent and subcategories content

I am developing a plugin with custom types and my problem is that I need to display an archive of a selected subcategory (selected from a parent category) and in the page display some events of that ...
0
votes
3answers
40 views

Page not found taxonomy custom post type

I made a custom post type with taxonomies and when I go to the taxonomy page and view one of the taxonomies I get a page not found error like the taxonomy wasnt made. Any suggestions? /*Products*/ ...
0
votes
1answer
12 views

List all Custom Post Type posts excluding certain Taxnomy term

I'm writing a theme in which I've registered "Services" as Custom Post Type that supports "Type of Service" Custom Taxonomy. I want to list all the posts of type "Services" except those which have ...
0
votes
1answer
20 views

Register `product_cat` taxonomy for default post post type

Is it possible to register WooCommerc's product_cat taxonomy for use by posts? I have tried the following with no success. function custom_cross_content_type_taxonomies(){ ...
0
votes
0answers
6 views

Pretty permalinks with multiple taxonomy queries

I'm using a plugin called Query Multiple Taxonomies and I can't seem to get pretty permalinks to work on those pages. The URL structure is: ...
0
votes
0answers
19 views

Custom meta-box for all custom post types

I want to create a custom meta-box for all custom post types: post, page, and every custom post type (portfolio, testimonials, FAQs, quotes, reviews...). But without writing them into the array: ...
0
votes
1answer
16 views

Conditionally custom post type url rewrite

I am going to try and sum up what I am trying to achieve. I have custom post type named "item" and there are also registered taxonomy named "item_category". I need now to rewrite url, to remove "item" ...
0
votes
1answer
17 views

Custom Taxonomy Query by Taxonomny not working

Not sure what's going on - here's a look at my code: $args = array( 'orderby' => 'title', 'show_posts' => '-1', 'posts_per_page' => '-1', 'cat' => $goalsCat->cat_ID, ...
0
votes
2answers
33 views

Wordpress: insert a custom post type instance as an option for a custom taxonomy

I'm trying to connect a custom post type to a taxonomy defined in an other custom post type. I'll show you an example. I have a custom post type COURSE, i use this post type to create a class for a ...
0
votes
0answers
40 views

Display Woocommerce product's taxonomy's description on archive page [closed]

On my Woocommerce site, its product's categories have a description that is automatically shown on the category's archive page, due to built in functions of the theme itself. Looking to add this ...
0
votes
1answer
13 views

How can I get 3 different taxonomy type terms in a div class element?

I have this situation where I need to filter specific post type posts by its taxonomies (there 3 different ones) and since I am using Isotope, I need them in my class element. I already made it work ...
0
votes
1answer
28 views

get_terms() returns an empty array

I've read all the posts about displaying terms of a custom taxonomy and it's still not working. Ok, so here's the code: <?php //part of template-offer.php $taxonomy = 'brand'; $term_args=array( ...
0
votes
1answer
16 views

List terms and order by second word

I have the following code in my sidebar listing the terms or a custom taxonomy, these are names, first Name and last name. Is it possible to list them alphabetically by last name rather than the first ...
0
votes
2answers
19 views

Looking for suggestions on creating simple database (Help!!)

I'm working on creating a basic database for a theatre and really need some suggestions as the best way to approach this. Each production from this theatre will have its own page. The page should ...
0
votes
0answers
20 views

Combining multiple query arguments into single query_var for permalinks

how Is it possible to combine multiple query arguments into a single query_var to be referenced in the permalink? For example, using the Posts 2 Posts plugin, it takes three query_vars to filter a ...
0
votes
1answer
21 views

How to get the page slug of the current archive page for a custom taxonomy

I have a custom post type and custom taxonomy. The taxonomy works like a category system. Users can add the custom posts to the categories. There is one page per each category, displaying the posts ...
0
votes
0answers
20 views

Fetch posts list from fist CPT taxonomy term and list under 2. CPT

I have two custom post types registered. Custom Post Type: PUBLIKATIONEN with the two custom taxonomies LISTEN and AUTOREN Custom Post Type: AUTOREN Both have archives. With: <?php echo ...
0
votes
2answers
38 views

custom post type archive template per custom taxonomy term

I want to list all posts with a corresponding template for a custom taxonomy term of a custom post type. To make it easier to understand: The custom post type is called PUBLICATIONS and has a custom ...
0
votes
0answers
12 views

How to limit the number of posts assigned to a custom taxonomy term

Out of curiosity, how would I create a custom taxonomy term that can only have one post assigned to it at a time? Say I want to create front page for my "articles" taxonomy. I usually create a term ...
3
votes
1answer
73 views

register_taxonomy with multiple object type and update_count_callback

The register_taxonomy accept array as the object type so I can link as many custom post types to a custom taxonomy. That is fine. The issue is, the default taxonomy count is always zero with the ...
0
votes
1answer
10 views

list custom taxonomy with count

I have a list of custom taxonomy and wish to add the number of posts in brackets, (9), after each listing. <?php $taxonomy = 'judges'; $tax_terms = get_terms($taxonomy); ?> <ul> <?php ...
0
votes
1answer
14 views

How do you search for a post by custom taxonomy?

I'm trying to search for the latest post that has a custom taxonomy attached to it. I've used the Advanced Custom Fields plugin to add a custom taxonomy called 'brand_post_link' which allows users to ...
-1
votes
1answer
32 views

display custom post type from register taxonomy

I've created a custom post type via this function: function custom_post_type() { $labels = array( 'name' => _x( 'advertising type', 'Post Type General Name', ...
0
votes
1answer
29 views

Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]

This has probably been answered before but I'm stumped so I'll ask anyway. I have a custom post type called products. I then have a custom taxonomy called product-category. I've set up a custom field ...
0
votes
1answer
21 views

If term and page have the same slug, how can I view the term archive?

I am using a custom taxonomy with the term slug 'nursery'. I'm also using a page with the slug 'nursery'. I can view the page fine, but trying to view the 'nursery' term archive page as fetched by ...
-2
votes
0answers
9 views

Is there a way to save woocommerce attributes categorically? [closed]

Good Day, I need help on how to save a product attribute-term under a product_category. Say, I have a "year" attribute-term. And categories A,B,C under A: 1998, 2000, 1997 under B: 1996, 1999, 2000 ...
0
votes
1answer
23 views

CSS to set a background image for a taxonomy term slug [closed]

In CSS, I would like to set a background image for a taxonomy term slug for a custom taxonomy. The idea is to select a taxonomy term "greencheck" and have a green checkmark image appear. For the ...
0
votes
0answers
13 views

Rewrite Rules with custom taxonomies not changing

I've been messing around with wordpress custom taxonomies recently in conjunction with advanced search queries and I'm trying to make search urls look prettier by using rewrite rules, these taxonomies ...
0
votes
1answer
35 views

Broken paths on taxonomies after changing permalink to post name

I have a custom taxonomy. I was able to access the list of items with term foo in taxonomy bar at mysite.dev/?bar=foo. I then changed my permalink options from the default to "post name". I can no ...
0
votes
1answer
21 views

Using custom taxonomy when registering a new custom post type

I'm creating my own custom post type and here is the code for this: add_action( 'init', 'create_gallery_post_type' ); function create_gallery_post_type() { register_post_type( 'gallery', array( ...
0
votes
1answer
13 views

Add file attachments/meta to a custom Taxonomy

I'd like to be able to upload a .pdf attachment to each Custom Post Type Taxonomy item. I've found some extensions that add meta fields to Taxonomies, but they don't support files. Is it possible to ...
0
votes
1answer
17 views

How to call a custom taxonomy term name inside a function?

With the following function, the content of another page is included into a page template, which is working fine: // add content of another page function show_post($path) { $post = ...
0
votes
1answer
59 views

Function not working on live server but every thing is fine on localhost

I am using a class to add featured images to the taxonomy terms , followed the tutorial on http://en.bainternet.info/wordpress-taxonomies-extra-fields-the-easy-way/ this is the code i used inside my ...
0
votes
1answer
28 views

Displaying a custom post types custom taxonomy value?

I've got a custom post type with multiple custom taxonomies + metaboxes. I've used multiple approaches from the codex and other on line resources but none seem to work. I basically want to display the ...
0
votes
0answers
29 views

“Tree view” for wp_dropdown_categories() markup

I'm using wp_dropdown_categories() to generate a select box of hierarchical categories. By default, the select box is just a huge list of indented categories: This works fine until the number of ...
0
votes
0answers
16 views

How to solve performance issue caused by custom post type overview with 20k+ custom taxonomy terms

For a custom post type I added a custom taxonomy which contains 20k+ terms. This is causing some serious performance issues for both the custom post type edit screen (which should be solved removing ...
1
vote
1answer
36 views

Custom post type templating problem

I have a custom post type named 'product', with taxonomies 'brand' and 'type'. I'd like to have Archive Page A: sidebar with all the 'brand' terms linking to their respective archive page list of ...
1
vote
0answers
33 views

How to use multiple archive templates for a taxonomy?

I have created a custom post type (product) with a taxonomy (brand). I need to have the basic archive pages (type A) and then custom ones (type B) to create a product comparison page which esentially ...
0
votes
0answers
22 views

How to add custom post type taxonomy select to template page?

i have a custom post type "location" that have custom taxonomy "continent" (Asia,America...) i also have a page template "Loacation map" that i want it to show only loacations from specific continent ...
0
votes
0answers
22 views

custom taxonomy don't return a value

I have initiated couple of custom taxonomies, using the following code function sources_init() { register_taxonomy('sources','post',array( 'hierarchical' => true, ...
-1
votes
2answers
22 views

How to display Custom taxonomy on custom post listing page [duplicate]

I want to show the custom taxonomy name on the listing of custom post type on my front end
0
votes
0answers
22 views

Trying to display breadcrumb of custom taxonomy & custom post type

My code below is to create a breadcrumb. I'm using a custom taxnomy & custom post type. Please can someone provide some tips to make my code work below? Thank-you. I have tried: function ...
0
votes
1answer
62 views

Custom archive page based on array of categories and tags

I'm looking to create custom archive page based on passed arrays which contains categories and tags, for an example: ...
1
vote
1answer
34 views

Correct classes for WordPress menu items

I have been trying to get the current menu item to my custom post types. I cannot get it to work, and when looking at my menu, I am wondering, that if everything is allright. Which are the correct ...
0
votes
2answers
51 views

WP_insert_term how to insert multiple values as taxonomny term?

I have this script (found online) to import the values of an input form field as a taxonomy term. I got it working, but now I'd like to import/save the values of multiple form fields. Now all it does ...
0
votes
1answer
26 views

Why cant I add a custom post type to a custom taxonomy?

I am trying to assign a custom taxonomy to a custom post type with wp_insert_post function. $args = array( 'post_type' => 'custom_post_type', 'post_title' => wp_strip_all_tags( ...
0
votes
1answer
35 views

Single page archive - get coresponding taxonomy and terms

For custom post type i have 12 taxonomies (12 months) and each of them with many terms (plant parts - roots, leaves, flowers etc.) On archive page i retrieve a data list with this foreach($months as ...
0
votes
0answers
20 views

custom search form not working on custom taxonomy template

I am using custom search from on taxonomy template like my custom taxonomy product_category and i have created template taxonomy-product_category.php and i have created a custom from on this file when ...
0
votes
0answers
13 views

Translate SQL query to wp_database with JOINS into wp_query

StackExchange members! It's so happened that I'm using straight SQL queries in my application. I'd like to rewrite it and use WP_Query, but, unfortunately, I have no idea how to translate, let's say, ...