Reply To: Mashup Template PHP Syntax

Home Forums MapPress Support Mashup Template PHP Syntax Reply To: Mashup Template PHP Syntax

#13318
Chris
Keymaster

Hi,

You just need to include your variable(s) in the query:

echo do_shortcode
('
 [mashup query=
   "dealership_state=' . $current_dealership_state . '&
   posts_per_page=-1"
 ]
');