Tagged Questions
2
votes
1answer
379 views
Nested meta_query with multiple relation keys
I am curious whether Wordpress is able to run nested meta_query, with each having different relation keys? As of Wordpress 3.0, tax_query is able to perform this function; I'm wondering whether this ...
0
votes
1answer
412 views
search query within custom taxonomy term, post title and meta field
I want to create a search that does:
Search within my custom taxonomy - custom-tags
search the post title
search select meta field ?? dont know
search with custom post type - easy part
I looked ...
2
votes
4answers
3k views
Query posts by custom taxonomy ID
I have a custom post type called portfolio and a custom taxonomy called build-type (acting as categories)
I am trying to query portfolio posts by build-type ID e.g. all Portfolio posts in "Hotels" ...
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(
...