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

-2
votes
0answers
15 views

Would this structure be possible in wordpress?

A site with 4 different locations, for example: London Cambridge Manchester Briton Once the user click on any of them, a new menu will appear: Cars Tvs Trains Ships So if I click in first in ...
0
votes
0answers
2 views

Partial text search custom taxonomy

I am trying to do an autocomplete field that interrogates the database finding a custom taxonomy but can't seems to figure out how to achieve this. Would i need a custom query?
0
votes
0answers
7 views

How build search with filleting custom taxonomy and custom fields

I wanna explain about my search box, actually what i want to make. Ive a search input and few check boxes to filter the search result. i need to search like this : [Country1] AND ( [venue1] OR ...
0
votes
0answers
13 views

How to make my taxonomy URL work?

I register my taxonomy ( Writer ) with this code : function writer() { $labels = array( 'name' => 'writer', 'singular_name' => 'writer', ...
0
votes
1answer
20 views

Display Custom Taxonomy Terns ordered by meta_value

I got stuck with ordering custom taxonomy. I've created a hierarchical custom taxonomy called Brand and created some meta tags including one called position. Now I would like to display my terms ...
0
votes
0answers
22 views

Passing a variable to register_taxonomy()

I'm trying to create multiple taxonomies. As follows..... $taxonomies = $wpdb->get_results( "SELECT * FROM $table_name" ); foreach ($taxonomies as $taxonomy) { //stuff that defines the taxonomy ...
-3
votes
1answer
33 views

How would one concatenate a variable inside a url? [on hold]

How would one concatenate a variable inside a url? <a href="<?php echo esc_url( home_url( '/' ) ); ?>team-names";?><?php echo "/" .$term->slug; ?>" >
0
votes
1answer
29 views

Render custom taxonomy query as single template

Im developing a "catalogue" plugin using a custom post type and a custom taxonomy. What I want now is to display the custom taxonomy as a single page. That means I if the taxonomy term "Popular Items" ...
0
votes
0answers
19 views
+50

Sorting terms individually for each post

I have a custom taxonomy named author containing multiple terms. The default output order in the front end is alphabetically. But I like the authors to be ordered individually per post, e.g. First ...
0
votes
0answers
13 views

adding static page under term

How do I create a structure like this on wordpress http://sample-site.ph/archives/school/arts-and-sciences/gallery shool:taxonomy arts-and-sciences:term gallery: a page i want to add as a child of ...
0
votes
0answers
5 views

Showing “All posts” under custom top level

This is my first time making a custom Post and I noticed that if I add my custom posts on the main menu then they automatically get the "All" and "New" child objects but if I try to add my own child ...
0
votes
0answers
13 views

How can I automatically add a taxonomy to my navigation?

So I have a navigation of custom taxonomies that I have added through Appearance > Menus Navigation: HOME | NISSAN | HONDA | TOYOTA | MORE Now all of those are custom taxonomies of "Types" that ...
0
votes
0answers
17 views
+50

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
18 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
46 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
15 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
21 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
17 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
50 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
20 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
24 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
23 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
45 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
77 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
15 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
35 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
15 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
22 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
30 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
18 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 ...