Hot answers tagged

3

REWORKED APPROACH The issue with the original answer is that although we pass post ID's to post__in parameter, being on the author page, the main query removes all posts that does not belong to the author. We can pass an empty string to author_name via the pre_get_posts filter, but that inherintly breaks the query object, which is a no-no. This calls for a ...


1

Off the top of my head - put this in your functions.php: add_filter( 'infinite_transporter_in_same_cat', '__return_false' );


1

After some tweaking I've discovered that I've totally forgotten the relation into meta_query. so I've just added 'meta_query' => array( 'relation' => 'AND', $closed, $ends, $budgets, ), and it worked fine.



Only top voted, non community-wiki answers of a minimum length are eligible