The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
35 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. ...
1
vote
1answer
121 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 ...
0
votes
0answers
46 views

Multiple taxonomies in URL filter (both AND and OR type)

I'm working on a webshop that's running on Wordpress+Woocommerce. I can't find a way to filter the products via URL by custom taxonomies with the OR operator. Filtering with the AND operator works ...
1
vote
0answers
58 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
30 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
1answer
34 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
2answers
65 views

Adding multiple taxonomy filters to functions.php

I need to add multiple taxonomy filters to the functions.php file to remove (3) irrelevant taxonomies from the Yoast SEO sitemap index. I have been able to successfully add one filter, but when I add ...
3
votes
1answer
116 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 ...
0
votes
1answer
92 views

Group Custom post type in a taxonomy page by its child taxomony

I hope you can help me, guys. I've create custom post type and custom taxonomy with Custom Post Type UI plugin. Then i create an page taxonomy-mycustomtaxonomy.php. When i access, for example, a url ...
0
votes
0answers
55 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
26 views

Sorting taxonomies by count of posts with another taxonomy

I'm trying to create a widget that does the following: We have 2 taxonomies here, "brands" and "topic" The widget is supposed to display the 8 brands with the most posts in "topic" on the "topic" ...
0
votes
0answers
58 views

Multiple Taxonomies Query with certain number of taxonomies meet search criteria

