Question
How can I define in pre_get_posts hook on custom post type to not execute the query on a taxonomy. I have the following if (!empty($newsType) && $newsType == 'press') { //if $newsType exclude the taxonomy qu
0
fefe 4 months 0 Answers 0 views

Question
(by using $query->set( 'meta_key', 'start_date' ); or $query->set( 'meta_query', $meta_query_array );) ... how can I send a array of dates in order to wordpress understand that the post as multiple dates and so, sho
0
nico 11 months 0 Answers 0 views