A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

5
votes
2answers
406 views

Is There a Difference Between Taxonomies and Categories?

I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in ...
0
votes
2answers
75 views

Filter second dropdown (tax) based on first dropdown (cpt)

I've been googling and attempting this for over a week now with no success. I have a few custom post types (books, films, music etc), and a custom taxonomy (location). On my frontpage, I have two ...
-1
votes
3answers
350 views

Get terms in hierarchical taxonomy

I have a hierarchical custom taxonomy ("photos"), with 3 parent terms color location year Each parent term has several children terms. I have associated the "photos" taxonomy with pages and have ...
2
votes
1answer
250 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
549 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 ...
1
vote
0answers
13 views

How can I edit the 'Most Used' tab in the categories meta-box to show another custom taxonomy?

The 'Most Used' tab in the categories meta-box is the one that can be seen in the Edit Post section. I want to replace the Most Used tab, with a tab that lists another Custom Taxonomy, or edit the ...
1
vote
1answer
13 views

Display 1 Post per taxonomy with polylang

I am trying to make a loop where I display all my taxonomies with the first post of every taxonomy. It's the taxonomy "customers" and I want to display every first portfolio-CPT of the customer. I ...
1
vote
1answer
333 views

Permalinks for Taxonomy and Custom Post Type

Have the following situation here: Custom post type: 'recipes' Taxonomy for custom post type 'recipes': 'receitas' One of the taxonomies slug: 'receitas-whoopie-pie' The permalink structure MUST be: ...
0
votes
1answer
25 views

Creating a archive for taxonomy terms, not the term results

So I am attempting to build the first page in my navigation hierarchy to choose product categories. I have a custom taxonomy called collections. I would like to create a page that loops through all ...
0
votes
2answers
649 views

Custom Taxonomy in Permalink of Post

It is possible to use this as a permalink for a post: /%category%/%postname%/ But lets say I've created a taxonomy called "artist". I'd like to use this for my posts: /%artist%/%postname%/ I ...
1
vote
2answers
679 views

category filter doesn't work in WPML

I translate the categories to another language, but in the main page, the two language categories are all displayed. How can I filter another language? My WPML version is 2.4.1. I found all the ...
0
votes
1answer
27 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 ...
2
votes
1answer
34 views

Does WordPress Offer a Way to Find All of the Categories that Don't Have Children?

Background As discussed in Is There a Difference Between Taxonomies and Categories, taxonomies refer to a generalized system of classification and organization of objects or data. In the case of ...
0
votes
0answers
12 views

Get taxonomy on publish

I'm not seeing exactly what I'm looking for, so forgive the potential repetitive question. On publish_post, I'd like to check the current post's taxonomies and do something with them. However, the ...
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
12 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 ...
2
votes
0answers
25 views

Adding a term name from a custom taxonomy assigned to a post link displayed by a wp_query loop based on another taxonomy

I have registered a custom post type "Animals" and also two custom taxonomies ("Vertebrate" and "Type") assigned to it, which have their own specific terms, for "Vertebrate" it will be "Mammals" and ...
0
votes
0answers
10 views

foreach loop pagination for taxonomy blog category [duplicate]

I have a wordpress website running in which I have a blogs page where I display all the blogcategories using the following code <?php $taxonomy = 'blogcategory'; ...
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
2answers
451 views

child_of not working in wp_dropdown_categories

I have wp_dropdown_categories working without setting child_of. Once I set child_of, all categories disappear. Here's my code, what should I do to enable child_of? function dropdown(){ ...
2
votes
1answer
36 views

Custom post type with specific category structure

I have successfully created a custom post type (aka "Instruction") and two different categories (aka "Program" and "Exercise"). An "Instruction" needs to be filed under an "Exercise" and an Exercise ...
0
votes
1answer
35 views

Check which registered sidebar a widget is added to

I have 2 registered sidebars in my theme one for Products and one for Blog. What I am trying to do is if my "Category" widget is added to the Product Sidebar the taxonomy is automatically set to ...
1
vote
2answers
51 views

Can a Child Category Have More than One Parent?

I'm looking at the get_categories() function in the WordPress codex to see how I can return all of the children of each "root parent" ( categories that have no parents ). For example, if I am ...
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
1answer
373 views

How to get the depth of a category's subcategories

I'm looking to get the depth a category's subcategories. Suppose I have a category 'grandparent' which has a subcategory 'parent' which in turn has a subcategory 'child'. How do I get to integer 2? ...
0
votes
1answer
58 views

Pages throwing 404 error on server load

I have a really strange problem. I have to fix a strange bug in a wordpress installation that is related to the server load. When the site receive more than 5 parallel request some pages starts to ...
0
votes
0answers
28 views

Custom taxonomy from custom post type

