Using shortcode instead of URL
-
Hi, I have the following code which opens fancybox containing my contact form upon clicking a link. Is there some way to alter this code such that I can use a button in place of the text link, but when clicked the button opens the fancy box? Original code below. Thanks.
<a class="fancybox" href="#contact_form_pop">TEXT FOR LINK HERE</a> <div class="fancybox-hidden"> <div id="contact_form_pop">[wysija_form id="1" title="Contact Form]</div> </div>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Using shortcode instead of URL’ is closed to new replies.