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
2answers
21 views

How to set an alternate posts_per_page value for default queries in different templates

I have a WP site with multiple post types. Posts, products w/taxonomies. I have my WP Default posts_per_page setting at 10 in the admin. I want to keep this setting as the blog would be best at 10 ...
0
votes
0answers
27 views

Custom Taxonomy/Terms Url Structure

I am creating some taxonomies dynamically from using an ACF Options page, this seems to be working but the URL structure is off. I was expecting, something like... mysite.com/myPostType/Taxonomy/Term ...
1
vote
1answer
21 views

List terms from Custom Taxonomy

I have registered a custom post type "Projects" and also registered a custom taxonomy for that Post Type called "Project Categories". On my home page I have a div in which I would like to list all ...
0
votes
1answer
13 views

Custom Post Type rewrite url to /category/pagetitle [duplicate]

I know this questions has been asked a lot, but after working on it for 6 hours straight I can not find a good solutions anywhere. My site has a Custom Post Type and taxonomy. My taxonomy are for ...
0
votes
1answer
25 views

How do I get the labels from a post

I am new to wordpress and in the post admin section there is a place on the right that is clearly called labels. I need to be able to access these labels and display them on the post when it is ...
1
vote
0answers
56 views

Custom Post Type - Search Feature

So my Custom Post Type (CPT) has multiple taxonomies, the only problem I am having is creating a search form. On the frontend they have 5 options, these are: Area, Beds, Academic Year, Student, ...
0
votes
0answers
38 views

