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
1answer
509 views

Custom Taxonomy with tax_query

So I've created a custom taxonomy type with a plugin (CMS Press) and now I'm trying to get all of the posts with the taxonomy terms in that taxonomy. My get_posts looks like this: $args = Array( ...
0
votes
1answer
14 views

How to get this value inside RETURN

I'm doing something new & unexpected tonight with a lot of errors, and I have asked a lot of stupid questions tonight, so I promise this is the last one :) In last post, I received an answer that ...
0
votes
0answers
8 views

Query custom post type in custom taxonomy loop

I've got three products (called "Kits") and each kit contains several items. The "items" are a custom post type which are linked to each kit via a relationship field. Each item has a custom taxonomy ...
0
votes
1answer
11 views

How to list Custom Taxonomy

I have a WordPress taxonomy, and I was wondering if there's anyway to list the taxonomy like: <ul id="portfolioFilter"> <li class="filter" ...
0
votes
1answer
18 views

How to display class name in this shortcode post query

I need help with this as it's my first project of my new job & I'm stuck at this point. I'm retrieving custom post types portfolio using this code as a shortlist: extract( shortcode_atts( array( ...
0
votes
1answer
20 views

Get a list of categories ids

I'm working on a portfolio with filters based on custom post type. That filters must display only categories for the posts that are displayed in the portfolio, since user can specify them by id in the ...
0
votes
1answer
15 views

Smarter navigation plugin and custom taxonomies

I am trying to make work Smarter Navigation's get_referrer_category() with a custom taxonomy that I have created. The custom taxonomy I've included into functions.php is the following: add_action( ...
0
votes
1answer
17 views

Display the first tag assigned to a post

This is what I'm trying to achieve: Originally I was trying to include the first tag of a post above the post on the homepage, using the following: $tags_i = 0; $tags = get_the_tags(); if ($tags) { ...
0
votes
1answer
22 views

Get Terms from Custom Taxonomy and Current Post

I'm working with the WooCommerce plugin. I've got three products (called "Kits") and each kit contains several items. The "items" are a custom post type which are linked to each kit via a relationship ...
2
votes
2answers
841 views

get_query_var('paged') always returns empty

Putting this up after having hit a brick wall for possible solutions. Have a site with quite a few custom post types and associated custom taxonomies. To help make things easy, I'm using a unified ...
0
votes
2answers
608 views

Rename “Portfolio” slug?

I have a WordPress theme that I am working with called "Forte". Yes, it is a premium theme. I have reached out to the developer but apparently he doesn't really want to help in this situation. Well I ...
0
votes
2answers
210 views

Permalink for Custom Post Types

I am trying to get a custom permalink style for my custom post types... my current permalink for my post is /%postname%/ but for my custom post types, I am trying to get the custom taxonomy in the ...
11
votes
7answers
6k views

Remove taxonomy slug from a custom hierarchical taxonomy permalink

I created a 'forum' taxonomy, using these rules: register_taxonomy( 'forum', array('topic'), array( 'public' => true, 'name' => _a('Forums'), 'singular_name' => ...
0
votes
3answers
87 views
+100

Menu Multiple Taxonomies

I have a post_type "products" which has both "Category" and "Brand" taxonomies. Each product has exactly 1 Category, and exactly 1 Brand. I would like to display a menu which first lists the ...
1
vote
1answer
374 views

Change in custom taxonomy permalink cause 404 error for another custom taxonomy

I have created hierarchy based custom permalinks with help of this link. But now it is causing 404 error on another custom taxonomy used in site. Although I want custom permalinks on this taxonomy ...
0
votes
1answer
286 views

Top level parent taxonomy ID

At the top of a product archive page I am trying to display a list of product categories. The rule should be that the list always shows the direct children of the top level. There are several answers ...
0
votes
0answers
17 views

How to relate multiple CPTs via Custom Taxomonies?

I have 3 custom post types - Events, Sessions and Speakers. Events have multiple Sessions. Sessions have multiple speakers. Speakers can be at multiple everything. They all have their own ...
0
votes
1answer
433 views

Conditional two level dropdown filter for custom post type

I have set up a custom post type and taxonomy. The post type is called Local Services and the hierarchical taxonomy is called Regions. The Regions have child categories called Areas. I have set up a ...
0
votes
1answer
50 views

pre_get_posts Tax Query not working for custom author page

I am using the theme TwentyTwelve and modified the standard post query in the file author.php with the following code: function wpd_author_query( $query ) { //CODE to set $current_user_name here ...
0
votes
2answers
27 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 ...
0
votes
0answers
23 views

How to show a custom taxonomy using a custom template

I've been playing around the custom taxonomy and custom post types. I've been able to get the post type working fine, with my slug as I need. However, creating a taxonomy page (e.g. taxonomy-????) I ...
1
vote
1answer
238 views

How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?

I have a custom hierarchical taxonomy containing only two levels of items. First Level the title, second level items of the taxonomy. Is it possible to add a "meta box" to the posts editor of ...
1
vote
2answers
437 views

Custom Post Type Taxonomy Filters

Im really struggling to piece this functionality together, and hope someone can help or provide snippets to get me there. So I'm creating a section on a website where stories are published, I have ...
0
votes
1answer
19 views

Change taxonomy of posts

I am using Lamoon theme for my website. It has several custom taxonomies. I have a lot of posts in taxonomy "rooms" but I'm going to change theme to 'Avada'. So I'm worried about my "rooms" how this ...
2
votes
1answer
583 views

Ajax post filter by taxonomy

I want to make a filter width more than one tanonomy width ajax and jquery, The demo i want to code is: http://gycweb.org/resources/ I have tried to code with this demo: ...
0
votes
1answer
101 views

Problem with Custom Post Types, Taxonomy, permalink, Archive

I set up 2 custom post types: beats and tracks. And I set up the taxonomy 'tags' and 'style' for both custom post types. the permalinks for the custom post types are set in functions.php: ...
3
votes
1answer
68 views

Site Structure Regarding Custom Post Types and Taxonomies

I need assistance with site structure with regard to properly setting up my Custom Post Types and Taxonomies. I am developing a lifestyle site. It will not be a WP multi-site configuration. This ...
2
votes
1answer
346 views

Excluding a custom taxonomy term breaks wp_get_post_terms

I'm trying to exclude one custom taxonomy from an archive page, and then show the terms of the returned posts. When I run WP_Query to exclude the custom term, it returns the posts correctly, but no ...
0
votes
0answers
19 views

How to create network-wide taxonomy terms on multisite?

I am trying see if it's possible to create shared network-wide taxonomy terms. Specifically, I want to create a few custom taxonomies for Users (a network-wide resource) and I want them to all share ...
0
votes
0answers
36 views

Custom Taxonomy registered with multiple custom posts

I am using a custom taxonomy location with two custome post types (Place and Resorts) I have three issues here 1)Count shows sum of both CPT's on the taxonomy page How to show the counts separately ...
1
vote
2answers
71 views

Why won't my taxonomy query show up?

I'm attempting to display posts from a 'Uncategorized' category under a custom taxonomy called 'Reviews' but without much luck. I'm using get_template_part('loop','review') to call loop-review.php ...
0
votes
1answer
322 views

WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)

I'm trying to write a new "related posts" widget (for the single post view) for my custom post type, filtering by custom taxonomy terms that the related posts should have in common with the current ...
1
vote
1answer
342 views

Order terms by term_order

Context Post Type: Resources Taxonomy: Media Type, Term: Audio Taxonomy: Series The following code displays a unique list of the custom taxonomy "Series" I want to order the list by term_order, but ...
4
votes
3answers
208 views

Best pratice to make taxonomy terms translatable without changing slugs?

I have one custom taxonomy with countries and states. I'd like to make these terms translatable but I'm not sure what would be the best way to achieve this. First of all, I don't want the slugs to ...
1
vote
1answer
7 views

Custom taxonomy only shows 0 in autocomplete for terms and “Choose from the most used tags”

I have a custom post type (rezept that I added a custom taxonomy Allergiefrei to. I got this working so far. Adding terms to the custom taxonomy's box works, too, but autocomplete and 'Choose from the ...
1
vote
1answer
22 views

Custom Post Type doesn't show Draft and Trash Options

I have custom post type "Pdf"section.But there is no options like Draft and Trash..
0
votes
0answers
20 views

custom post type and taxonomy URL

I'm using following code for my custom post type function resources_custom() { $labels = array( 'name' => _x( 'Resources', 'post type general name' ), ...
0
votes
1answer
347 views

Display the Terms from a Custom Taxonomy Assigned to a Post(inside the loop) in Hierarchial Order

This link tells me how to display categories assigned to a post. How would I modify this code to display the terms from a custom taxonomy assigned to a post in hierarchical order?
0
votes
0answers
28 views

Can I change the slug of my archive page on a Custom post type?

I have a CPT with a slug that is the same of a page. This has been done on purpose as I hope I was able to control the slug of my archive page to be something like http://www.test.me/page ...
-1
votes
0answers
24 views

Custom Post Taxonomy template missing

In my custom post taxonomy, i created more shop categories and added to menu under "shopping". when i click the sub menu [Shop Category], it's going to 404. and the url like Which template file is ...
0
votes
1answer
830 views

Woocommerce Custom Template for Specific Product Category

I am building a store using the Woocommerce plugin. I need to set up a template for a specific category, let's call it 'awesome', so that it displays all products in a way that is different from the ...
0
votes
2answers
208 views

404 Error On Custom Taxonomy Pages 2, 3, etc

I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem. I have the following: Custom Post Type: Sermons Custom Taxonomy: Series My urls ...
0
votes
1answer
249 views

rewrite rules hierarchical

I want that my WordPress follow this rules: /productes/ a page with all products /productes/[category]/ a taxonomy-page with all products of the category /productes/[category]/[subcategory]/ a ...
0
votes
0answers
13 views

Custom Taxonomy rewrite url

How to redirect a url from example.com/taxonomy/taxvalue/?spost=holiday to example.com/index.php?post_type=holiday&taxnomy=taxvalue Code: function custom_post_rewrite_rules( $rules ) { ...
1
vote
2answers
42 views

How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?

This may be a duplicate of this question - Changing the priority of a custom taxonomy's metabox but I can't work out how to apply that answer. I'm unsure what my custom taxonomy div label would be ...
2
votes
1answer
62 views

WP_List_Table inside metabox not working on submit

I'm trying to display a WP_List_table inside a metabox. The metabox is for a custom taxonomy called 'service' which is registered to a custom post type called 'office'. The table columns contain input ...
0
votes
2answers
546 views

get value in custom field with taxonomy

i have custom field (my_cf) for Taxonomy/Term, how i can get and output value with custom field for taxonomy/term? try use: $variable = get_field('my_cf', 'basic'); and then echo $variable; where ...
1
vote
0answers
17 views

Custom Taxonomy not being saved on custom posttype

This is very unusual, and I can't seem to figure out why this is happening. I have registered a custom posttype and a taxonomy (for that posttype). The taxonomy widget gets displayed on the "edit ...
0
votes
1answer
349 views

Custom Post Type permalink shows wrong page: homepage/index.php

Hello I am working on a project where I need to have custom post types. Creating the post types and making them show up in my admin menu was a walk in the park using the following: add_action( ...
0
votes
2answers
322 views

Custom Post taxonomy template

Friends I need help. Am extending the Mayashop theme for a friend & I ran into a problem. Created a custom post type named watchdog, created a taxonomy for it called watchdog-brand ... now the ...