Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 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 ...
1
vote
1answer
75 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
24 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 ...
0
votes
1answer
37 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
84 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
67 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
57 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
67 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
0answers
25 views

How to disable tag url rewriting on homepage (on others it works)?

Wordpress is able to handle posts selection by multiple tags: This url shows all posts from category fruit AND (with tags apple OR orange) http://www.example.com/category/fruits/?tag=apple,orange ...
0
votes
0answers
32 views

Get posts from category of custom taxonomy

I am using the GamePress theme, which has a custom Taxonomy/Post type for videos. When using the built-in Nivo Slider, it displays all videos, rather than the ones put into the "Featured" category. ...
0
votes
0answers
154 views

Custom Taxonomy drop downs for parents and child

I have taxonomies like Cities and they have child sub taxonomies. I have a code that display as metabox on post publish page. But I want to display on front page as search filter. How can I do that? ...
0
votes
0answers
84 views

Display a Page of Results from Multiple Taxonomy Queries

I created a theme for a client with three CPTs and a Custom Taxonomy for each CPT. It is currently set up as CPT > North, South, East, West Each CPT has the same categories > activities, dining, ...
0
votes
1answer
134 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
95 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
62 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
157 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
97 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
187 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
446 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
60 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
97 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
234 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
151 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
475 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
61 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
308 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
416 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
184 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
2k 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
241 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
98 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
240 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
2k 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
571 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
220 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
586 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
290 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
616 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
552 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
2k 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
427 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 ...
1
vote
2answers
2k views

Passing form inputs into multi-taxonomy query

I'm in the process of building out a search page to perform a query on a custom post type and its associated meta and taxonomy. Eventually, I would it to query multiple taxonomies as well as compare ...
1
vote
1answer
2k views

tax_query operator woes

I am trying to filter posts by multiple taxonomies. My code below works great, but their is one thing I can't quite figure out. When I filter the posts it seems that they only show the posts that ...
1
vote
1answer
1k views

Create Advanced search with taxonomies (not filter list)

as always after struggling my mind for 3 days with a problem i decide to ask for help here. Im trying to create an advance search page with taxonomies and keyword field. You can see what i actually ...
0
votes
1answer
432 views

Custom select query for taxonomies that have posts categorized in another taxonomy

I have a custom post type "vendor" - and I want to people to drill down via custom taxonomies to see posts. I have two custom taxonomies - one for "service" and one for "location". So in a custom ...
0
votes
1answer
350 views

Mixing custom post type and taxonomy rewrite structures?

I have the following setup: post types fashion Global Taxonomies (linked to all post types) issue_name Singular Taxonomies (just linked to fashion post type) men women I want my permalink ...
2
votes
1answer
1k views

query multiple taxonomy and show post count

I have custom post type 'Product', and 2 custom taxonomies 'category' and 'product status'. What i am trying to do is list categories in page template and show how many total products in category ...
0
votes
1answer
172 views

Displaying child taxonomies

Imagine this: I have a custom post type called 'Animals' and I have registered a taxonomy for this post type called 'Types of Animal'. 'Types of Animal' would be 'dog', 'cat' and 'mouse' and so on. So ...
0
votes
1answer
126 views

How to create a list of terms who's posts also have a predefined external term?

I have a pretty extensive music collection and my friends are always borrowing my stuff. I would like to keep better track of my library so I'm building a sudo-checkout system using WP. The ...
2
votes
2answers
836 views

Query 1 taxonomy term, exclude another

Here's the code I'm using to try and query a single taxonomy for one term, but exclude returned posts for that term that also belong to another. In English, this is what I want: query 'resource-type' ...