Hi, I have created an off-canvas area in the header of a new site that I am building. Embedded via shortcode is a map plugin with directions. Works fine… BUT if I use the shortcode again anywhere else on the page it causes a conflict with the API.
However I also wanted the VISIT off canvas the bottom of the page to also load the map in an OC area. So, what I need to do is turn the ‘VISIT’ toggle into a button and then open the OC in the header using the button - so the page only has the one map
I know how to make the button look the same as the OC toggle in the header, but can you please can you let me know how to link a button to the OC in the header?
Thanks for your help