post__not_in, eventDisplay custom and upcoming events
-
Hi again!
Last week I’d asked about the post__not_in issue (https://www.ads-software.com/support/topic/post_not_in-isnt-working-in-custom-events-query?replies=4) and was able to fix it by adding the eventDisplay => custom tag.
However, the loop now shows the newest created events, instead of the next upcoming events – if I changed the eventDisplay to upcoming, it shows the upcoming events, but then we lose the ability to use post__not_in – is there a way around?
These are the current parameters:
'post__not_in' => array($featuredPost),'posts_per_page'=> 4,'post_type' => 'tribe_events', 'eventDisplay' => 'custom'
Thanks for any help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘post__not_in, eventDisplay custom and upcoming events’ is closed to new replies.