Header script code on only one page

Posted in: Newspaper
Post count: 201

Hi,

I want to implement a form that requires code to be inserted in the header. I can do this via the ‘Analytics/JS Codes’ section of the theme panel, but adding it here will result in the code being loaded on every page.

Is there any way to insert the code on only one page?

Thanks!

Post count: 21065

Hello!

A shortcode can be inserted by using the element called “Column text” or “Text with title”. “Column text” and “text with title” elements have a button called “edit content” and if you click on that button, the WP Editor will open, and you can add some text/code/shortcode there. Close the WP Editor from X, save the changes from Composer and view the page to see the changes.
Also, try use the Raw HTML element from Composer, add the code there.

I hope that helps you!

Thank you!

Post count: 201

The Raw HTML element worked perfectly, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.