Site logo

Archived topic

Embed Of A Form In Javascript

7 replies · Started by Martin on April 3, 2022

Viewing posts 1–8 of 8

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

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?

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

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?

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

The HTML block should work for iFrame.

Thank you have a nice day!

Martin

This archived topic is closed to new replies.