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

learn more… | top users | synonyms

1
vote
2answers
36 views

Replace taxonomy permalinks

I have this permalinks settings: /%postname%/ I have a custom taxonomy issue. I want replace all my taxonomy links (site.com/category/wordpress) to (site.com/category/wordpress/issue/any-child). ...
1
vote
0answers
41 views

Category lists page foreach Paging

I use the following code shows the classification of the article with a list of all the category list on the page template, but such a page will be displayed all categories. I hope one page displays ...
1
vote
1answer
158 views

has_term not working

I've been scratching my head all day with this one. I'm trying to use has_term but it just won't work. I do get this notice but I'm not 100% sure it's related. I've also tried is_object_in_term() but ...
1
vote
3answers
2k views

How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?

The default taxonomy, category. By default, only those with the edit_posts capability can assign categories during post creation/editing. I have a role with very limited capabilities. I want to let ...
19
votes
2answers
11k 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
1k views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
3
votes
1answer
151 views

Is there a way to set singular/plural labels for taxonomy term names?

Let's says I have a taxonomy called Types. I know I can have a singular name when registering the taxonomy... so I could just set the singular label to Type. But is there a way to the same/similar ...
2
votes
1answer
112 views

Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?

I have a custom post type called ‘sets’ and a taxonomy set up under it called ‘project’. Most of the posts under this custom post type will be assigned one project term, but not necessarily. When a ...
1
vote
0answers
41 views

Adding custom taxonomy in same menu place with two custom post types

I have registered 2 post types: register_post_type( 'post_type1' , $args1 ); register_post_type( 'post_type2' , $args2 ); And I've registered a custom taxonomy associated with the second post type: ...
1
vote
0answers
23 views

get_adjacent_post by language

I am using Polylang plugin, which assigns each post to a taxonomy 'language'. While using get_adjacent_post() I want to bring only those posts that belong to the language currently displayed. So I ...
1
vote
0answers
24 views

Show child terms of current term of the taxonomy

I have some taxonomies (such as product, articles &...) and any taxonomy has some terms (Eg for product: mobile, book & ...), and any terms has some child terms (Eg for mobile: iPhone, sumsung,...
0
votes
1answer
41 views

I have custom post type with custom taxonomy. But not found the taxonomy page..

this is my link. http://redesign.conei-sa.com/apps_cat . not found . My code in function.php. function prefix_register_post_type() { register_post_type( 'application', array( ...
1
vote
0answers
80 views

Filtering *out* a taxonomy from the admin post list

I've got a custom post type 'Speakers' that, after some time, are added to a custom 'archive' taxonomy so that they can be sorted into different sections of the site. I'd like a way to hide any ...
1
vote
0answers
137 views

How to make custom taxonomy into drop down select in a custom metabox

I have a custom post type that I am creating custom meta boxes for on the "Add New Post" screen. I would like to remove the default meta boxes for a given custom taxonomy and place it in a drop down ...
1
vote
0answers
142 views

Manually query posts by taxonomy with MySQL

I'm trying to query posts from the WP database with the category uncategorised, while also joining the post meta table, but I can't get it to work. I get an empty result. This is my query SELECT * ...
3
votes
2answers
316 views

Modify Term Update Redirection

Whenever I update a term it currently redirects me back to the edit-tags.php page for that taxonomy, the term list. Is it possible to instead of redirects to the term list to instead bring me back to ...
1
vote
0answers
41 views

Multiple pages for posts?

maybe this is answered somewhere just i am not able to find it then sorry. Situation is that I need to have different "page for posts" for hierarchical post types. example: CTP: office (hierarchical)...
0
votes
1answer
355 views

Retrieve taxonomy terms in order of their post's date?

I'm building out a custom taxonomy archive page that needs to list terms in order by their associated post's post_date. I wrote this, it's working, but I hate resorting to custom SQL: global $wpdb; $...
3
votes
1answer
2k views

Combine two taxonomies in a hierarchical tree

For example, I have WooCommerce products that have taxonomies: brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand) category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
0
votes
0answers
6 views

I'm looking for a plugin or solution to make taxonomy pairs or groups

I have two different custom taxonomies. First taxonomy contains name of competition (City competition, Country competition). Second contains type of win (winner, top21, top100). And every post can be ...
0
votes
1answer
117 views

Custom Post Type Archive with Dynamic Taxonomy Filtering

I have been learning about WordPress's built-in function as described in the title. What I have learned is that WordPress will automatically filter the content displayed by the taxonomies specified ...
9
votes
3answers
16k views

Attaching taxonomy data to post with wp_insert_post

I am trying to implement a front end posting system which shows taxonomy data in several dropdown select fields. Each of the dropdowns is named by using the "name" $arg in wp_dropdown_categories(). ...
1
vote
0answers
22 views

Which hook is fired when tag is added or changed? [duplicate]

I have a transient that collects WordPress tags with specific description. I'm looking for a hook name that fires when user edits a WordPress tag or creates a new tag in admin so I can delete my ...
0
votes
0answers
53 views

Using is_tax with multiple taxonomies

I have multiple taxonomies set-up which are being used in conjunction with a custom post type. It's all working well and I can view different posts depending on the URL structure, e.g. /packages/...
1
vote
1answer
738 views

How can I select a primary category?

I'm looking for a plugin or suggestion on how to select a primary/main (custom taxonomy) term in a custom post type. For example, I'm developing a Wordpress website for Musicians. I have a custom ...
2
votes
2answers
118 views

Filter and list posts of a custom taxonomy

I have a custom Taxonomy called 'owner' and it has multiple posts as owner names (Using as a category) so I can filter posts by 'owner' taxonomy. I'm trying to make an index page of all owner names ...
0
votes
2answers
2k views

List all taxonomy terms / Show links if posts are attached, else names