$args = array( 'post_type' => 'product', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'color' 'field' => 'slug', ...
0
votes
0answers
53 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
46 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
113 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
106 views

Custom query to order by multiple taxonomies

I got this website from a customer to fix some bugs. They are a car dealership. The previous developer created a custom post type (vehicle) and there are two taxonomies: make and model. (they are not ...
2
votes
2answers
7k views

How to add images to taxonomies?

Q: Is it possible to add images to all of my taxonomies (default and custom ones)? Note: I do not want to use any plugins (not my favourite solution for design related matters). Usage: I want to ...
0
votes
1answer
269 views

Add_query_arg + two times the same argument?

I'am trying to filter my archive page by clicking links. When clicked they execute the add_query_arg command. Everything works fine so far. But now i want to add combinations within the same ...
0
votes
1answer
156 views

Grab all Custom Posts by multiple taxonomies and terms

I have 4 custom taxonomies with multiple terms for a "Members" page. I have a taxonomy of "location" and "organize" that I'm trying to separate into a list. I need to grab all posts by the ...
0
votes
1answer
158 views

Modify users.php query with multiple taxonomies

I've successfully created 3 taxonomies attached to the user object, using the registered_taxonomy and update_count functions of this code - ...
0
votes
1answer
234 views

Multiple taxonomies, what should the permalink look like?

I need to implement a list of a custom post_type that has to be able to filter them by two taxonomies, I found this answer that helps out with the wp_query syntax My question is, now, how should the ...
0
votes
1answer
193 views

How to List Custom Post Type Titles Based on Theirs Taxonomy Terms Inside a Nested Loop

I am trying to list at least the last three updated Custom Post Type's title lets call it "Cast" inside another loop which is listed based on the Taxonomy terms called "Actress" I used the following ...
0
votes
1answer
159 views

List terms of custom taxonomy if matches other taxonomy

So the title is confusing but I can't think of a better way to word it. Basically, I have two taxonomies of "state" and "city" (that have to stay separate for other reasons). Lets say for instance, a ...
0
votes
0answers
75 views

Tax Query is only showing normal posts, not Custom Post types too?

This has been bugging me for the best part of a day now, so I'm appealing to help in order to calm my nerves. I run a site that has many custom post types. Every post type shares the use of the ...
0
votes
0answers
271 views

Post Filter clearing on pagination $_post

I have a form, in which users can select what taxonomy they want the posts filtered by. It works fine except that it doesn't paginate. When I click on the next page of results, it clears the query. ...
0
votes
1answer
191 views

How to get multiple Taxonomies not All Taxonomies?

I am building a movie site, here is the codes to get the taxonomies function display_post_taxonomies( $content ) { if( is_single() ) { $args = array( 'public' => true, '_builtin' => ...
0
votes
2answers
230 views

Finding the category id's on category intersection pages

I'm using category intersection pages for users to be able to filter posts by categories. E.g. http://freemapsalgarve.com/category/destinations/alvor+bars-pubs/ Here the user is filtering on the ...
0
votes
2answers
687 views

Multiple Tax Query with Meta Key

I am trying to do a tax-query on a hierarchical taxonomy with no tags. I want to show results for the dealer state and brand being viewed by the user. For instance dealers in texas that also carry ...
1
vote
0answers
72 views

List posts in a category grouped by other categories?

I have posts of stores and restaurants in my area. Each post is marked by category of type (e.g. Restaurant, store) and town. What I am trying to do is create a page for each town (with intro text ...
1
vote
2answers
104 views

Include CPT values in another CPT?

I'm trying to add CPT values in a drop-down menu within another CPT, not sure if this is do-able. Basically I have a Store CPT and a Manager CPT, in the manager cpt i have regular posts with the ...
1
vote
0answers
332 views

Using multiple taxonomies to sort Custom Posts

I have a post type that includes a taxonomy for (1) location and (2) a day of the week. I'm using the first taxonomy to sort the posts into groups. Here's the loop I'm using: <?php $terms = ...
0
votes
1answer
167 views

best way to use custom taxonomy, post type and meta in a job system

i am building a job system which will store following data: job title - post title description - content location - post meta / taxonomy sector (it/sales & etc)- custom taxonomy salary start - ...
0
votes
2answers
868 views

get_terms() for custom taxonomy related to another taxonomy

I have this weird thing to do and I have no idea how to do it. Ok, so: I have two custom taxonomies: collections and categories (both are prefixed, but for the sake of simplicity, I'll use these ...
0
votes
3answers
66 views

Listing post with this way "domain.com/taxonomy/category

I am triying to modify wordpress (version 3.3) for that the listing to be able to show posts from one taxomy and one category. I have installed two plugin: WP No Category Base WP No Taxonomy Base ...
2
votes
0answers
395 views

Best way to programmatically link to multiple categories (union/intersection) [closed]

This question assumes that you know about the various complex taxonomy queries available from the WP_Query API. I know about tax_query as well as about things like category__and, which allow you to ...
0
votes
2answers
595 views

Query multiple taxonomies with pagination

i'm query multiple taxonomies and have no problem with it but pagination is not working how to solve it, i try alot of suggestion but no success here is my code if ( get_query_var('paged') ) ...
1
vote
0answers
231 views

Query most popular terms by taxonomy over 2 week period

I have written SQL for a query that pulls the most used taxonomy terms for selected taxonomies that are published, do not have a parent post are not in a comma separated list over the past two weeks ...
2
votes
1answer
4k views

How to Get All Taxonomies AND All Terms For Each Taxonomy With Post Count Zero

Is there an easy way of obtaining every registered taxonomy and for each registered taxonomy, get all the terms for that taxonomy, and for each term, get the post count, without actually fetching all ...
1
vote
3answers
272 views

Querying two taxonomies

I've got two taxonomies: "type of guide", and "tools". They look something like this: Type of guide - Article - Video - Cheat sheet Tool — Learning Management System Quiz Tool - Hide a ...
0
votes
1answer
113 views

Showing relevant categories on custom taxonomy template

I an using two taxonomies with private posts. category e.g. massage, travel location e.g. new-york-city, boston etc. On a location page, I want to show categories that are relevant to that ...
1
vote
1answer
305 views

Show list of custom taxonomies when another taxonomy is selected

Hard question to explain here. So here goes: I have a chapter/section scenario I'm trying to work out. The custom post type of "Books" has two custom taxonomies, "Chapters" and "Sections". The ...
3
votes
2answers
4k views

wp_get_object_terms() to get a list of all the terms attached to all the posts in the current query

How can I use wp_get_object_terms() to get a list of all the terms attached to all posts in the current query? For example, for the current query I want to get an array of the terms from the "Alfa" ...
8
votes
1answer
713 views

Efficient Taxonomy Intersection

I have many uses for this but I want to know the most performant way of doing what is going to be an expensive operation. As an example I will use a shop. Given: A product brand taxonomy A product ...
1
vote
2answers
249 views

How to speed up a wordpress function with multiple loops?

I am a PHP novice and wrote this function. It is an alphabetical navigation which shows only the letter that have posts in both that letter and the currently filtered "genero" taxonomy term. I use ...
0
votes
1answer
664 views

taxonomy query to output slugs instead IDs

So I got a custom search form with three dropdowns containing three different custom taxonomies. The problem is, I'd need the taxonomy slugs in the address for the search to fuction properly, because ...
0
votes
1answer
443 views

Generate multiple tag query URLs

As we know WordPress supports multiple tag queries (',' and '+'). The only problem with this add_query_arg() doesn't handle these methods if a query param is already exists in the URL. From the ...
2
votes
1answer
861 views

How to choose which template to be used for multiple taxonomy query?

Since 3.1 WordPress support multiple taxonomy query. The question is : If I have a two taxonomy query, e.g: http://localhost:8888/site/?lot-term=australia&story-type=note how can I determine ...
1
vote
1answer
584 views

Taxonomy posts on Archive page

Hello, I have been stumped for a few days on a perfect way to display the posts using my custom post type (track) and the taxonomies ( genre, sub_genre). When a user goes to ...
2
votes
2answers
3k views

Group Custom post type in a page by its taxomony tag

I hope i can write a clear question since i got confused trying to solve this... I got a custom post type... that custom post type has taxomony (category like) and i want to return a structure like ...
1
vote
1answer
587 views

How do I query a taxonomy term range

NOTE: The links will work If you copy & paste them. (I'm a newbie so I am not allowed to add to many links to the question) I have a few taxonomies that I would like to query a range from, for ...