Home › Forums › Quform WordPress › Quform popup as a link in the menu
- This topic has 13 replies, 2 voices, and was last updated 3 years, 3 months ago by Perb Pappertini.
- AuthorPosts
- October 2, 2019 at 10:33 am #30024thewebmachineParticipant
Hi, is it possible to have a Quform popup as a link in the menu?
October 7, 2019 at 11:40 am #30036AllySupport 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 #30038thewebmachineParticipantHi 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 #30047AllySupport 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 #30070thewebmachineParticipantHi, 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 #30091AllySupport 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 #30095thewebmachineParticipantHi, Ally, my apologies for that. I have disabled the coming soon page and sent you login details.
October 21, 2019 at 12:07 pm #30102AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 20, 2021 at 12:24 am #33293Perb PappertiniParticipantThe steps you linked to up above work great for me… except when I’m on a mobile device with a mobile menu. Can you help with that? 🙂
Attachments:
You must be logged in to view attached files.August 20, 2021 at 10:05 am #33300AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 20, 2021 at 4:13 pm #33304Perb PappertiniParticipantThanks, Ally – Yes the theme has a different menu for mobile devices. The site is:
August 20, 2021 at 6:32 pm #33306Perb PappertiniParticipantIt has the same ID as the regular menu item. See screen shot I attached. 🙂
Attachments:
You must be logged in to view attached files.August 23, 2021 at 9:09 am #33315AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 23, 2021 at 3:22 pm #33324Perb PappertiniParticipantYou’re the bomb! Thank you!
- AuthorPosts
- You must be logged in to reply to this topic.