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

1
vote
1answer
73 views

Custom Post Type and Custom Taxonomy Permalinks

I'm currently working with a client's Wordpress blog that has a permalink structure set in the admin settings as "/speaks/%postname%/". This is so that all actual blog posts (post_type=>posts) have ...
0
votes
1answer
22 views

How to customize custom taxonomy url?

I have a Custom Post type "Data" with a custom Taxonomy "data-category". Currently my site url when I visit a 'data-category' shows like this : www.mysite.com/data-category/home-loan Here Home-Loan ...
1
vote
1answer
38 views

Get terms from posts submitted within a certain time

I am running a query which pulls out the most popular taxonomy terms (named "cause") from a custom post type (named "reasons") and I am ordering them by most popular. However, I need to limit the ...
0
votes
1answer
18 views

Where to put a migration script to switch post information?

I just changed a crucial aspect of my theme, and posts tagged with a particular taxonomy called position are now handled by a custom meta field called cmb_position_name. Posts that have the taxonomy ...
0
votes
1answer
36 views

rewriting for custom taxonomy rewrite

I want to rewrite my custom taxonomy in form of http://mywebsite.com/cars/my-tax All examples i found makes use rewrites and use a new function to get the new permalink... problem is normally to get ...
1
vote
2answers
36 views

Deleting Custom Taxonomy Term only increments tag_ID

I'm running a function that hooks into wp_trash_post and that should delete a custom taxonomy term that is the match of a custom post. The term description equals the ID of the custom post. ...
0
votes
0answers
113 views

taxonomy term names in custom post type permalink structure

I know there has been a lot of times this question has been asked here before, but no matter what method I have tried from here, nothing seems to be working for me. I guess I am sure I am writing in ...
0
votes
1answer
38 views

Pages, Custom Posts & Custom Taxonomy defining slug structure

I'm struggling to set up the structure of my wordpress site correctly so that the slugs, work correctly. The page & custom post setup works fine and is as follows: Archive for fruits (page): - ...
0
votes
3answers
33 views

How do I add a Custom Post Type that looks and behaves exactly the same as Posts?

I'd like to add a custom post type "News" that has it's own Tags and Categories and I'd like to add the appropriate code to my functions.php file. I've tried plugins but I don't get tags and ...
0
votes
0answers
22 views

Use custom posttype archive template for its related taxonomy term page?

I have a custom posttype "Mypost" which has taxonomies tax1, tax2. I want to use the "Mypost" archive template for the tax1 and tax2's term page. How can I do this?
0
votes
1answer
38 views

List Taxonomy terms along with their posts

I am trying to make a list of all my posts in a custom post type by the taxonomy term e.g. Term name 1 - post 1 - post 2 - post 3 Term name 2 - post 1 - post 2 - post 3 Term name 3 - post 1 ...
0
votes
1answer
77 views

Display registerd taxonomy in admin dashboard

I've installed a theme and I am trying to follow its logic and hierarchy in order to register and display a new taxonomy .so I have added a new post type called product (which displays correctly in ...
0
votes
2answers
73 views

Custom Taxonomy Template Error: Catchable fatal error: Object of class WP_Error could not be converted to string

Been trying to chase this error down: "Catchable fatal error: Object of class WP_Error could not be converted to string" Here's the page: I have a custom post type and taxonomy: taxonomy: ...
0
votes
1answer
56 views

Displaying custom post types with taxonomy

I want to build a page with the members of a team. Because I have too many members, I want to group them by department. Therefore, I created a custom post type TEAM with taxonomy by department I use ...
0
votes
2answers
89 views

Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working

Maybe there's a better way to do this. Let me explain what I have right now: I have a custom post type (Products), and a custom taxonomy (Manufacturers). What I have outputting so far: Manufacturer ...
0
votes
1answer
17 views

Show taxonomies from specific CPT

I want to show a simple list of taxonomies associated with my CPT. The taxonomies are "skills". I have the following code: <h4>Skills</h4> <?php $taxonomy = ...
0
votes
0answers
27 views

Issue with recent custom post type permalink

I'm using the following code in my footer to get the latest posts from specific custom post type. <?php //WordPress loop for custom post type with taxonomy $my_query = new ...
0
votes
1answer
35 views

Querying Posts by Taxonomy From Alternate Network Site

I have 5 Network sites in my WordPress multisite setup. One of which is the "primary website", which the rest of the other network sites will be retrieving data from. I am currently using ...
0
votes
1answer
57 views

W3 total cache - white screen of death when trying to show certain taxonomies [closed]

I'm using plugin W3 Total cache and it worked excellent -until I added a custom "detail page" of a custom taxonomy (with a file called taxonomy-categorycourses.php) where the categorycourses is the ...
0
votes
1answer
101 views

I need to exclude from a query a category and a few custom taxonomies

I need to exclude from a query a category and a few custom taxonomies. Is this code right? This query don't exclude any post, the one with the category, or the custom taxonomy. What am I doing wrong? ...
0
votes
1answer
68 views

Query Posts with Custom Taxonomy from a Custom Post Type

I've been bashing my head against my desk over this for the past day or so...I have created a custom post type called 'advertisement' and a custom taxonomy within that post type called 'group'. I've ...
0
votes
1answer
104 views

Custom/separate categories for custom post type

How can I achieve a separate "data space" for the categories of my custom post type? I don't want the general post categories to appear in my custom post type and vice versa. The register_taxonomy ...
1
vote
1answer
57 views

I am trying to hide a custom post type category to logged in users with Pre_Get_Posts

I have a custom post type in my theme called portfolio. It's categories are called project-categories. I am trying to exclude a project category for logged in users. I cannot get this to work at all. ...
0
votes
2answers
37 views

Use the same taxonomy twice on the same post type?

Hello there basically I am quite good with WP however it is not easy for me to find a solution to this problem: There is an taxonomy which will consist of hundreds and mayby thousands of items. ...
0
votes
0answers
16 views

How to use custom taxonomy checkboxes to filter a taxonomy archive?

So my site features two custom taxonomies: Topics (Economics, politics, literature, etc. ) Post Type (Reviews, Analysis, Essays, etc. ) On the homepage I display a menu with topics, and once on ...
0
votes
1answer
24 views

Exclude Custom Taxonomies

I'm trying to display recent posts from regular posts section and custom post types, excluding one custom taxonomy term from each custom post type. But the recent posts section doesn't show anything. ...
0
votes
2answers
34 views

Get the taxonomy of the post

How do I simply grab the taxonomy of a post using the post id? I have tried using the_terms and such but everything seems to require you know the taxonomy ahead of time.
0
votes
1answer
91 views

get_the_terms return only last term

In my custom post type (portfolio_pt) I have some hierarchical category structure something like that: ParentCat |-child |-someItem ParentCat2 |-cild ... When I try to get list of all terms by ...
0
votes
1answer
31 views

Get object for a few selected taxonomies

I have some custom taxonomies that I would like to use as an object in a foreach loop. I know these functions which returns the object for either all taxonomies: global $wp_taxonomies; or the ...
0
votes
0answers
76 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
28 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
1answer
38 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
66 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
36 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
73 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 ...
0
votes
1answer
56 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
48 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
0answers
21 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
2answers
200 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
26 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
119 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
1answer
31 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 ...
0
votes
0answers
45 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 ...
1
vote
3answers
191 views

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
74 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..
1
vote
2answers
97 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
0answers
32 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
0answers
38 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 ...
0
votes
0answers
15 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 ) { ...
0
votes
0answers
39 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 ...