JS Custom Code

JS Code

Theme Options Custom JS Code

Sometimes it's necessary to write a few lines of custom JavaScript code. Possible reasons:

  • Add custom functionality
  • Fix an issue with a plugin or the theme
  • Customize a functionality added by a plugin or the theme

How to add custom JavaScript code


  1. Go to WP admin -> Loyde -> Theme Options -> JS Custom Code
  2. Under JS Code write the JavaScript snippet.

This JS code is executed on each page load.

Note: Code snippet must be added between existing lines,