Open a Popupform in wordpress from HTML code

Home Forums Quform WordPress Open a Popupform in wordpress from HTML code

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20802
    lucmercx
    Participant

    Hello Ally,

    Can you tell me how I can open a popupform from this HTML code which I place in a widget?

    <a id="show-quform-7" href="#" class="xv_css">
    	<div class="numberCircle" style="float: left"><span></span></div>
    	<div class="xv_meta_info">
    		<small>Stuur een bericht</small>
    		<p>info@originaltours.nl</p>
    	</div>
    </a>

    Thanks in advance!

    #20813
    Allan
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20828
    lucmercx
    Participant

    Hello Allan,

    This works almost. In a widget in the page it is ok but when placed in a sidebar with a widget the shortcode is not “parsed”.

    I see:
    [iphorm_popup id=”7″ name=”Contact form”]
    my images and text
    [/iphorm_popup]

    Please see this page: https://www.originaltours.nl/testpagina-rhodo/
    On the left the widget placed in a sidebar, on the right in a widget area in the page.

    Any ideas?

    Thanks in advance

    #20843
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20851
    lucmercx
    Participant

    Hi Ally,

    Thanks, the PHP widget did the trick. I replaced the PHP widget area with a normal text area and now it works, so no need for the PHP code.

    Thanks again!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy