wp query – tax_query in pre_get_posts
Question
I'm trying to add a tax_query for the query of a custom post type single page with this code.
function wcua_pre_get_posts ($query) {
// Also removed this condition
if( is_admin() || ! $query-&g
0
3 hours
0 Answers
0 views