Home › Forums › Quform WordPress › Quform popup as a link in the menu
- This topic has 7 replies, 2 voices, and was last updated 1 year, 3 months ago by
Ally.
- AuthorPosts
- October 2, 2019 at 10:33 am #30024
thewebmachine
ParticipantHi, is it possible to have a Quform popup as a link in the menu?
October 7, 2019 at 11:40 am #30036Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 7, 2019 at 4:30 pm #30038thewebmachine
ParticipantHi Ally, I hope you are well and thank you for the support. I tried to use your method but I am getting no results.
I did the following:
My menu id: #mega-menu-item-1482 created as a custom link
My code in a custom plugin
<?php
/*
* Plugin Name: Quform Custom Code
* Description: Custom code for Quform.
* Version: 1.0
*/add_action(‘wp_footer’, function () {
if (!class_exists(‘Quform’)) {
return;
}echo do_shortcode(‘[quform_popup id="3"]‘); ?>
<script>
jQuery(function ($) {
$(‘#mega-menu-item-1482’).click(function () { $(‘.quform-popup-link-3’).click(); return false;
});
});
</script>
<?phpOctober 8, 2019 at 12:03 pm #30047Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 15, 2019 at 1:42 pm #30070thewebmachine
ParticipantHi, Ally, thank you so much for your help but I tried the revised code and still no popup.
The link is http://edge-dev4.co.za.dedi66.cpt3.host-h.net/
The button is in the main menu left top called enquire
October 21, 2019 at 10:38 am #30091Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 21, 2019 at 11:14 am #30095thewebmachine
ParticipantHi, Ally, my apologies for that. I have disabled the coming soon page and sent you login details.
October 21, 2019 at 12:07 pm #30102Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.