Docs    Facebook    Customizations

Moving Custom JavaScript code out of our plugins

The Custom JavaScript field has been deprecated in our plugins. To continue using Custom JavaScript snippets, we recommend using the following approach:

1. Install the Insert Headers and Footers plugin by WPBeginner. You can do this by going to your WordPress “Plugins” page, clicking “Add New”, and searching for the plugin name.

2. Once installed and activated, in your WordPress menu go to Settings > Insert Headers and Footers.

3. Carefully review the custom JavaScript code in our plugin “Custom JS” setting (found in: Settings > Feeds > Custom JS) before copy and pasting it into the “Scripts in Footer” section of the Insert Headers and Footers settings page.

Ensure that you include the entire code block, including the opening and closing <script> tags, as shown below.



Couldn’t find your answer in the docs?

Contact Support