(Advanced) Custom Scripts

This section is for advanced users experienced in programming languages.

You can insert custom scripts written in PHP, JavaScript, or VBScript in any page of your website.

To insert a script in a webpage:

  1. Go to the Modules tab, select Script, and drag the module to the page.
  2. Paste the code into the input field.

    For PHP, use the opening tag <?php. Make sure the code you insert into this field is correct, as Presence Builder does not validate it.

  3. Click OK.

Your code will be active only on the published website.

To remove a script:

Place the mouse pointer over the script block and click Remove.

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.