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

Adding Custom Taxonomy to WordPress default Post type

I am trying to add custom taxonomy (tags) to WordPress default post type. because I wanna use that taxonomy for custom post type as well. // Register Custom Taxonomy function tag_synchro() { $labels ...
0
votes
1answer
7 views

How to retrieve the permalink for a specific (custom) term?

I would like to display the list of categories related to particular post? <?php while ( $faktory_panes_query->have_posts() ) : $faktory_panes_query->the_post(); $post_id = ...
0
votes
2answers
22 views

Custom Post hierarchical to custom taxonomy

I have created a custom post type and a custom taxonomy. The issue is that I can not make the custom posts hierarchical with the categories it is in. I have the following code, function ...
0
votes
1answer
19 views

Listing child terms of parent term

I'm using the following code to generate a list of only the child terms within my taxonomy. What I'd also like to do is display a list of the child terms for each parent category on a ...
2
votes
3answers
32 views

Creating a non-removable taxonomy term

Is there a way, without modifying the core, to create a term for a custom taxonomy programmatically that is non deletable? "Uncategorized" is an example, but in my case, it does not have to be the ...
0
votes
1answer
33 views

Values inside a custom field to determine which category posts to display

I am facing a little problem whilst trying to display posts, from certain categories, on the front end. I've created a custom field whose key is 'related_categories' and I've different categories with ...
0
votes
1answer
25 views

“show option all” on list categories doesn't display taxonomy

I have a wp_list_categories list set to display my custom taxonomy. Everything works fine, and now I want to add a show_option_all link. However, when the link is clicked it displays all default ...
0
votes
0answers
24 views

Display custom post term or taxonomy

I have a custom post type called 'rent', inside that custom post type I've assigned some taxonomies like building1, building2 etc, inside that taxonomies I have some terms. Let's say I have a custom ...
0
votes
0answers
18 views

Get all the terms and pass them as values for a shortcode parameter?

I'm using a WP theme which has the food_menu custom post type set up and the food_menu_categories* as its taxonomy. I'm not a developer, so I apologize if I use wrong terms regarding php/wp/ ...
-1
votes
0answers
14 views

Can't find syntax error while trying out custom taxonomy pages [on hold]

