Home › Forums › MapPress Support › Mashup shortcode to show by event date › Reply To: Mashup shortcode to show by event date
June 1, 2013 at 11:14 am
#12729
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.