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
3 views

Custom Post Types and Pre Populated Custom Taxonomies

I'm building a custom post type that relies on three custom taxonomies. I'm registering all the custom posts and tax... using the init action (this works and I can manage the new aspects) ... ...
0
votes
1answer
8 views

Double slash in the_terms URL

I recently moved a parent category and its children from the default categories taxonomy to a new custom taxonomy. The data moved over just fine and posts are properly associated with the company name ...
0
votes
0answers
15 views

Highlight specific menu item when custom post is page

I know that this question was asked many times, but I did not find a really good solution for my problem: I have a custom post type "event" with some categories like "lecture". For each category, I ...
0
votes
1answer
10 views

Display sub categories and their data of a taxonomy

I want to output the sub category details of a taxonomy $getTerms = get_terms($taxonomy, $args); print_r($getTerms); When i print the above out it returns the object. But theres no value difference ...
0
votes
0answers
14 views

Include attachments with a custom taxonomy in search

I need to include attachments in the search. So far, I have managed this by hooking into pre_get_posts and checking if it's on the search results page, I add 'attachment' to the post_type and ...
0
votes
1answer
15 views

How to show category images (from plugin) on a regular page (page-example.php)?

I am trying to use the Category Images Plugin to show images with my Custom Taxonomy (Region) categories/terms. Here is the code I have so far in a page-example.php that lists all the categories/terms ...
0
votes
0answers
8 views

Get all custom taxonomies for a post, it's values, and use values for each in HTML

I am building out a database template which will show data stored in a mix of custom fields and custom taxonomies. When finished, there will be a potential for 50 different custom taxonomies with ...
1
vote
0answers
19 views

Changing URLs for taxonomies and CPT

I have two taxonomies for my custom post type: location and price-range. location is hierarchical: city > region > suburb ... price-range isn't. When a user goes into a URL like ...
-2
votes
0answers
24 views

Would this structure be possible in wordpress? [on hold]

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
3 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
9 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
14 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
21 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
1answer
28 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
34 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
32 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
14 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
24 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
48 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
23 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
20 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
18 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
34 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
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
25 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
47 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
78 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
36 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 ...
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
14 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 = ...