Home › Forums › Quform WordPress › Popup form shortcode on all pages
- This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by Ally.
- AuthorPosts
- September 6, 2020 at 2:54 am #31891galaxytoParticipant
Hi there,
First of all, thank you for the amazing plugin. Absolutely love it’s functionality and your attention to UX design is greatly appreciated!
I’m trying to implement a popup form across the whole site. I know I have to add an invisible shortcode to each page that I want the shortcode to work on. However, I was wondering if there is a way to add it to theme header or function.php so it is automatically added to all the pages.
I tried adding the following code to the header.php but it shows the form in the header and the popup function doesn’t work.
<?php echo do_shortcode(‘[quform_popup id="1"]Click me[/quform_popup]‘); ?>Can you tell me how I can activate [quform_popup id="1"] on all the pages without adding them individually to each page…
Thanks
September 8, 2020 at 9:38 am #31904AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 10, 2020 at 5:39 am #31919galaxytoParticipantThanks for your reply Ally
I followed your instructions. I got the form working on the homepage but for some reason, it is not working on other pages. On other pages, the form actually loads in the footer and doesn’t work as a popup.
I’ll email you at info@ the links to my site so you can see what’s going on. Can you please let me know how to fix that issue?- This reply was modified 4 years, 2 months ago by galaxyto.
September 10, 2020 at 10:15 am #31922AllySupport 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.