Step 1: Go to your WordPress admin panel, and navigate to the Appearance section. “Appearance” -> “Editor”.
Step 2: Select the “footer.php” file and edit it.
Step3: Install the Leadfriday Script before the </body>
tag.
Make sure to save the settings by clicking Update File, and you’re done!