Reply To: Add map shortcode to a template's tabbed content … not working

Home Forums MapPress Support Add map shortcode to a template's tabbed content … not working Reply To: Add map shortcode to a template's tabbed content … not working

#12499
LakesMarketing
Participant

Hi Chris,

Thanks for the future proof solution. I would definitely prefer to use that if I can.

Please can I check three things:

1. Have I understood correctly that this would simply need me putting my mappress shortcode in div tags, e.g.

<div class=”mapp-canvas”>[mappress mapid=”1″]</div>

2. When I insert the code, exactly as you had it, it says their is a syntax error on the first line:

jQuery(‘.mapp-canvas’).each(function() {

Is that correct?

 

3. Do I insert this within the click function as before on the script for the tab or is this an entirely new bit of code that needs to be on it’s own (not part of the tab code) but still in the same .js file

 

Thanks