load custom posts on select option,( wp_query doesn't work for more than 1 object)

I'm trying to load custom posts defined on select form. I registered post type called 'brands', and taxonomy called 'brands_category'. I created a function in functions.php //search for brands ...
0
votes
0answers
29 views

Display posts from several custom taxonomies

I have several taxonomies applied to a Custom Post Type (CPT) and when a CPT post is in several taxonomies the post only is showed in the first taxonomy and not in all taxonomies where is. For ...
0
votes
1answer
13 views

Custom Taxonomy From Database

i want to create one site with Wordpress and for that i have some weird requirement. i wants the site like, when admin write any post at that time he have to select then product for that page. (i.e ...
0
votes
0answers
34 views

Create a custom taxonomy archive to pull categories that have two matching taxonomies

I'm trying to create an archive page for a custom post type that will pull in taxonomy categories that match two per-determaned taxonomies. I do not need to display the products on this archive page. ...
0
votes
0answers
16 views

Adding Taxonomies Dynamically and Removing Unwanted One

My overall goal is to create taxonomies dynamically in the admin, then use those to filter results on the frontend. I have an options page setup with ACF with a repeater inside that I use to create ...
0
votes
1answer
35 views

Custom post types not filtering by taxonomy

I have a custom post type of rent that has a taxonomy of location. When I go to mydomain.com/rent it displays all the rent items as expected but if I go to ...
0
votes
1answer
63 views

How to get custom post type categories in an array

I want to get all categories (custom taxonomy) in array from a specific post type. The taxonomy (category) registered for a specific post type only. And I want to retrieve all categories in an array. ...
1
vote
2answers
63 views

Is it possible to get a Previous/Next Taxonomy term archive URL?

I have a custom post type called shows and taxonomy called podcast. Using taxonomy-podcast.php, I having hard time finding a function that will generate next/previous Term URL Archive. For Example: ...
0
votes
0answers
19 views

Using register_taxonomy_for_object_type doesn't seem to work

I'm using the following code to register an attribute taxonomy used with woocommerce products to also be used for events. This code doesn't work for some reason: add_action( 'init', ...
1
vote
2answers
52 views

Permalink structure CPT with custom taxonomy fails

I'm getting quite frustrated setting up the correct URL structure for a CPT with a custom taxonomy. I have a CPT called 'courses' with a custom taxonomy called 'course type'. The url structure ...
1
vote
0answers
18 views

Query with relation and one without relation using multiple taxonomies?

I'm trying to use one query for two queries, one with an and relation and one without without having to do multiple queries and loops, is this possible? <?php $args = array( 'post_type' ...
0
votes
1answer
20 views

Creating custom post type posts and associating them with a post from another custom post type

I've created two custom post types -- one for Activities and one for Places. Any post under Activities needs to be associated with a Places and I was wondering what the best approach would be in order ...
0
votes
1answer
21 views

Getting a 404 on single custom post type page when using rewrite on a custom taxonomy

I am getting a 404 on my single custom post types whilst using the 'rewrite' option in the custom taxonomy. If I take the rewrite out the single page works but the custom taxonomy archive then 404's ...
0
votes
1answer
26 views

Query custom post type by custom taxonomy (category slug)

I've followed several related solution. But I'm still facing the problem. I've applied the following code for my custom post query by taxonomy (category). But it's not working. I think my problem with ...
0
votes
1answer
83 views

Creating dynamic filtering on custom post type

My overall goal is to have a custom post type and on the archive page have several different filters in the sidebar, like on a lot of ecom sites. I think this would normally be done in Wordpress ...
-2
votes
1answer
39 views

Remove Tag Cloud Words from Custom Taxonomy

How can I remove the Seperate tags with commas and Choose from the most used tags from my custom taxonomy? These: My Current registration for it is: $labels = array('name' => 'Company', ...
0
votes
1answer
35 views

Wordpress modify Settings > Permalinks (options-permalink.php) Add CPT Permalink Options

How do I modify the Settings > Permalinks (options-permalink.php) admin page to add more custom permalink parameters? I'd like to add additional permalink parameters to the "Optional" section for ...
0
votes
2answers
89 views

Should I make a taxonomy to organize data like this?

I want to organize data on my website the following way. I am not sure how it can be done. Do it need to make a custom post type or taxonomy to organize data like this. Help and guidance will be ...
0
votes
2answers
31 views

Custom Post Type tag taxonomy “Page Not Found”

I have a custom post type that looks like: register_post_type( 'letters', array( 'labels' => array( 'all_items' => __( 'All Letters', 'text_domain' ), 'name' => __( ...
0
votes
0answers
31 views

Dynamically Change Base Permalink Prefix For Custom Taxonomies (Categories)

I'd like to change/modify the permalink structure for the standard and custom post-types and taxonomies, such that the base being prefixed to the permalink dynamically changes for each post-type and ...
0
votes
1answer
37 views

Custom Post Type Taxonomy - Permalinks generating, but posts not found

I have a custom post type documenting Treatments available from a clinic. This sits on the Cosmetics part of the website (site.com/cosmetics/). Filters have managed to translate \%type\ for ...
0
votes
1answer
40 views

Remove custom post type slug but keep related category taxonomy permalink

struggling as well with custom url rewriting for custom post type taxonomies. Here is my requirement: domain/mycpt_category/postname/ It's well documented here and in several SE threads removing ...
0
votes
2answers
35 views

Display taxonomy term only if there's a value

I have a post type which I want to add some taxonomy values (tags) Example Post Type One City: London, Paris Color: Red, Yellow Language: In the example above, Language doesn't have any value, ...
0
votes
1answer
21 views

Custom Taxonomy is disabled on Edit page

I created a custom taxonomy that it is being used for the product post type of woocommerce. For some reason when you go to the edit screen it is appearing disabled. This is the code that I'm using ...
0
votes
1answer
24 views

Need some suggestion/help with custom post types project

i am working on some project where i have custom post types for management courses. I have create new roles (for users) : teacher and student. Now the quasions is what is the right way to assign one ...
-1
votes
1answer
31 views

Advise on Custom Taxonomies and Structure

I am building a sporting website with the following structure Categories Events (Like Superbowl 2017) Deals (Posts like "Fly to USA to Watch Superbowl for $1000" etc) News (Posts like "Sanfransisco ...
0
votes
0answers
25 views

Pagination custom post type & custom taxonomy

I'm having a problem with my pagination for the category page of my custom taxonomy. This page displays custom post types on the first page of the category. But when I try to go to the second page, it ...
0
votes
1answer
16 views

page not found for example.com/custom-post-name

i have created custom post type: jobs custom taxonomy : jobs_division I wanted url like Custom permalink structure: /%custom-post-type%/%custom-taxonomy%/%post-name%/ I have registered custom ...
0
votes
0answers
30 views

Using WP Query to combine posts and taxonomies

I'm trying to use wp_query to create an index of posts, but I want to combine post titles and a custom taxonomy to create this output on the page: Cheese (a single post title, arranged ...
0
votes
0answers
18 views

WP-API select custom taxonomy when creating a post

I am using POSTMAN to test out some API Routes using WP-API. I have created a custom post type called timeslot and have associated a custom taxonomy called location to that post type. When I am ...
0
votes
1answer
27 views

Problems with taxonomy quick edit box

i've some problem with customization of quick edit box in a custom taxonomy page. This is my code: function lnw_quick_edit_custom_box($column_name, $screen, $name) { if ( $screen !== 'edit-tags' ) ...
0
votes
1answer
52 views

Display posts grouped by post type in taxonomy.php

I have two Post Type('newpost' and 'book') associate with custom taxonomy(newcategory)(writer1, writer2, writer3...) I have need to show each custom post at separate style with Post term. My code ...
1
vote
1answer
60 views

Meta description - template code to get category description

Below is the code I wrote for header.php so that the description for a product category can be obtained and used for the <meta> description tag when viewing such a "page" on the site. Is ...
0
votes
1answer
43 views

How add body_class from wp_termmeta

I need to assign a class to the body for woocommerce categories. What I've done: // add the fields when the term is created add_action( 'product_cat_add_form_fields', 'add_product_cat_class_field', ...
0
votes
2answers
65 views

User role permissions based on taxonomies

I was wondering if it's possible to set up user roles in a way that means that users in certain groups can ONLY edit posts that have a specific taxonomy assigned to them e.g: Properties (Post Type) ...
0
votes
1answer
49 views

Failure to add term meta

I'm working on a modification to a custom taxonomy that would allow content managers to specify a numeric order in which the terms shall appear in a widget. They can't rely on the alphabetical order ...
0
votes
1answer
37 views

Custom button on custom taxonomy listing page

I want to have a custom button at custom taxonomy listing page. Please see the screenshot, I need a button so that I can export all my terms. I am not able to find any hook to do something like ...
1
vote
0answers
30 views

Category base to url in custom post type/taxonomy

I'm building a recipe site that uses custom post types for recipes. So I searched for including the custom post type categories in the url and found a solution below by Milo. It rewrites the url and ...
0
votes
1answer
15 views

Advice on Categorization for a Custom Post Type

Here is the scenario... Say I currently have 4 different car brands and 4 different locations. Ford, Chevy, Honda and Toyota Location 1, Location 2, Location 3 and Location 4 Each car brand will ...
0
votes
1answer
34 views

How to get CPT category checkbox list and show post of selected(multiply) checkboxes via ajax?

I want to create a plugin that outputs Custom Post Type category checkbox list(as in back-end WordPress) to show CPT posts that contain selected on front-end categories(multiply select) after pressing ...
0
votes
0answers
31 views

Is there a way to choose a parent before a child in a custom taxonomy?

I have a site with a custom taxonomy that is hierarchical. I want to be able to allow the users who have access to the backend post editor to choose a parent term first, then have only that parent's ...
0
votes
0answers
26 views

Create product configurator

I am building a product configurator tool where users can select mutually exclusive/inclusive options and I want to store their configuration at the end for retrieval later. As the user selects option ...
0
votes
2answers
32 views

Hide custom taxonomy from easy admin

I'm running a website that uses EasyAdmin (for user content generation). I created two taxonomies (via functions.php) for my own needs, but now my users can see them when they are adding their ...
0
votes
2answers
39 views

Dynamically tax_query terms

To display all the categories name with checkbox from custom taxonomy called ct_category I have the following code: $terms = get_terms('ct_category'); foreach ( $terms as $term ) { echo '<li ...