cancel
Showing results for 
Search instead for 
Did you mean: 
1WSCGomez
Moderator
Moderator

Please note, that adding a script HTML block requires Wordpress plugin-enabled plan:
Add the Custom HTML Block
To add the Custom HTML block, click the + Block Inserter icon and search for “HTML”. 

1WSCGomez_0-1712671123409.png

 

Using your keyboard, you can also type /html on a new line and press enter to quickly add a new Custom HTML block.
Once you select the option, drag the new block where you want to be placed on your website.

Go to (please make sure to log in):
https://portal.cs.1worldsync.com/en-us/Services
Select the script you want to inject, open it -> get code:

1WSCGomez_1-1712671123406.png

Important step:
Select the active part of the script (inside <body> tags omitting the tags themselves)

Paste your code to any text editor and remove tabulations from the code as WordPress will read them as <p> tags and will break javascript execution.

You can do that by placing your cursor at penultimate semicolon and pressing Delete until lines are merged


1WSCGomez_2-1712671123315.png

 


Do so for every line going from bottom to top:


1WSCGomez_3-1712671123357.png

 


Add Your Code

Once you’ve added the block, you can type or paste your code in the WordPress editor box. Please note the preview feature won’t work due to the structure of the integrated content.

Version history
Revision #:
2 of 2
Last update:
‎04-09-2024 09:59 AM
Updated by:
 
Contributors