Closed ansonphong closed 10 years ago
Here is the query I am using - you can test it
$args = array (
'feed_id' => 'features-category-life',
'write_cache' => true,
'feed_query' => array(
'post_count' => 200,
'fields' => 'all',
'post_type' => 'post',
'orderby' => 'date',
'offset' => 15,
'post_format' => null,
'post_class' => null,
'posts_per_page' => 200,
'tax_query' => array( // <<<< This isn't working
array(
'taxonomy' => 'category',
'field' => 'slug',
'terms' => 'life'
),
),
)
);
pw_register_feed ($args);
Hi Haidy, The
pw_register_feed()
function is working quite nicely - I like how it's working, very good.Although, I'm running into an issue here whereby the
tax_query
field inside thefeed_query
parameter isn't having an impact on the feed_outline. No matter what I put intax_query
, it doesn't seem to change the feed_outline.I tested the same queries with
pw_query
directly, andpw_query
is working successfully withtax_query
just fine, so the issue perhaps is betweenpw_register_feed
andpw_query
somewhere.Can you verify that this is also happening with you?