Reply To: Mashup shortcode to show by event date

Home Forums MapPress Support Mashup shortcode to show by event date Reply To: Mashup shortcode to show by event date

#12735
amir200770
Participant

Hi Chris,

I have managed to get it to work. The meta_compare value should not appear in quotes. So the query statement should just be

$query = “post_type=events&meta_key=event_end_date&meta_value=” . date(‘Ymd’) . “&meta_compare=<“;

That is < instead of ‘<‘.

Thanks.