Home › Forums › Quform WordPress › Adding a popup form to an image in a WordPress template PHP file
- This topic has 9 replies, 3 voices, and was last updated 9 years, 8 months ago by
Ally.
- AuthorPosts
- August 26, 2015 at 10:26 am #16635
az_concept
ParticipantHi,
How can I add a popup form to an image in my PHP file?
I have to add the form (with ID number 3) to this code:
<div class="right-button">
" />
</div>
Can you please tell me how to do this?
Many thanks in advance!AZ concept
August 26, 2015 at 10:30 am #16636az_concept
ParticipantAugust 26, 2015 at 10:31 am #16637az_concept
ParticipantAugust 26, 2015 at 10:31 am #16638az_concept
ParticipantAugust 26, 2015 at 10:32 am #16639az_concept
ParticipantI don’t know why, but I can’t send the right code. Maybe when I add some spaces:
<div class="right-button">
<i m g s r c="< ? p h p e c h o g e t_ t e m p l a t e _d i r e c t o r y _ u r i ( ) ." / images / btn-verrassen.png " ; ? > " / >
</div>
August 26, 2015 at 10:33 am #16640az_concept
ParticipantAugust 26, 2015 at 10:36 am #16641az_concept
ParticipantI’m sorry for all the messages, but it isn’t possible to add my code to the code field and I can’t edit or delete my posts.
Here’s my last post with a screenshot of my code as attachment.
Attachments:
You must be logged in to view attached files.August 26, 2015 at 12:47 pm #16646Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 26, 2015 at 1:36 pm #16647az_concept
ParticipantHi Ally,
Thanks for your quick answer!
The code doesn’t work unfortunately. Or do I have to add some javascript too?
I did it like this:
<div class="right-button"> <?php if (function_exists('iphorm_popup')) echo iphorm_popup(3, '<img src="' . get_template_directory_uri() . '/images/btn-verrassen.png">'); ?> </div>
PS. Great!
August 26, 2015 at 1:37 pm #16648Ally
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.