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

learn more… | top users | synonyms

-1
votes
0answers
13 views

pagination not working in custom taxonomy template [duplicate]

I've created custom taxonomy template to display custom post type category data,it fetch & display data & also pagination display perfectly but when i click on page 2 it display the same data. ...
0
votes
1answer
16 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
21 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
22 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 ...
0
votes
0answers
25 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
17 views

Search box in back end on taxonomy select list?

I have a rather extensive list of terms (200+) in my taxonomy. Thus it takes a great deal of scrolling in edit post screen for me to find the correct terms. Is there any customization existing that ...
-3
votes
0answers
25 views

How to use WordPress star ratings (for custom taxonomy)? [closed]

Is there any way to use WordPress star rating functionality? I see many plugins can do ratings for posts/page. I would like to add ratings on my custom taxonomy/terms page.
0
votes
2answers
35 views

Displaying all terms of a custom taxonomy

I created a custom taxonomy "people". I select the related person in each post. In single.php file I can get the related person of a post. I can also get the list of all posts of a person through a ...
0
votes
0answers
12 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
0answers
17 views

WooCommerce works very slow with multiple attributes [closed]

I'm building a webstore with electronics and household appliances. Therefore I'm having quite a number of product attributes. To be precise: 1,196 total. And this number leads me to over 9000 (yeah ...
0
votes
1answer
19 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
19 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
34 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
16 views

How to schedule categories?

Is there anyway to schedule categories? like I already created the categories but I don't want it published to the public until the scheduled date like how you can schedule posts.
1
vote
1answer
26 views

Display a list of certain categories by ID

I have a list of custom taxonomy IDs like (1, 2, 3, 10). I want to display a list of these specified categories by names and each should have its childs like: Europe France Germany Africa ...
1
vote
0answers
21 views

Changing the default taxonomy key length

I want to change the taxonomy key length to support keys greater than 32 chars. I have adopted a custom WooCommerce store where some WP core files wp-includes/taxonomy.php have been edited to change ...
0
votes
1answer
8 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
19 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
8 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
4 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
12 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
0answers
93 views

Custom Post Type URL

I have big problems get the result with my custom post type and taxonomy I have made. I have read a lot in the questions and tried also many, but don't know where to find the solution or where to ...
0
votes
1answer
27 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
1answer
42 views

How to add upload field in a custom taxonomy?

I have a custom taxonomy and I want to add a custom field inside , OK that's seems to be easy but the hardest part is when I want to add a file input type the enctype="multipart/form-data" I ...
1
vote
0answers
31 views

What is actually taxonomy in wordpress? [duplicate]

What is actually taxonomy in wordpress? How and where exactly I can use taxonomy. I have read many google search about it but need someone to just explain in little simple language.
0
votes
0answers
13 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
2answers
42 views

get_terms: determine if taxonomy term has children

I'm looking to determine if a taxonomy term has children. See the below markup and I'll explain what I mean: <?php $terms = get_terms("wpsc_product_category"); if ( !empty( $terms ) && ...
0
votes
0answers
17 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
11 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
2answers
54 views

Function to remove archive sidebar for custom taxonomy?

I have a custom taxonomy/custom post category and I'm trying to write a function, which removes the sidebar from the archive pages, only when there's a (custom) taxonomy match. The match part isn't ...
0
votes
0answers
15 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 ...
0
votes
1answer
14 views

Organize content by month? SQL statement?

Using custom content types and custom fields with a pretty standard setup to post the content to the page. Where I'm having difficulty is trying to organize this content by date. I have a field ...
3
votes
1answer
39 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 ...
0
votes
2answers
21 views

Echo post count of CPT with current taxonomy

I have a CPT called 'Athlete' and a Taxonomy called 'School'. Two sample terms have been added called 'term1' and 'term2'. When a user views the archive for any of the 2 terms (taxonomy-school.php), ...
0
votes
2answers
77 views

How to get a list of term names of the custom post type im currently on in single.php

Ok so I have a custom post type of "Products" and a custom taxonomy of "Types". Now in the types taxonomy I have dozens of categories and sub categories assigned to custom post types. Custom Post ...
1
vote
1answer
45 views

How to return only one instance of each, from the entire loop

I´m adding a filter function in a taxonomy archive template. The intention is to add URLs for filtering in a sidebar, and i want it to return a set of ACFs like zipcode etc... (postnr in this example ...
0
votes
2answers
53 views

Get posts by category name

I'm having a terrible time trying to figure this out. I've registered a custom taxonomy (clinical-programs) and like to list all the PAGES that are assigned to particular page(s).
0
votes
0answers
21 views

How to add a taxonomy into admin menu

I've added a admin menu by add_menu_page function. How can I add a taxonomy in this menu as a sub-menu? If it's impossible, How can I change layout of custom post type?
0
votes
1answer
27 views

How to get a query odered by N of matching taxonomies?

How can I get a wp query that is sorted by how many tags (in my case) match a specified list? I want to retrieve a list of posts that match the category of the current post (which is a plain filter) ...
0
votes
2answers
40 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 ...
0
votes
0answers
24 views

Pages hierarchy: Category or Parent?

I understand that the Wordpress default is to have Posts organised in Categories and Tags, and Pages in Parent>Child relationships. Now I can make Categories available for Pages, in which case I can ...
0
votes
0answers
10 views

How can add posts without category into category

I have some posts in my wordpress without category, Its above 2000 article, So i need to add this article into category that name is " News "
0
votes
0answers
11 views

Taxonomy structure advice - ZIP Codes and Regions

In a new site I am building I need to have three different custom post types (people-type1, people-type2, events) organized by Region, but searchable by zipcode. For example, a user would type his ...
0
votes
1answer
24 views

Simple term-archive-linked Taxonomy Entry output

I've registered a Taxonomy named "type" and linked it to the Custom-Post-Type "group". I simply want to output term archive-linked entrys of the Taxonomy "type".
0
votes
1answer
49 views

Custom Post type is being ignored in query

I have a custom post type called "results" and on my single results page I want to perform a second query after the main loop. The second query is as follows: $myquery = new WP_Query(array( ...
0
votes
0answers
10 views

Get List of Taxonomy terms used in another taxonomy term [duplicate]

I'm using WooCommerce for WordPress powered cars store. I've registered new taxonomy called "car types" which contains terms like: "new cars" and "used cars". I want to query the "product_cat" terms ...
0
votes
1answer
30 views

Wordpress taxonomy child image

I've set up a hierarchical taxonomy. Each taxonomy has an image field I'm trying to output the title, image and link of child taxonomy on their parent page. I've managed to output the title and link ...
0
votes
1answer
24 views

Taxonomy template by post type

I have 2 custom post types that share a taxonomy. The taxonomy template of my taxonomy ( taxonomy-my_tax.php ) will query both custom post types. Is there a way to have a taxonomy template for each ...
0
votes
0answers
43 views

problem in taxonomy-{taxonomy}.php pagination

my custom taxonomy is: $image_labels = array( 'name' => _x( 'تصویر', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'تصویر', ...
0
votes
1answer
44 views

Is a custom post type considred a plugin?

I am reading up on custom post types and taxonomies. I am new to Wordpress development, and just trying to get a firm grasp on custom post types. Upon creating a custom post type: <?php /* Plugin ...