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

learn more… | top users | synonyms

0
votes
1answer
20 views

Match and Merge Terms in Different Taxonomies

I have some author names held in two different taxonomies where the terms are formatted in two different but overlapping ways. There are about 400 terms in each taxonomy, associated with roughly 700 ...
0
votes
1answer
24 views

Alphabetical order in taxonomy.php

I created custom post types and a taxonomy-adhesion.php file (by copying the contents of the archive.php file). I wish the search result would appear in alphabetical order (or by title), but it does ...
0
votes
1answer
25 views

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

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
11 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
25 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
1answer
15 views

Dropdown taxonomy lists in admin menu

I've added 4 taxonomy list to my wordpress backend: BH Job Experience BH Job Types BH Job Regions BH Job Tags These taxonomy lists are added under Job Listings like this: Now I would like to ...
0
votes
2answers
30 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
15 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
23 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
16 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 ...
-1
votes
2answers
37 views

Convert Custom Post Types to Custom Taxonomies

I'm trying to convert a bunch of posts within a CPT to items within a Custom Taxonomy, where the post titles become the taxonomy names and the post content becomes the taxonomy descriptions. I have ...
1
vote
1answer
41 views

Custom post type taxonomy template

I've created a custom post type portfolio and a taxonomy of course. function taxonomies_portfolio() { $labels = array( 'name' => _x( 'Portfolio categories', 'taxonomy ...
0
votes
0answers
16 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
39 views

Proper way to update the slug of a taxonomy using register_taxonomy? [duplicate]

What is the best way to update the slug of a custom taxonomy that is registered by a plugin? I want to know the minimal amount of parameters for this or if i need to go and copy paste all of the ...
0
votes
1answer
25 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
65 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
14 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
1answer
14 views

Hierarchical list of custom taxonomy terms

I have a custom hierarchical taxonomy. I don't know how many nested terms will be in each term. What I want to do, is to list all taxonomy terms hierarchically no matter how deep each term is nested. ...
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
7 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
13 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
28 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 ...
-1
votes
0answers
20 views

Get posts by tag OR with the given category

I have posts & custom post types. They can be either categorized in fashion or tagged with featured. So I want to pull the posts within that category or tagged with featured. This is what I have ...
-1
votes
1answer
20 views

query grandchildren taxonomy terms

I have a function that queries the children of each taxonomy terms, I'd also like to query the children of these children terms too, my markup is as follows: <?php $terms = ...
0
votes
1answer
16 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
30 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
12 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
59 views

Same menu for different taxonomies to reach different content

I'm using a "location" taxonomy to show the same website for 4 different locations. Each of them will have the same categories which I want to display in a menu. Is there anyway to create the same ...
0
votes
1answer
29 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
240 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
56 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
28 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
18 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
23 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
11 views

Running a custom query inside another cpt single and trying to grab a variable

I made a cpt "Neighborhoods" for different neighborhoods. On the Neighborhoods archive, you click on one and go to the single. All good. an example url is /blog/neighborhoods/south-austin/ But I'm ...
0
votes
1answer
30 views

Admin Panel - Disable Moving Selected Terms To Top of Metabox

By default whenever you select a category it moved it to the top of the term list, which in most cases it pretty user friendly. I want to disable this featured and leave my term list in the default ...
0
votes
1answer
21 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
18 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
1answer
35 views

How to “group” (categorize) the Pages together?

I have a lot of Pages which can be (need to be) grouped under a number of different Categories. ** Then the more important thing is, i need to control those pages (of different groups) programatically ...
1
vote
1answer
33 views

Display specific taxonomy

I have a custom post type LOCATIONS I have a custom taxonomy LANDMARKS Under LANDMARKS, I have a list of building landmarks On some pages/posts, I want to be able to insert specific landmark from the ...
0
votes
0answers
14 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
39 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 ...
1
vote
0answers
33 views

How to use multiple archive templates for a taxonomy?

I have created a custom post type (product) with a taxonomy (brand). I need to have the basic archive pages (type A) and then custom ones (type B) to create a product comparison page which esentially ...
0
votes
1answer
91 views

taxonomy/category term in URL slug irrelevant for post?

so I've got a nice hierarchical system working involving custom post types and taxonomies. (see Custom post types, taxonomies, and permalinks for reference) So if I have a post with ...
0
votes
0answers
20 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
43 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
50 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
38 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 ...
1
vote
0answers
185 views

Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?

The wordpress theme I'm using uses a custom post type called 'coupon' and a custom taxonomy called 'store'. The default permalink structure for a coupon post is site.com/coupon/CouponPost I would ...