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

learn more… | top users | synonyms

0
votes
1answer
28 views

How to display term in archive page?

I want to display 'state' in my custom post type 'job' Archive page. Now my archive page only have title and excerpt. Can you tell me how to modify this 'content-job.php file? p.s. My post type is ...
0
votes
1answer
36 views

How to display data in archive page?

I have a custom post type 'job'. I created a archive-job.php . How can I display 'post date', 'city', 'state' in my archive-job.php page? Currently, my archive-job.php page displays a list of jobs ...
0
votes
1answer
257 views

Programatically added attribute, set to 'show on product page' automatically. Woocommerce [closed]

Ive written a script to import products to a new install of Woocommerce. The products have attributes set up in the admin. This bit of code adds the attributes on import. ...
0
votes
0answers
17 views

How to use one taxonomy for different needs?

I have a taxonomy called "Names" (like tags) where I store people names and for example, I have a custom post type called "Photography" where I want to tag people who appears in each photography and ...
0
votes
1answer
38 views

Sorting on Taxonomy in archive page

<?php get_header(); ?> <?php //Define the function function customize_customtaxonomy_archive_display ( $query ) { if (($query->is_main_query()) && (is_tax('employee'))) ...
0
votes
2answers
84 views

Admin: Navigation Menus do not show empty categories/taxonomies in the list's search tab

This is referring to the Admin area of Navigation menus It seems the normal behavior for building out Navigation Menus (Appearance>menus) is that when you expose categories or custom taxonomies, that ...
0
votes
0answers
21 views

I want to list my custom taxonomy with a custom post type in a plugin

I've created a simple plugin for a custom post type. What fully works with an arhive page and a single page. Now I'm trying to add ann taxonomy to the custom post type. // Register Custom Taxonomy ...
0
votes
2answers
27 views

Custom Taxonomy Terms in Menu lead to which page?

Hello All I was wondering if someone could help me out. I have created a custom post type along with a custom taxonomy. In this custom taxonomy I have created custom terms through the wp dashboard. I ...
0
votes
1answer
24 views

Unable to link categories to custom post type using standard function

