The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
17 views

Search Tool only refreshes Page without showing results

I have a search tool that allows you to search plants based on multiple different taxonomies (Color, soil type, type, ect.) Each plant is set up as a post using ACF. You can search for plants based on ...
1
vote
1answer
50 views

Taxonomy , subtaxonomy,child taxonomy of a product woocommerce

Hi i need to get the main taxonomy and sub taxonomy of a product in woocommerce . i know how to get taxonomy details .123 is product id . $terms = get_the_terms(123, 'product_cat'); I know how ...
1
vote
0answers
39 views

Combine multiple custom user taxonomy in single url

I have created custom user taxonomy for user and its working good. Reference guide:- http://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress Bellow is structure of taxonomy ...
0
votes
0answers
26 views

Custom Taxonomy archive ordered by Category

So i have this site where the content is organized with a custom taxonomy 'Tracks' and regular categories. what i am trying to create is an archive for any given track that looks like catgory for ...
0
votes
0answers
36 views

Search by attributes or taxonomy

I'm trying to filter products by taxonomy or attributes, but I think the function has something wrong: global $woocommerce, $woocommerce_loop; $attribute = 'color-de-piel'; $values = 'Blanca'; ...
1
vote
0answers
8 views

Taxonomy in woocommerce

Create brand taxonomy WooCommerce As I can list for each brand product categories that have ? For instance : If there are products Acer , in the category servers, accessories, and desktop . And ...
0
votes
1answer
22 views

I have custom post type with custom taxonomy. But not found the taxonomy page..

this is my link. http://redesign.conei-sa.com/apps_cat . not found . My code in function.php. function prefix_register_post_type() { register_post_type( 'application', array( ...
0
votes
0answers
5 views

I'm looking for a plugin or solution to make taxonomy pairs or groups

I have two different custom taxonomies. First taxonomy contains name of competition (City competition, Country competition). Second contains type of win (winner, top21, top100). And every post can be ...
0
votes
0answers
20 views

Need advance search for custom post with 3 custom taxonomy

I need Advanced search form, I have 1 custom post type ('results'), And i have 3 taxonomies for the custom post, 3 taxonomies name is Year, Class, semester. Taxonomy register type is Year = ...
0
votes
1answer
30 views

List active taxonomy terms

I'm working on tweaking a template which has a filterable masonry layout. I made a taxonomy-categories.php and for the filtering I need the terms of the active taxonomy. The template which I'm using ...
0
votes
1answer
59 views

Display List of Categories Within a Custom Taxonomy

