How to Use Add/Edit Custom Script

Tutorial

 

Add/Edit Custom Script is a great resource if you have a specific script that needs to be added to one or more pages. Instead of adding the script to each of the pages, it is only necessary to add the cf tag in place of the script. 

In the future, if the script needs to be edited, it only needs to be edited in one place and the changes will automatically be updated on each instance on the site where the script is running. 

It is also easy to disable the script in one place, and the script will no longer show on all of the pages where the script has been placed. 

Click on each section to expand it for more information

1. The Add/Edit Custom Script tool can be found under > Tools > Add/Edit Custom Script

The Add/Edit Custom Script tool can be found under Tools Add/Edit Custom Script

2. Select 'Add New Custom Script' from the drop down menu

 Select 'Add New Custom Script' from the drop down menu and click the 'Add/Edit Custom Script' button.

 

How to Use Add/Edit Custom Script
3. Set a Name for the custom script in the 'Custom Script Name' box

Set a Name for the custom script in the 'Custom Script Name' box. This will not be displayed anywhere on your site and is simply a description for you to know where the script is when looking for it at a later time.

 

4. Custom Script Category - This is an unused field and can be left blank.

Custom Script Category - This is an unused field and can be left blank.

5. Add the Script to the 'Custom Script' field.

Add the Script to the 'Custom Script' field. This code doesn't necessarily only have to be a script, it can also be html code, css code, plain text, etc. 

 

6. Set the status of the script

'Custom Script Status' - Choose if the script should be showing on the pages of the site. Set the script to be 'active' to show it or 'inactive' to disable the script from your pages.

 

How to Use Add/Edit Custom Script
7. Click the 'Add This Custom Script' button

Click the button

8. Copy the cf tag.

Copy the cf tag.

 

How to Use Add/Edit Custom Script
9. Paste the cf tag where you would like the custom script to appear.

Paste the cf tag where you would like the custom script to appear. If you would like it on a content page, the cf tag can be pasted into the 'add or edit content' into the 'Text or HTML for this page'

 

How to Use Add/Edit Custom Script