I'm looking for a way to list all the terms from a custom taxonomy. Only the terms that have posts attached to it should have links to the archive page. If there are no posts attached it should only ...
1
vote
1answer
32 views

Problem with orderby

I am querying the terms in a custom taxonomy i have with the following code: <?php $term_id = 2; $taxonomy_name = 'rete'; $termchildren = get_term_children( $term_id, $taxonomy_name );...
0
votes
0answers
35 views

How to categorize taxonomies meta data

I have a taxonomy called Video_Tutorials I'm trying to let the user add meta data to the taxonomy in a categorized way For example, I need each term under that taxonomy (say "Photoshop Free Course ...
0
votes
2answers
65 views

Featured Image metabox lost

I can't get the Featured Image metabox and taxonomy to show up on the edit page for the default post and page post types. it does work for the custom post type I've created using a plugin. It just ...
3
votes
1answer
3k views

Check if a post is in any child category of a parent category

In a site I'm developing, I have the following category structure: * movies (parent) * thriller (child) * comedy (child) * drama (child) The current post is in the comedy category. The ...
0
votes
1answer
54 views

category image taxonomy

I was using this solution for my problem, create a taxonomy for images without using any plugin, finded here: How to add upload field in a custom taxonomy? This is the code I use: function ...
0
votes
0answers
40 views

Sort products by custom taxonomy name

I'm trying to sort all products on the shop page by a custom taxonomy category which is in this case product_brand. What I want is when I choose from the dropdown sort by Brand all products to be ...
0
votes
0answers
28 views

Wordpress, add post to custom taxonomy's category

I am trying to add a post to a category under taxonomy cate. The code I am using is: $user = get_user_by( 'email', $_POST['user'] ); $id = array( 'post_title' => $_POST['title'], '...
0
votes
1answer
140 views

Looping Through Custom Tax Terms and Displaying All Posts For Each

I'm using the following code to attempt to loop through each of the terms within my custom taxonomy category-film and then output the term name as a heading together with displaying all the custom ...
0
votes
1answer
56 views

Echo taxonomy name - second level

I have the following taxonomy: Location: Province --City ----Suburb Province --City ----Suburb How can I echo the names of "Suburb" (second level) on an archive page? So, for example: Location: ...
0
votes
1answer
60 views

Listing Custom Post Post from certain category

I have Custom Post note Here my category looks like this : Tutorials --Class 11 ----Physics ----Chemistry ----Biology --Class 12 ----Physics ----Chemistry ----Biology -- represent children and ---...
1
vote
4answers
4k views

Trying to list terms of a custom taxonomy using get_categories

I'm using this little snippet of code to try and list the terms of a custom taxonomy for use in a meta box select box but it doesn't show anything when I implement it (Despite working with the default ...
0
votes
0answers
21 views

Permalink Custom Structure urls taxonomia

I created a CPT and taxonomy, category and products, the problem is I need my product has the permalink well .com / name-category / name-product the permalink structure is set up /% category% /% ...
0
votes
0answers
119 views

get_terms functions.php

my functions.php function retrieve_my_terms() { $get_participants_country1 = get_terms('participants_country', array( 'hide_empty' => false ) ); $teras_terms = array(); foreach( $...
2
votes
3answers
2k views

Using get_terms for custom taxonomy in functions.php

I`m trying to retrieve the names of taxonomy items and include them into a theme admin panel. function retrieve_my_terms() { global $terms; $terms = get_terms('taxonomy'); foreach ($...
0
votes
1answer
63 views

How to get list of only custom taxonomies?

I am looking for a way to get all custom taxonomies but I could not find any way yet. Is there any good way to get lsit of all custom taxonomies? I tried to use get_taxonomies(); function but that ...
1
vote
2answers
4k views

Registering tags taxonomy for a custom post type

The actual post type support categories and I want to add also support for tags. I have this code: register_taxonomy( 'category_' . $slug, array( $slug ), array( 'hierarchical'...
1
vote
1answer
111 views

ACF vs Taxonomies

Sorry if this isn't the best place but was hoping for some clarification on something that has been bugging me. I have several custom post types Artists Counties Venues Events Festivals Line Ups ...
0
votes
0answers
37 views

How to display custom taxonomy grandest children in three columns, with first child as column heading?

I have a taxonomy structure thats 4 levels deep, with the name 'services_tax': Parent - Child - - Grandchild - - Grandchild - - - GrandGrandchild I am trying to get the terms selected on a custom ...
0
votes
1answer
114 views

Display List of Categories Within a Custom Taxonomy

My website is an online magazine, so I have a custom function that creates a taxonomy (Volume/Issue) for Posts and Pages. Each issue of the magazine has its own particular category (e.g. News, Alumni,...
0
votes
0answers
19 views

query taxomony terms but exclude current taxonomy and display older terms

I have a taxonomy called "magazine", with custom fields attached to it, with the slugs for each term as "editions". so if you are in tax-archive for say, "/editions/issue-52/", I have a query in the ...
0
votes
0answers
23 views

Display one taxonomy results first then other taxonomy results?

On my site I have a slider that cyles through vehicles from cheapest upwards in ascending order. These vehicles are selected for the home page slider by a taxonomy option entilted 'specials-for-the-...
0
votes
1answer
122 views

Group Custom post type in a taxonomy page by its child taxomony

I hope you can help me, guys. I've create custom post type and custom taxonomy with Custom Post Type UI plugin. Then i create an page taxonomy-mycustomtaxonomy.php. When i access, for example, a url ...
0
votes
0answers
53 views

How to edit taxonomy terms fields directly from post editor?

When adding a custom taxonomy to a custom post type, a taxonomy meta box appears in the CPT editor where author can add terms to that CPT within the taxonomy. But the question is: Is it possible to ...