I'm learning Wordpress, and I've just made a custom taxonomy (industry) and want to search for jobs that have this industry as a tag. (I've made a separate table called "job" in the database). The ...
0
votes
1answer
16 views

Is there a way to make child posts inherit parent post terms?

I have a few custom posts that go from Parent to great grand children. I assign the parent post a term from a custom taxonomy that I would like for all of the child posts to inherit. Is there a way to ...
0
votes
0answers
13 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
0
votes
0answers
10 views

Sorting a list of users by a user taxonomy with Pods

I’m trying to use user taxonomies to sort my userbase into categories and then show a list of taxonomies in the sidebar that on click expands to show the users within each taxonomy. I’m struggling a ...
0
votes
0answers
19 views

Create hierarchical menu for custom taxonomy meta field

I've created a custom fields for a custom taxonomy. All works fine so far, I can save, edit and display these fields. Now I want to display these fields in the admin menu as a hierarchical menu like ...
0
votes
0answers
23 views

URL/Permalink customization for Taxonomy/Term archive & post

I have a CPT called "Provider", taxonomy called "State" and a term called "Alabama". Is it possible to change the following URL structure from: 1. http://localhost/state/alabama (to view all the ...
0
votes
0answers
12 views

Category and tags goes 404

I made a custom theme for a website and I'm having some trouble with the category and tag pages, since they redirect to pages with the same slug or to 404 (when there is no pages). On my website I ...
0
votes
1answer
29 views

Breaking Bootstrap Grid at Post Count with Tax Terms

I'm trying to get my custom tax term grid to break (insert a clearfix) after my 4th column. Below is my code. I've seen and done this before using a technique similar to what's demonstrated at this ...
0
votes
1answer
22 views

Exclude Taxonomy Terms from Loop Via Back End?

I'm wondering if you can help me work through an issue or provide alt ideas. I have an archive displaying a list of custom tax terms in a grid view. My client needs to be able to turn on/off the ...
0
votes
1answer
18 views

Custom Taxonomy Navigation, with current menu items for children?

Is it possible to have a custom taxonomy navigation, with added active/current-menu classes if the post your on is within that category/custom tax? e.g you have a custom taxonomy called... Weather. ...
1
vote
1answer
14 views

display taxonomy slug from term ID

I'm trying to display the taxonomy slug from the term ID, thus my current code is like so: <?php $catinfo = get_category(array_pop(get_sub_field('sector_selector'))); ?> <?php print ...
0
votes
0answers
14 views

Attaching meta box to specific category/taxonomy in custom post type

I have this case here and can't figure out how to do it. I have a custom post type with taxonomies and a meta boxes to that specific post type. The idea is some metaboxes to appear only when ...
0
votes
1answer
23 views

Check in which custom taxonomy belongs and change the style

I want to change the css style of a single.php which belongs to a custom taxonomy, based on the category. I achieved to do it in taxonomy.php for some of the categories but i can't make it to work on ...
0
votes
1answer
56 views

Custom post types category

I have created a theme with a custom post type called 'project' and there is a problem. I want to show 5 different custom post type categories on a page in different portions, like posts to show on ...
-1
votes
0answers
10 views

How to add a user dashboard page?

I'm developing a Wordpress theme for the first time and I don't know how to create a custom user dashboard page, such that when a user logs in via a custom login form, he/she is not directed to ...
0
votes
0answers
9 views

Posts only displaying on tax archive of first selected tax

So I have a c.taxonomy 'Types' under which are 'Type-Term 1' and 'Type-Term 2'. If 'Post A' is tagged as "'Type-Term 1', 'Type-Term 2'" it will only show on the 'Type 2' term archive. How can I ...
0
votes
1answer
18 views

How to add images to taxonomies?

Q: Is it possible to add images to all of my taxonomies (default and custom ones)? Note: I do not want to use any plugins (not my favourite solution for design related matters). Usage: I want to ...
1
vote
0answers
44 views

Use custom walker to add taxonomy terms to main nav menu

I created a Custom Post Type: Product and a Taxonomy assigned to it: Products So under that Taxonomy I can add different types of products (terms if i'm not mistaken). When adding new products I get ...
0
votes
0answers
15 views

Custom Taxonomy Children in Dropdown

Someone publish this code. It works perfect. The issue is that no link when I select a sub-category. Also would be good when I'm in the taxonomy-page cat.php watching a child category. The drop down ...
0
votes
1answer
24 views

Permalink Rewrite to include Custom Taxonomy Term

I've created a custom taxonomy for posts using register_taxonomy( 'discipline', array('post'), /* if you change the name of register_post_type( 'custom_type', then you have to change this ...
0
votes
0answers
13 views

Template for Taxonomy and all its Terms

Hy! I've searched high and low, up and down, left and right to find an answer. I've tried all that I have found, even the ones that are suggest for the title I wrote. I am working on a theme under a ...
0
votes
0answers
7 views

Search taxonomies while creating a post inside metabox

I have a question how to add a "search" buttom to your metabox with taxonomies. Currently I have got around 200 taxonomies and it is really a pain to check the taxonomies. Is there a way so user can ...
0
votes
1answer
26 views

get_terms - only top level

I am trying to get only top level term: $cat_args = array( 'parent ' => 0, 'number' => 10, 'hide_empty' => false, ); $categories = get_terms( ...
0
votes
1answer
21 views

How to add custom taxonomy terms to posts in bulk

I have a taxonomy called Teams. Now I want to assign different teams to posts based on their tags. For example, all posts with tag "LA Lakers" should be assigned the taxonomy term "LA Lakers"
0
votes
0answers
37 views

Display WordPress SEO title and description in Custom Taxonomy archive template [closed]

The WordPress SEO by Yoast plugin allows users to add SEO titles and meta descriptions to taxonomy term archive pages. These are then used in the head of the document on custom taxonomy pages. I´m ...
0
votes
1answer
15 views

List of users inside custom taxonomy

So I'm trying to get a list of terms inside a taxonomy that is related to users. Inside each term (think a sub list) should be a list of the users for that term. Here is the code I've been working ...
0
votes
0answers
16 views

Displaying four post types sharing one taxonomy

I was hoping somebody could help me. I've created a custom taxonomy 'members' that is shared by four post types - posts, pages, resources, and news. I've then added five terms using this 'members' ...
0
votes
2answers
23 views

Custom post type post taxonomies

I created simple custom post type with few taxonomies. I <?php $query_params = getQueryParams(); $query_params['post_type'] = 'client'; if(isset($query_params['search'])){ ...
-1
votes
0answers
15 views

Add the Category Slug to a class in a link array [duplicate]

I am using the Microkids Related Posts Plugin and I want to add the Category Slug into a class in the link. This is so that I can use the Category Slug as a unique global identifier which I can target ...
0
votes
1answer
30 views

How to use wp_terms_checklist() on front end

Getting a Fatal Error using wp_terms_checklist() in one of my advanced search form in Front End. Fatal error: Call to undefined function wp_terms_checklist() With search I got that it's creating ...
2
votes
1answer
12 views

How to get_queried_object on multiple objects?

My Setup I have a custom post type "zap_apartments" with 2 custom taxonomies "zap_audience" & "zap_cities". I wrote some RewriteRules to access all "zap_apartments" for a "zap_audience" + ...
0
votes
0answers
15 views

Custom permalinks with custom taxonomy children show 404 error

I'm having the following problem. I've made a custom post type which is called Products. Products has a slug of "products". I've also created two custom taxonomies. One is Product Category (which acts ...
0
votes
0answers
54 views

Search inside a custom taxonomy for multiple words doesn't return anything

My goal is to perform a search inside a custom taxonomy field. The page is an archive including a lot of books and magazines, and they have to be searched through, let's say, 'Authors','Title' and ...
0
votes
2answers
23 views

Custom taxonomy template loop

I know that this question is asked numerous but i din't find an answer that suits to me. Well i'm made some custom post types and some custom taxonomies. I have the custom post type Products and ...
0
votes
0answers
50 views

Custom Permalinks for CPT causing 404 errors for 'normal' single post pages

I'm having a problem with the permalink structure of a Custom Post Type which is conflicting against the normal single posts (in the 'posts' post type which comes as standard with WordPress). Heres ...
0
votes
1answer
10 views

Custom Taxonomy List, Selection floats to top

I have a custom post type called Slide set up: register_post_type('slide', [ 'labels' => [ 'name' => __('Slide'), 'singular_name' => __('Slide'), ], 'public' ...
-1
votes
1answer
26 views

Custom post type - two taxonomies

I would like to have a page dedicated to gathering plants in nature. So lets say that in march and april it is possible to pick nettle leaves, while in september and october its root should be gather. ...
1
vote
1answer
15 views

Modify main loop in taxonomy archive page

Is there a way that I can modify the main loop in a single taxonomy template, but leave it untouched in every other template? In this case, I have a custom post type called "Events" which in turn has ...
0
votes
1answer
35 views

Is saving multiple options or saving multiple items in one option better?

I have added multiple fields to a custom taxonomy. I followed Pippin's tutorial. This method creates a single option per taxonomy item. The multiple fields are saved in taxonomy_id. I was not sure ...
0
votes
1answer
57 views

Exclude Custom Post Type from shared Custom Taxonomy

I have a few custom post types and two of them are sharing a custom taxonomy. Is there a way to list the terms of that taxonomy for only one of the custom post types? At the moment I can get a list ...
0
votes
1answer
29 views

Get child terms of current term of the current post

I have custom post type "product" and taxonomy is "product_cat". There are two child terms -Music and videos. Under Music i have two more child terms albums and single. Now when i go to music category ...