I see a couple similar questions here, but they appear to be either directed at registration process, and involve editing core plugin - or they reference what I am already trying to do (but for me its ...
0
votes
0answers
18 views

Should update a term, but new one is created instead

I have a piece of code that should update a term in a custom taxonomy, when custom post type's title or slug is updated. However, instead of updating a term, a new one is created. CPT: collection ...
0
votes
1answer
37 views

Term specific featured post on taxonomy archive pages

I am trying to find a way to display a per term featured post on taxonomy archive pages. So say you navigate to url.com/my_taxonomy/my_term it should show the featured post of my_term above the ...
0
votes
1answer
112 views

Getting List of child terms from custom taxonomy parent

I am attempting to create section of my website footer that has link li of terms from a parent for a custom taxonomy I created. function add_custom_taxonomies() { // Add new "producttype" taxonomy ...
0
votes
0answers
19 views

List taxonomy in custom post type

Guys i need help about listing my custom taxonomy items in my post type. Like in the orginal Post type (category). I create taxonomy feed-categories and when i try to add new feed i can only to add ...
0
votes
0answers
8 views

I changed Category label of category taxonomy on main page… What about paths when choosing a category?

I am using a free wordpress template where I changed the label of Category taxonomy on the left side of the page from "Categories" to "States" (using wp-includes/default-widgets.php). Then, I ...
0
votes
0answers
11 views

Creating a meta table for term or term taxonomy

I found this tutorial which works great for what I need. However, I am doubting wether it should be associated with the wp_term's term_id or the wp_term_taxonomy's term_taxonomy_id. They seem to be 1 ...
0
votes
0answers
22 views

display link depending on CPT taxonomy term

I have created a CPT named "products" with taxonomy "range" with some terms: engine-oil, grease, brake-fluid, etc I need to add a download link to the product page display depending on its term. for ...
0
votes
0answers
52 views

How to save taxonomy term meta?

Since, WordPress don't have taxonomy metadata support for saving taxonomy custom form fields, I am currently thinking of using options API. But the 1MB options size limit on Wordpress.com is what's ...
0
votes
1answer
86 views

Multiple category filters

I'm working on an events plugin for a client and I need several 'categories filters'. Now I have arguments for a post type, I've registered that post type and taxonomy, and I created another taxonomy. ...
0
votes
1answer
110 views

Related Posts by taxonomy using Advance Custom Fields Plugin

I’m trying to list related posts using taxonomy with the Advance Custom Fields plugin. I’m using the following code below from the docs that links to all the posts in the taxonomy, but is it possible ...
0
votes
0answers
23 views

Get all custom taxonomies for a post, it's values, and use values for each in HTML

I am building out a database template which will show data stored in a mix of custom fields and custom taxonomies. When finished, there will be a potential for 50 different custom taxonomies with ...
0
votes
1answer
53 views

Register `product_cat` taxonomy for default post post type

Is it possible to register WooCommerc's product_cat taxonomy for use by posts? I have tried the following with no success. function custom_cross_content_type_taxonomies(){ ...
0
votes
0answers
271 views

taxonomy term in URL slug won't forward to the correct term for custom post like it does for default categories/normal posts

so I notice when you type the URL of a post with a category (eg category5/post), it will automatically forward to the correct category in the URL (eg category5 changes to category1) if the category ...
0
votes
0answers
96 views

Query for related posts by tags with custom field and custom post type

I've found a lot of very similar questions here, and have tried to use the (accepted) solutions without success, guessing I'm doing something very simple wrong and just can't see it so I'm hoping a ...
0
votes
2answers
41 views

Looking for suggestions on creating simple database (Help!!)

I'm working on creating a basic database for a theatre and really need some suggestions as the best way to approach this. Each production from this theatre will have its own page. The page should ...
0
votes
0answers
33 views

Change categories count to include media attachments

I am creating a gallery that will automatically display new images from a chosen category and its subcategories. I have set up the categories so that they will apply to media using: ...
0
votes
0answers
27 views

How to limit the number of posts assigned to a custom taxonomy term

Out of curiosity, how would I create a custom taxonomy term that can only have one post assigned to it at a time? Say I want to create front page for my "articles" taxonomy. I usually create a term ...
0
votes
1answer
38 views

Create an additional template page for every term taxonomy

Good day, I am trying to add a gallery page for my website by term-taxonomy, example I have a custom type named "School" and it has 3 terms which are "grade school, highschool and college" and I ...
0
votes
1answer
34 views

How do you search for a post by custom taxonomy?

I'm trying to search for the latest post that has a custom taxonomy attached to it. I've used the Advanced Custom Fields plugin to add a custom taxonomy called 'brand_post_link' which allows users to ...
0
votes
0answers
18 views

Grouping categories by genre instruction

i'm using your instruction to group category by genre in this discussion Grouping categories by genre i'm getting "Call to undefined function get_current_object_id() " To list categories by genre ...
0
votes
0answers
60 views

“Tree view” for wp_dropdown_categories() markup

I'm using wp_dropdown_categories() to generate a select box of hierarchical categories. By default, the select box is just a huge list of indented categories: This works fine until the number of ...
0
votes
0answers
38 views

get_categories that have 12 extra fields

I add extra fields for all category. like this :- //add extra fields to category edit form hook add_action ( 'edit_category_form_fields', 'extra_category_fields'); //add extra fields to category edit ...
0
votes
1answer
60 views

Custom Post Type with modified permalink structure results in 404

I've defined a custom post type, 'Review', that I'd like to utilize with a custom permalink: /reviews/year/postname. The below code correctly creates the CPT and the custom permalink appears correctly ...
0
votes
0answers
17 views

Multisite - global categories [duplicate]

I have a multisite network set up (where each blog actually represents one language). The contents of each site can differ (since it's handled by different people with different focus). BUT: We want ...
0
votes
1answer
78 views

Custom Post type and Custom taxonomy with URL rewrite worked but template did not

I search a lot but couldn't get, just got partial answer , I declared custom post type "store" with taxonomy "city", what I am trying is to make list of store based on city list and make URL like post ...
0
votes
0answers
55 views

How to get list of taxonomy slugs ordered parents>childs?

Is there an existing function in WordPress to generate a list of taxonomy slugs ordered by parents > childs > subchilds in an array? I need to generate a URL structure for my custom post type in ...
0
votes
0answers
198 views

Getting a term_id given a term_taxonomy_id?

Basic question: If I have a term_taxonomy_id, how can I get the term_id? I thought I could get the term object by get_term_by('term_taxonomy_id',$ttid,'my_custom_taxonomy'), but WPML localizes it - ...
0
votes
0answers
16 views

WordPress Custom Field Filter Broken For Comparison

I'm running a custom field - event date and time - that uses a UNIX timestamp to denote when an event takes place. I'd like the user to be able to filter events in the past or the future. The code ...
0
votes
1answer
41 views

Categorizing posts by location

I'm starting to work on a new project for which I will be using WordPress to facilitate content management. I have some experience building WordPress themes but it has been mostly related to page ...
0
votes
1answer
143 views

Add Thumbnail to wp_list_categories()

I'm using the following code to display a list of my taxonomy terms in my home page: $customPostTaxonomies = get_object_taxonomies( 'guide' ); if( count( $customPostTaxonomies ) > 0 ) { ...
0
votes
0answers
42 views

Display posts by taxonomy and taxonomy children

I need to display posts by taxonomy and taxonomy child(if exist). My current code: $custom_terms = get_terms('dishes-cat'); foreach($custom_terms as $custom_term) { ...
0
votes
1answer
29 views

Default taxonomy 'post_tag' added to CPT managing by custom role : nothing in the metabox

I've created a Custom post type, which a custom role can manage : it has only the capabilities for managing this CPT. When registering the CPT, I've set the argument : 'taxonomies' => array( ...
0
votes
0answers
27 views

Grouping parent categories into sections

I have the following post categories: Personal Care Jewelry Health & Fitness Automotive Gadgets Health & Fitness and have two sections: Men and Women, what I'm trying to do is to group the ...
0
votes
0answers
21 views

Form with select multiple

I am looking to do a taxonomy list with multiple choice. In the same way: <select class="" tabindex="-1" multiple="" data-placeholder="Check the ingredients"> <option ...
0
votes
0answers
14 views

any way to bind a taxonomy term to o user to just query it afterwards?

I need somehow to add an existing term from an existing taxonomy to a user like a category of users, but not for the purpose of limiting them to posts is that easily possible? I found some plugins ...
0
votes
0answers
25 views

Combine categories with countries taxonomies

I want to make a job listing website. Where the visitor at first select his country/location this browse categories (which is associated to this country). I thought about creating a parent category ...
0
votes
1answer
63 views

Custom taxonomy (categories) on custom post type return no results

Hi everybody and thanks in advance for helping. I am experiencing a problem with the categories I have created for my custom post type: when I click on the URL of the category (every category) I get ...
0
votes
0answers
26 views

Native Category taxonomy used with multiple post types show wrong numbers of posts attached to it

I have two custom post types i.e. Deals and Articles and both have native category attached to them. I then created multiple Deals and attached different categories to it. It all worked fine and ...
0
votes
0answers
31 views

Allow users to label or classify or group posts accoring to their own criteria

Is it possible to allow individual users to group posts according to their own personal classifications. Say one user wanted to class groups by read and unread ... or 'to read' or 'shared' etc. ...
0
votes
0answers
12 views

User autonomous tags for custom post types

Is it possible to create a taxonomy ( or other ) system such that each user on a WordPress system could have an autonomous tag setup which they could use to order custom posts. For instance: There ...
0
votes
0answers
20 views

Hierarchical relationships with different custom taxonomies [duplicate]

I have a custom post type: Cars and two custom taxonomies: Makes and Models. I already created a front-end post submit form using those three elements but as you may imagine from the title, I want to ...