Trying to have a set of categories for every custom post type. Book (custom post type) -> category (custom taxonomy) -> Adult / Teenage / Kids Movie (custom post type) -> category2 (custom ...
0
votes
1answer
950 views

Displaying Custom Taxonomy Children in Dropdown

I have a question I hope you can help me with. I have a custom taxonomy called locations and on the first level I have the areas (Asia, Europe, etc) and under each area I have countries (England, ...
1
vote
1answer
61 views

Filter posts by custom taxonomy terms

I am trying to filter posts by author. The 'post_author' is a custom taxonomy and I've included it in my args and posts are showing with the linked author names but when I click on the author name ...
0
votes
0answers
15 views

Update taxonomy term count after the post is published

I am trying to update the taxonomy term count after the post is published with the help of following function but its NOT WORKING, any help please... function update_count_on_publish( $post_id ) { ...
0
votes
0answers
19 views

Custom Search not working

Can any Wordpress Guru figure out why my custom search form just reloads the page when submitted? I'm trying to create a custom search that uses two dropdowns only (no text input). The first ...
0
votes
0answers
19 views

Sort WP Taxonomies

Is there a way to sort a custom taxonomy term list in order of recent updates to posts inside that taxonomy? Example: Custom Post Type: Research Custom Taxonomy: University Research Custom Tax ...
0
votes
2answers
26 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
vote
2answers
634 views

Get current custom user taxonomy

I’m using the plugin User Groups which lets me group users with categories. The plugin is working essentially the same as using the manual method (custom user taxonomies) described by Justin Tadlock ...
0
votes
2answers
264 views

Multiple tag cloud filtering

I am writing a plugin which creates a custom post type and two associated custom taxonomies. The custom post type list/archive page should be filterable by terms in one or both taxonomies i.e not just ...
0
votes
1answer
547 views

Getting the parent from the wp_term_taxonomy

Is there a built in wordpress function that let's me look up the "parent" field of the wp_term_taxonomy table if I pass the TT_ID to it? Something like get_value ( $wp_table_name, $id_fieldname, ...
0
votes
1answer
402 views

Custom Post Type Taxonomy Term Order by Title

I have a custom post type of Clients. The "Client Categories (taxonomy terms)" are called via taxonomy-client.php. I'm able to get the results to output as expected but I can't figure out how to get ...
0
votes
2answers
33 views

Advice on how to build multiple cross-tagged content types

From those who are more experienced with WP, I could use some advice on how to best set up a local history site to do the following: There will be a list of articles on different historical topics. ...
2
votes
1answer
353 views

wp_insert_term doesn't work with custom post type's taxonomy

Here is the problem I am having: I have a custom post type called "weddingguests" This custom post type "weddingguests" has a custom taxonomy, "friendsof", hierarchic I want to programmatically ...
0
votes
0answers
22 views

Custom taxonomy and WP User Frontend

I faced with the following problem: I have custom taxonomy ‘Countries’, which has been defined as: /* Taxonomies */ add_action( 'init', 'build_taxonomies', 0 ); function build_taxonomies() { ...
2
votes
1answer
7k views

How can I add the featured image functionality to a custom taxonomy?

I would like to be able to use the 'featured image' functionality, found on post types, for a custom taxonomy. I have a taxonomy called 'collections' and I would like each collection to have a ...
0
votes
1answer
42 views

Custom taxonomy template for categories

I have just been reading up alot about custom taxonomy template files, I have a category within a custom taxonomy that needs its own template. I understand about the template heirarchy etc.. and seen ...
0
votes
1answer
1k 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
342 views

Notice: Trying to get property of non-object in : custom fields category

I have custom fields in my category. I'm using this tutorial to add custom fields to my categories. I'm trying to output one of the custom fields on my category.php template but I'm unable to do so. ...
0
votes
1answer
97 views

How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1

I want to exclude photo and video categories (ID's 1 and 2 respectively) from my custom taxonomy page. Any suggestions on how can I exclude these two categories from the loop? <?php /** * ...
0
votes
0answers
17 views

Is it possible to order a query on one taxonomy term by the terms in another, connected taxonomy?

I've seen the negative answer in this question, Using wp_query is it possible to orderby taxonomy?, but I think I have a valid use case for something similar that's less broad than in that previous ...
17
votes
3answers
13k views

Using wp_query is it possible to orderby taxonomy?

My question is simple, I'm using WP_Query to retrieve some custom type posts filtering by a taxonomy using tax_query. Now my problem is I would like to orderby the taxonomy, but from documentation ...
0
votes
1answer
24 views

get_adjacent_post_link excluded_terms ignored

I call the function ´get_adjacent_post_link´ using the argument ´$excluded_terms´. But this argument is ignored. This is how I call the function. get_adjacent_post_link( '%link', '<span ...
3
votes
3answers
67 views

Display posts the match taxonomy term linked from wp_list_categoies?

This should be simple, but it escapes me. I have a custom post type and a custom taxonomy. The taxonomy is named "asset_type" and the slug is "type" I am using wp_list_categories to provide a ...
5
votes
1answer
14k views

Get Posts by Custom Post Type ,Taxonomy, and Term

Ok, so i have a Custom Post Type called "Services". This custom post type has a taxonomy called "Areas" and there's 5 terms in that taxonomy. Let's say I have 10 posts on "Services" and there's 5 ...