I want to do something like this but can't manage to figure it out. [Click]
I am using this custom WP_Query to display upcoming events on my homepage.
$events_args = array( 'post_type' => VA_EVENT_PTYPE, 'posts_per_page' => $number, 'no_found_rows' => true, 'post_status' => 'publish', 'ignore_sticky_posts' => true, 'tax_query' => array( array( 'taxonomy' => VA_EVENT_DAY, 'field' => 'slug', 'terms' => $days, 'include_children' => false, ), ), 'meta_key' => VA_EVENT_DATE_META_KEY, 'orderby' => 'meta_value', 'order' => 'asc' ); $r = new WP_Query( $events_args ); if ( $r->have_posts() ) :
What I need to do now is: Exclude the most recently updated 2 posts from this query, because these posts are already displayed somewhere else. I can't do it using multiple loops, because this is a widget and the other query is in another widget. Help would be much appreciated!