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

Automatically add a custom taxonomy (category) to a published post based on keyword in post title

As the question states: I would like to Automatically add a custom taxonomy (category) to a any post published or not, based on keyword in post title. Or add any post published or not to a specific ...
0
votes
1answer
14 views

Templates files for custom post type with custom tags

There is a task: Create a new post type (video) with its own post tags and tag page - separate from normal post. What I've done: // Create a new post type register_post_type('video', ...
0
votes
0answers
23 views

How to make multiple taxonomies hierarchical?

I have 4 custom taxonomies - Board, Standard, Subject, Chapter for my edu blog. I want to make one taxonomy under the other like Board > Standard > Subject > Chapter for listing. I have already been ...
0
votes
1answer
36 views

Custom post type based on existing one

Im using a theme that comes with a portfolio post type and portfolio categories taxonomy. My problem is that I want my site to have 3 portfolio sections, each with its own category list. Can I ...
0
votes
0answers
29 views

Displaying Custom Taxonomies that match other posts taxonomy

Here is my setup....I have a custom post type that has 2 custom taxonomies (About Me & Likes). In my page templates I want to show related posts that have tags in the "About Me" section that match ...
0
votes
2answers
60 views

Template filter for custom taxonomy terms

I want to replace custom taxonomy term template with my custom template. Like using add_filter('single_template','customFun'); replaces single custom post type template. I have a custom taxonomy e.g ...
1
vote
1answer
13 views

Randomly Assign an Image's Alt Text Based on Data From Post

I would like randomly assign an image an alt text based on taxonomy entered by the user on a post that the image is attached if there is no alt text entered. For example, on a post that has an image, ...
1
vote
1answer
51 views

Custom taxonomy on users with UI

WP lets us register_taxonomy() with users as the object type, thus creating taxonomies mapped to user IDs rather than post IDs. https://codex.wordpress.org/Function_Reference/register_taxonomy ...
0
votes
0answers
35 views

Create slug for Custom Post Type Under two Parent Page with WPML

I would like this structure, WPML plugin with subdirectories, event default one. Desire structure: /en/2016-xxxx-xxx/ -> Page with Custom Template /en/2016-xxxx-xxx/term1/ -> Page with Custom ...
0
votes
1answer
29 views

Create a a form for custom taxonomy terms

Currently i am displaying a list of my custom taxonomy (contenttags). These are displayed in a list using the code below, which then displays the posts under that taxonomy. <?php $taxonomy = ...
0
votes
0answers
8 views

Adding hook when post is submitted [duplicate]

i made a custom taxonomy named project and i wanted to add a validation during the submission of post. I want to check if the post has selected any terms under the project taxonomy. what can i do to ...
0
votes
1answer
55 views

Pods pagination erases my sub menu

I've build a taxonomy that holds the categories of a custom post type. This is going to be used to create a sub-menu called categories that is a filter to generate all the custom post types that have ...
0
votes
1answer
38 views

Get user created Woocommerce attributes ( taxonomies ) [closed]

On the admin side generating metabox data. function prod_a( $value ){ global $post; global $product; // This === null. Thus the query bellow. $args = array( 'post_type' ...
0
votes
0answers
25 views

Increase category/term description lenght

I'm developing a site, where the best place to store information is category description or is better to say custom taxonomy term description. Good to store, good in use, but there are few terms which ...
0
votes
1answer
36 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 ...
1
vote
2answers
39 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
29 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
86 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
115 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
46 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 ...
0
votes
0answers
46 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
70 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
28 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
157 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
43 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) ...
1
vote
0answers
50 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
32 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
44 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) { ...
1
vote
0answers
33 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
56 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
77 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, ...
1
vote
0answers
30 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, ...
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 ...
3
votes
0answers
30 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
46 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
23 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
35 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
34 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
46 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
25 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
60 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
85 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
31 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
25 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
19 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 ...