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

#12729
amir200770
Participant

Hi Chris,

Thank you for getting back to me. I am aware of the use of do_shortcode within the PHP code and am already using it in other places. However, how would you write something like

echo do_shortcode(‘[mashup width=”100%” height=”400″ query=”post_type=events&meta_key=event_end_date&meta_value=date(‘Ymd’)&meta_compare='<‘”]’);

because this statement clearly has incorrect syntax.

Thanks.