Home › Forums › Quform WordPress › Add quform popup to nav › Reply To: Add quform popup to nav
February 14, 2024 at 12:18 am #36486
clearscope
Participant
Ok great, thank you!
For some reason when I add that to our theme it then adds an additional button to the bottom of the page. So I had to comment out this part:
if (!class_exists(‘Quform’)) {
return;
}
echo do_shortcode(‘[quform_popup id="1"]‘);
And leave in only the <script> part:
<script>
jQuery(function ($) {
$(‘#menu-item-75’).on(‘click’, function () { $(‘.quform-popup-link-1’).trigger(‘click’); return false;
});
});
</script>
Anyway by making that amendment now it is working for us.
Thank you