My website is an online magazine, so I have a custom function that creates a taxonomy (Volume/Issue) for Posts and Pages. Each issue of the magazine has its own particular category (e.g. News, ...
3
votes
1answer
99 views

SQL Statement generated by WP_Query not producing expected results

I am trying to alter WP_Query on the pre_get_posts action hook, for filtering the posts returned, depending on the built-in category and post_tag taxonomies. I would like that the only posts returned ...
1
vote
1answer
51 views

Get posts by querying taxonomy and certain terms of the taxonomy?

I have a taxonomy called schedule_day_taxonomy add_action( 'init', 'schedule_day_tax_func' ); function schedule_day_tax_func() { register_taxonomy( 'schedule_day_taxonomy', ...
0
votes
0answers
52 views

Filtering posts in query

I might be way over my head with this one, but I'm trying to get WP to filter posts by two taxonomies (categories & kategoriat) and one custom meta value (date), so you can filter between dates ...
0
votes
0answers
41 views

List post categories with a custom taxonomy term assigned

I have one custom taxonomy called 'p_type' with 'news' as one of it's terms. All of my posts have one or more categories assigned and a part of them also has 'news' as a custom taxonomy term assigned. ...
0
votes
0answers
73 views

salary range filter doesnt work when value higher than 75 000

I' having a big issue to create a salary range filter... I have one custom post type job - with a custom taxonomy for the salary. The salary are all put as a range' exampple: 20 000 - 40 000 using ...
0
votes
0answers
37 views

sorting posts (custom_posts) in author page

I want to sort posts (taxonomies) in my authors page, i want to sort them only by there one posts an have the right to edit them. I've try ed select elements but it shows results from search.php
0
votes
0answers
28 views

Filter search result by either a taxonomy1, or a taxonymy2, or both taxonomy1 and taxonomy2

I'm trying to build a search site for non-profit website, where dog owners can find restaurants (in selected city and with selected cuisine type) where they will be let in with their dog. The problem ...
0
votes
0answers
46 views

taxonomy query on front page

I have a custom taxonomy query that fails when the page is set to be the front page. When the page is not set to be the front, it executes without issue. My client has a highly-customized WP install: ...
1
vote
1answer
156 views

Multiple loops on page only show taxonomy name of first loop

I have a page with a custom post type called 'books', with taxonomy 'booktypes'. The books are ordered/divided in a loop per taxonomy-item, and added via shortcode to the page editor like this: ...
0
votes
1answer
53 views

Custom loop - Isolating post meta output depending on current query taxonomy terms

I have started constructing is a page to display a series of products based on certain criteria. Each product is part of two separate taxonomies, one for brand and one for product size (each product ...
0
votes
1answer
39 views

How to have multiple instances of the same taxonomy in a search form

I'm trying to have two separate search fields for tags on a search page on my Wordpress site, but it seems have a duplicate instance of a taxonomy breaks the search functionality. <form ...
1
vote
1answer
67 views

Include posts from feature category in pre_get_posts

I have two custom taxonomy 'cities-taxonomy' and 'userfeed-taxonomy' and I am excluding all the post which has these taxonomies assigned in my blog page using pre_get_post(); Here is my query ...
0
votes
0answers
71 views

Order by (sort) taxonmy fields using taxonmy custom field value

I have taxonomy:-shop_vendor with multiple vendors and every vendor have two radio buttons 1)Wellness 2)Dietitian and each vendor have selected one radio button at list. If i have 6 vendors in ...
0
votes
1answer
133 views

How to show amount of post in a taxonomy with advanced custom fields?

I am trying to display the post count of some taxonomies. I have a custom template that I am showing some taxonomies on. I am using advanced custom fields to assign each repeater field to a ...
0
votes
0answers
144 views

Check ACF fields in foreach custom taxonomy

I currently have a custom post type page set to pull in data that's attached to a custom taxonomy with ACF: <?php $terms = get_the_terms( $post->ID, 'artists' ); foreach($terms as $term) : ...
0
votes
1answer
84 views

How to convert query sql to shortcode in wordpress?

I want to make a shortcode like this [myshorcode:2:drinks], and query-wrangler I have managed to get the following query that shows me 2 products of a certain taxonomy PHP WP_Query: $query = array ( ...
0
votes
1answer
735 views

Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms

I am trying to build an advanced search form that allows users to select from two taxonomy based drop down menus. Each taxonomy drop down has taxonomy terms from which the user can select multiple ...
0
votes
0answers
17 views

Getting associated taxonomies

I am in a bit over my head with this one, so I'm hoping someone can point me in the right direction. Project Background I am working on a project that involves a complete overhaul of a site that ...
0
votes
1answer
60 views

Use Tags to Query Associated Multiple Posts and Get The Average Of Custom Field Values

I have created a custom post type named “Rating” that I’m using to add customer rating sections to my website. Each rating post has the ability to have a: Title Comment section Featured Photo ...
0
votes
0answers
136 views

Removing taxonomy query by pre_get_posts

I would like to remove taxonomy related SQL query part from the main query. I am trying to use pre_get_posts posts_where filter. An example of original not modified query WHERE part: WHERE 1=1 AND ( ...
0
votes
0answers
82 views

Custom Post Type Taxonomies

I have successfully looped through the taxonomies that I set up for a custom post type, and you can see that here: http://www.methodsconsultants.com.php53-13.dfw1-1.websitetestlink.com/tutorials/ ...
0
votes
1answer
6 views

Extend taxonomy term page with other posts

I have a simple taxonomy term page which lists posts connected to a specific term. I would inject some different (not connecting to that term) posts into that loop. I tried pre_get_posts action but no ...
0
votes
1answer
154 views

List posts of terms but exclude one term

I have a Custom Post Type for "Products" with a Custom Taxonomy of "Product Line." I've set up a page to list out the Products by their Product Line. However, we're also using a Product Line of ...
0
votes
1answer
48 views

modify strip_tags function to use term slug instead of term name

I have a small function to get post categories from a custom taxonomy and modify their url, but now I have multi-word categories I need to modify it to use the category slug instead of just the ...
0
votes
1answer
173 views

Get list of CPT posts in *current* post's taxonomy term

I've seen dozens of similar but not quite the same questions - It seems easy enough to do a wp_query and get a listing of posts in a given CPT, and sort by a given taxonomy term. However, what i can't ...
0
votes
0answers
52 views

Taxonomy Archive page extend with children pages

I am having a custom post type named doctors. Doctors have some custom taxonomies like speciality,area and insurance. I want to combine the taxonomies so I can create the following combinationsQ ...
0
votes
0answers
45 views

Combine Different Taxonomies in Permalink

I have 3 different custonomies for a custom post type "doctor", my taxonomies are a,b,c what I want to achieve is to make all the possible combinations of the taxonomies as posts or archives. I want ...
1
vote
1answer
134 views

How to group posts and get a mixed posts and groups view?

Let's say i need to implement the following in WordPress : I have a CPT named 'song' which are single songs from different artists. Sometimes songs may be grouped by albums, but not always. Then i ...
0
votes
0answers
15 views

how to create advanced search [duplicate]

I'm really stuck in this and i cant find any tutorial or article about this topic. How about if we have this pattern for search: [country] AND [category1 OR category2] AND [city1 OR city2] AND ...
0
votes
1answer
188 views

Display sub categories and their data of a taxonomy

I want to output the sub category details of a taxonomy $getTerms = get_terms($taxonomy, $args); print_r($getTerms); When i print the above out it returns the object. But theres no value difference ...
0
votes
1answer
68 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 ...
1
vote
1answer
58 views

Custom post type templating problem

I have a custom post type named 'product', with taxonomies 'brand' and 'type'. I'd like to have Archive Page A: sidebar with all the 'brand' terms linking to their respective archive page list of ...
0
votes
1answer
384 views

Custom archive page based on array of categories and tags

I'm looking to create custom archive page based on passed arrays which contains categories and tags, for an example: ...
1
vote
2answers
215 views

How to count the number of terms in a taxonomy

I have a custom post type "Services". It has a hierarchal taxonomy of "service-category". Service-category has both parent and child terms. I need to count the number of parent terms in the ...
0
votes
1answer
190 views

tax_query showing no results

I'm creating a music database site with two custom post types: tracks and albums. I've linked the tracks to their respective albums with a custom taxonomy for the album's slug. On each album page, I'm ...
-1
votes
1answer
71 views

Can One Taxonomies Terms be Ordered by A Seperate Taxonomy?

I need some advice. I have a post type called "Movies" for example. Inside Movies, I have two taxonomies: Genres and Ratings Under Ratings my terms are 5 star, 4 star, 3 star, etc. Under Genres ...
0
votes
1answer
100 views

get_term_link is Ending to single.php

I have a template like this: page-movie.php taxonomy-movie.php taxonomy.php and I am using the get_term_link() at page-movie.php to list and link from the indexed page into List of all Custom ...
1
vote
1answer
111 views

How do I taxonomy terms based on terms they are used alongside?

How do I get all of a single taxonomies terms that have one or more particular sibling terms? For example, let's say I have the following taxonomies. Terms are listed underneath the taxonomies, and ...
0
votes
1answer
291 views

get all levels parents from id term

I have a term referenced by $id. The term is inside a tree of levels. rootlevel parent (parent=0) first level parent second level parent ... ... last ...