Questions tagged [custom-taxonomy]
Custom criteria that allow categorization, identification, nomenclature, and classification of various entities in software.
custom-taxonomy
1,205
questions
1
vote
1
answer
32
views
Display specific product attribute description in WooCommerce single product page
I have attribute "Details" and one of the values of this attribute - "Oversize". This value have description "Please note, this model runs large. We recommend ordering a size ...
0
votes
1
answer
28
views
Assign Custom Taxonomies to a Custom Post When its Created, Dependant on the Options Chosen on the Form
I'm using ACF to generate new custom posts from a form submission made by WP User Frontend.
It's generating the post and populating the fields as intended, but on the form, there are 8 different radio ...
0
votes
0
answers
40
views
Include custom taxonomy created via ACF in Woocommerce product search
I created a book store and created "Author" taxonomies using advanced custom fields.
I would like to improve my product search results on Woocommerce. Now it's like an author's books only ...
0
votes
2
answers
31
views
Custom post type uses same categories as post-type instead of a unique list
I have a WordPress site where I'm using the Post Type section for it's purpose as a blog but also have a custom post type (Composers) that I want to create categories for. the code I have includes the ...
0
votes
0
answers
38
views
Wordpress - Gutenberg Block to show a list of Custom Taxonomy Items
I'm trying to show a Gutenberg Block on my Homepage. This block should list all terms of a custom taxonomy, created with ACF Advanced Custom Fields.
My goal is:
Create a Loop Block to query all terms ...
1
vote
0
answers
55
views
Display a list comma separated taxonomy terms with "and" as final separator in Wordpress
I'm trying to output a list of custom taxonomies on Wordpress where the final separator is an &.
I have three potential taxonomies a post could be in: Category 1, Category 2, and Category 3. Some ...
0
votes
1
answer
48
views
How can I solve Fatal error: Cannot redeclare function... in a wordpress shortcode function
`I need to display nested child taxonomies and list its posts.
This is what I am trying to get
Its working, but I need to use the fuction as a shortcode. Getting "Fatal error: Cannot redeclare ...
0
votes
1
answer
58
views
pods: Query custom posts, filtered by hierarchical taxonomy
We have provided some of our PODS types with categories that are organized hierarchically. Similar to the example “Hierarchical Taxonomy: Cuisine” here.
To display the PODS entries, we use the ...
1
vote
1
answer
47
views
Add a metabox to admin WooCommerce Product if it has specific product tag
I am really struggling with WooCommerce PHP. This time I am simply trying to see if a product post has a tag before continuing to add a custom metabox. The code is written into functions.php of the ...
0
votes
0
answers
25
views
How to manually change the order of appearance of a custom taxonomy on a Wordpress post?
I have a custom taxonomy for authors for each post, it's basically a bank of publications and resources. I've used "get_the_terms" to display them and it's working perfectly! However I can't ...
0
votes
0
answers
14
views
I want to add post type slug before my custom post type taxonomy archive permalink
I have created a custom post type bl_properties.
I have created a taxonomy city.
Now I want my city archive page url will be like: example.com/custom-string/city/city-name/
Register Post type:
$args = ...
0
votes
0
answers
36
views
Create shortcode to display pages with certain taxonomy in grid
I have a problem with our site. Some of the products are made under "pages" because boss wanted the layout to be specific and not like the standard products page (which are used for other ...
0
votes
0
answers
20
views
Custom credit taxonomy linked to user profile or no-email user profiles?
I'm trying to come up with a solution (plugin suggestions welcome) that allows authors to attach users/creators to a post.
For example: A Movie Blog with a post that is a movie review article.
In a ...
0
votes
1
answer
18
views
Sort your own taxonomy alphabetically
I have created a taxonomy that displays authors on a page. I created an additional "Last Name" field to sort authors by last name.
Authors are displayed divided into groups according to the ...
0
votes
1
answer
37
views
Sort taxonomies by surname rather than name
I have created an Authors taxonomy. Each author has a name and surname in the name field. Later on the taxonomy page, the list is displayed in alphabetical order.
<?php
$taxonomy = '...