Tagged Questions
0
votes
1answer
77 views
Query specific posts per user selections from dropdown menus
This may be a little different than most people do. I'm trying to show certain posts that are determined by 4 different "categories." I have a large database table full of "products" (I'm using the WP ...
0
votes
1answer
111 views
Query Multiple Custom Post Types & Exclude a Taxonomy Term
I'm querying multiple custom posts types and I'd like to filter certain posts that are tagged with a specific taxonomy term.
The taxonomy is "content" and the term is "indy"
I'm using the the code ...
-1
votes
1answer
38 views
Getting taxonomies specific to categories
I have categories set up for car manufacturers.
I have 4 custom taxonomies that are also set up: color, starburst, offer_type, and logo_count.
Each post I upload to my wordpress has values for all 4 ...
0
votes
1answer
71 views
query posts returns 10 records
I am using the following code to fetch records from a custom taxonomy.
if ($_GET['post_type'] == "developments"){ ?>
<?php
global $wp_query;
...
1
vote
3answers
540 views
Query posts by taxonomy term name
I would love to get the list of posts by their custom taxonomy (=store) name.
Here is what I have so far, but it is not working.
Please help with the code.
$mystorename is a variable holding the ...
1
vote
1answer
179 views
Displaying terms based on loop posts?
I have a shortcode that shows a loop for a custom post type:
while ( $loop->have_posts() ) : $loop->the_post();
// do something
endwhile;
Some of the posts are in categories ...
0
votes
1answer
597 views
Want Page Descendants when using query_posts post_parent or child_of
I'm trying to use query_posts to list all descendants of a page ID. Using post_parent only lists the first-level children.
This Trac ticket seems to address it: ...
0
votes
2answers
299 views
Query all posts under one taxonomy? Why is my code not working?
I'm trying to show all the posts associated with a Taxonomy (not a term) but it seems to not work.
<?php
$args = array(
'post_type' => 'projects',
'tax_query' => array(
...
0
votes
1answer
498 views
Change or update WordPress loop based on dropdown selection
I have a Contact Us page which is showing 9 locations on the sidebar by querying the custom post type "Distributors." I want the user to be able to use a drop down that is populated by the taxonomy ...
1
vote
2answers
2k views
Advanced Tax Query
Below is my tax query, at the moment this returns all posts which have at least one of the specified terms.
Is there a way I can have it return only posts which have ALL of the specified terms?
...
2
votes
3answers
1k views
How to get the parent's taxonomy?
I have 2 customs post type : "Artist" and "Concert",
the "Concert" custom post type is the child of the "Artist" custom post type,
the "Artist" custom post type has a "genre" taxonomy.
What I'm ...