• Resolved wrhodes

    (@wrhodes)


    I have a web page with several siteorigin buttons. Right now they go to individual donation forms. Instead, I want the user to click the button and have the form embedded on the web page.I tried replacing the url in the buton with a full iframe reference (including the form’s url) but that did not work.
    used:

    
    <iframe src="https://weblink.donorperfect.com/HOP_give_monthly"  width="560" height="315"  frameborder="0" allowtransparency='true' scrolling="no"></iframe>
    

    when I save the button editor and click “update” and then go back into the button, the url field is blank!!!!

    Is it possible to use an iframe with a siteorigin button?

    • This topic was modified 7 years, 5 months ago by Jan Dembowski.
    • This topic was modified 7 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, please do not use Developing with WordPress for these topics

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    I recommend asking at https://wordpress.org/support/plugin/siteorigin-panels so the plugin’s developers and support community can help you with this.

    Instead, I want the user to click the button and have the form embedded on the web page.

    If you want a button to spew out a form on the same page upon clicking, you’re going to have to do some custom JavaScript wrangling to make that happen. That will likely require coding your own SiteOrigin extension… and is, frankly, beyond the scope of this forum’s support.

    An easier approach is…

    1) Embed the donation form on a separate page as an iframe
    2) Plug the URL of the above page which has the form embeded into your SiteOrigin button

    When users click on the SiteOrigin button, they will be taken to this other page on your own website which has the donation form embedded.

    Thread Starter wrhodes

    (@wrhodes)

    Brilliant!!!! I will do that.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘iframe in siteorigin button’ is closed to new replies.