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

Create Admin Only Taxonomies?

Is there a way to create admin-only taxonomies in wordpress? I have some things I'd like to tag with private, admin-only terms (for various reasons.) Is there a way to do this? EDIT: Use case: I don'...
1
vote
2answers
48 views

How can i skip same post from taxonomy term?

I'm trying to retrieve the posts of specific taxonomy categories. I have two taxonomy categories. Category One Category Two In these two have some different and same posts. So when i retrieve the ...
0
votes
0answers
31 views

Complex sorting of custom-post-types

Custom post: people, custom taxonomy: department, each department has (optionally) a custom field (boolean): team leader Desired output; Heading: Department A Team Leader Department A People in ...
1
vote
1answer
114 views

Why get_posts() not returning only selected category posts from Custom Post Type?

I use widget plugin Getting the random post & URL via ajax. Thanks fischi for help to rewrite functions. Problem is that function returns all posts from CPT, so category select doesn't work. ...
0
votes
0answers
21 views

taxonomy terms are not retrieving

My custom post is "employee" Its taxonomy is "department" I made a widget for showing taxonomy terms. but it is not working. What did I miss? class Employee extends WP_Widget { function ...
0
votes
1answer
162 views

Hide the term description on the term edit page, for a given taxonomy

I have written some long descriptions for a custom category taxonomy. I don't want to remove them, I just want to hide it from the management page: /wp-admin/term.php?taxonomy=custom_category I ...
0
votes
0answers
48 views

List of CPT posts listed under associated custom taxonomy terms only displays 10 posts per term - how to change/remove limit?

I have some code which displays a list of posts based associated terms like this: Term 1 Post 1 Post 2 Post 3 Term 2 Post 4 Post 5 Post 6 And so on. And it does the job to an extent. A few of ...
0
votes
0answers
24 views

Override “Parent” input for custom taxonomy

I have a custom category taxonomy. I am going to have a massive amount of categories, by 90% of them will be child categories. Currently the "Parent" input will display every parent and child category....
0
votes
0answers
55 views

Filter Dashboard of Custom Post Type by Custom Field

I have created a new Custom Post Type and added a new Custom Field to the Dashboard Table: add_filter('manage_edit-my_custom_post_type_columns' 'addNewMyCustomPostTypeColumns'); function ...
1
vote
1answer
73 views

Show all taxonomy's terms' posts having another taxonomy's term in common

I am building a website which displays web radio stations. I have created a custom post type called "stations" and 2 taxonomies called "genres" and "locations". In my page I display all genres grouped ...
0
votes
0answers
31 views

automatically add custom taxonomy items into menu

I wish custom taxonomy items to appear in menu automatically. Currently I have custom post type with custom taxonomy. function ales_create_post_types() { register_post_type( 'ales_product', ...
3
votes
1answer
160 views

Sorting a list of posts displayed under a list of associated terms (which should be sorted without initial articles)

I have series of sorting issues on a page that I'm trying to figure out but so far to no avail. Sorting a list of CPT posts which are listed under associated custom taxonomy terms I found this piece ...
0
votes
0answers
73 views

Same slug for custom post type archive and custom taxonomy archive?

"Recipes" is a custom post type and "breakfast" is a term of the custom taxonomy "recipe-category". I want to achieve this: www.mysite.com/recipes/my-tasty-recipe = a single post (recipe) www....
1
vote
0answers
53 views

How to display an other custom post type in a different custom post type's archive?

Background: I need to display all posts of a custom post type called "recipes", that have a specific taxonomy "fish", right under the permalink "www.mysite.com/recipes/fish". What I have done: I ...
1
vote
1answer
33 views

Best method to make posts searchable, sortable and filterable - custom field, tag or category?

I'm wanting to create/modify either the existing post type, or create a new post type to be searchable, sortable and filterable by the following fields: Country from: Country to: Activity: ...
1
vote
1answer
51 views

First custom field value (out of several) displayed twice after query

I have the following piece of code, which is based on the solution to this question: <?php $game_titles = get_terms('game'); foreach($game_titles as $game_title) { wp_reset_query()...
1
vote
0answers
36 views

Show custom post type inside a custom post type

I am kind'a new to wordpress and i need some help. I am building a website that contains articles. in each article page i want to show the writer details(image name and short description). I have ...
1
vote
1answer
64 views

Custom post with more than one custom taxonomy

The the code below pulls the 'plan type' taxonomy from the custom post type 'floorplan' and displays the posts accordingly, that works great. The problem I'm having is that it works only when each ...
1
vote
1answer
90 views

How to get custom posts sub category link

I'm trying to echo custom posts sub category link as a view more option.For the last week, i am trying to do that, but i just can't find the right way. I've tried, category links, terms, with args, id....
1
vote
0answers
34 views

Custom while loop for hierarchical display of a taxonomy

I'm trying to build an automated mega menu that loops through all product-category terms and displays them in a hierarchical underscored list, as well as including post in each term. For example, let'...
1
vote
2answers
26 views

Set Custom Taxonomy to Entire Site Programatically

I want to create and set a custom taxonomy site-wide based on the users location so that I can call taxonomy_exists( $country ) to determine if a user is located in a specific country. I've installed ...
4
votes
1answer
38 views

Custom Taxonomy's Label to change the text appearing in Appearance > Menu

I have three custom post types, each has its own taxonomy like product_cat, event_cat, media_cat. I labeled all of them with the word "Category" like: register_taxonomy("product_cat", "product", ...
1
vote
2answers
52 views

How to handle “the_terms” inside loop

I have been searching google but I am really confused. I am trying to display the terms of the taxonomy assigned to the post. I am using the_terms($post->ID, 'locations');. The custom taxonomy is ...
1
vote
0answers
26 views

Render P2P metabox per taxonomy term

I would like to display a Posts to Posts connection registration metabox for each term in a custom taxonomy. The post connection candidates will be split across the metaboxes depending on their term. ...
3
votes
1answer
41 views

Display child taxonomy until the last child

I want to show child categories list on parent taxonomy which I almost obtained using wp_list_categories The problem is I want to show my custom post type of the last child category when I reach last ...
1
vote
0answers
38 views

Widget Logic use with Custom Taxonomy

I am using Widget Logic and attempting to use the new WPAdverts plugin to display classified ads. They use a custom taxonomy of taxonomy=advert_category&post_type=advert. I'm trying to display a ...
1
vote
0answers
20 views

Terms showing up in object cache on unrelated pages

This is perplexing. I'm running Debug Bar on my dev site. I noticed today that the object cache reporting shows memory taken up by terms I've created using register_taxonomy when not on pages ...
1
vote
1answer
53 views

Different single page templates for taxonomies

In my WordPress theme I created the custom post type articles. I also created two taxonomies called article & news. How can I display each taxonomy in its own single template? For now it only ...
2
votes
0answers
27 views

Custom Taxonomy and tax_query Issue?

I am working on Plugin development and my plugin name is plugindev.I have a custom post type called team.I have a custom taxonomy Team_Category which is being registered by this code /****************...
1
vote
2answers
66 views

Remove base slug in CPT & CT, use CT in permalink

I've come quite far, but can't manage to get this to work. I'd like to remove the base slug from my Custom Post Type review and my Custom Taxonomy brand. The final result should be a URL like this: ...
0
votes
0answers
25 views

Query Custom Post Type that doesn't have a specific Custom Taxonomy [duplicate]

I have a CPT 'catalog' and a custom taxonomy 'catalog_category' attached to it. I need to query for all 'catalog' items, that don't have any values of 'catalog_category' selected. These arguments ...
4
votes
2answers
93 views

Get URL for specific post type and current tag

I have a number of custom post types as well as a custom taxonomy. I created an archive page for the taxonomy which lists each connected post, so all good there. What I would like to achieve is the ...
0
votes
0answers
14 views

Custom Taxonomy not Working

i registered a custom post type called Tutorial & custom taxonomy to show the archives page but not working // Register Custom Taxonomy function tutorial_category() { $labels = array( '...
0
votes
0answers
35 views

Custom query for tag and custom tag from 2 post type

I have custom post type called items and added custom taxonomies type and sub-type. I like to query posts from both post and items post type that has art as either Tags or Sub type. Below is what ...
1
vote
0answers
26 views

How to show custom taxonomy in the permalink?

I used the Portfolio Post Type Plugin to create custom tax and post type. I would like to show the custom taxonomy on the portfolio projects. portfolio/customtaxonomy/project while now is ...
1
vote
0answers
22 views

Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)

As title reads, I am trying to list specific custom tax's terms in a custom post type archive's page. My setup: Custom post type: 'podcast' Custom Taxonomy: 'showname' -> Custom Field for above ...
0
votes
0answers
25 views

Getting a value of a post taxonomy object

The following returns the list of names of all taxonomies from my post_type: $date = get_object_taxonomies( "pa_first-registration-date" ); var_dump($date); Within this array I have the value: ...
1
vote
0answers
20 views

Search Tool only refreshes Page without showing results

I have a search tool that allows you to search plants based on multiple different taxonomies (Color, soil type, type, ect.) Each plant is set up as a post using ACF. You can search for plants based on ...
0
votes
1answer
43 views

Insert terms for custom taxonomy on plugin activation, or each page load (init hook)

Consider a plugin which adds a custom Taxonomy and then fills the taxonomy with a large term hierarchy (tens of hierarchical terms, may become hundreds in specific installations). I understand that ...
0
votes
0answers
24 views

Create column in custom post table based on custom taxonomy

I am trying to add a column to the custom post list based on custom taxonomy. I have a custom post type called product. I have a custom taxonomy called cheese and within that taxonomy I have terms ...
0
votes
1answer
35 views

Why is this custom taxonomy showing in the database?

I have created a plugin that add geographic data to Wordpress. According to this answer the taxonomy data should not be stored in the database, however it seems to be stored: mysql> select * from ...
0
votes
0answers
27 views

Custom Post Type (CPT) list/archive/category setup help

I've added a CPT: "projects". I'd like to be able to land on /projects and have a list of my categories. When clicking on a category it would bring you to /projects/category-name. That page would ...
1
vote
0answers
32 views

Search form not working with custom query?

My search query doesn't seem to work, the query in my url is all correct but the content just refreshes without finding the posts with the search term.. I got a custom search query and a function to ...
1
vote
1answer
30 views

Get posts by name and taxonomy term

How do I get all posts that has a taxonomy term and a specific name/slug? I have tried with the following arguments but without getting the wanted result. What am I missing, how can I combine the ...
1
vote
0answers
30 views

Wordpress thinks my custom taxonomy pages are search pages #seo

I have set up a custom taxonomy for regular posts called guide. I have a template file called taxonomy-guide.php which lists out posts with a guide taxonomy. So my URL structure appears like this: ...
1
vote
0answers
63 views

Add Taxonomy Subcategory To Permalink

I am using a custom post type (job_listing) and custom taxnomy (job_listing_category) via the Job Manager plugin. I came across a guide in the plugin's documentation, to "add the Job’s category name ...
1
vote
2answers
25 views

where is the 4th taxonomy terms? taxonomy terms is disaapearing in the loop

I am listing custom taxonomy names. The list is displaying and the table structure is: <table> <tr> <td>Name 1</td> <td>Name 2</td> &...
1
vote
1answer
123 views

I used the Tax-meta-class by bainternet but i still can't get it to display any of the results.

here's my code: $config = array( 'id' => 'tax_meta_box', // meta box id, unique per meta box 'title' => 'Tax Meta Box', // meta box title 'pages' => array('...
1
vote
0answers
15 views

Get the taxonomy of a post hierarchically

I would like to get all the taxonomy of one post (in a loop), hierarchically. Example I have those taxonomies, and the ID of the tax in bracket. Tax1(1) -Tax2(3) --Tax3(2) I would like to gather ...
0
votes
1answer
37 views

Best way to use Category & Custom Fields?

I have a website called http://overmvp.com. On this site, there are multiple "Heroes". Each hero has been manually added to the database in a custom table. With this, I need to create a guide. So for ...