Site logo

[Resolved] Embed Of A Form In Javascript

Home Forums Support [Resolved] Embed Of A Form In Javascript

Home Forums Support Embed Of A Form In Javascript

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2176841
    Martin

    Dear support team

    I want to embed a form in different parts of the site that is in javascript.

    If I add it as an Element, I cannot assign it to its destination with a shortcode.

    It cannot be added as HTML code as WordPress will not depict it. The classic mode does not work either for this.

    So I would like to know how can we embed a javascript form in GP in an area I decide. I have Generate Blocks Pro

    Regards, Martin

    #2176852
    Leo
    Staff
    Customer Support

    Hi Martin,

    I’m not sure if I fully understand the requirement.

    How would you normally do it in a Twenty series WP theme environment?

    #2176868
    Martin

    Hello, thank you for coming back

    What is a “Twenty series WP theme environment”?

    The requirement is to embed a javascript form in GP Premium. How to do it?

    Regards, Martin

    #2176871
    Leo
    Staff
    Customer Support

    Like how is the form embedded using a Twenty Twenty One?

    Sounds like you are looking to add it directly in the editor and this is not something GeneratePress (or any themes) can control.

    Do you have any instructions on how to embed this form?

    #2176882
    Martin

    Ah, ok Leo.

    It is an IFrame.

    If I could embed an IFrame in a block, that would be fine

    The affiliate network provides us with these IFrames to embed in the pages. I thought this was easy because I see many WP sites with forms and javascript functionalities.

    Thank you, Martin

    #2176886
    Leo
    Staff
    Customer Support

    The HTML block should work for iFrame.

    #2176939
    Martin

    Thank you have a nice day!

    Martin

    #2176943
    Leo
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.