Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1137722

    I need to place some code directly before the closing </body> tag of your website template. Where do I do this in the Enfold theme?

    #1137749

    Hey leveragemktg,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_footer_script(){
    	?>
    	<script>
    	/*add your footer script here*/
      </script>
      <?php
      }
      add_action('wp_footer', 'custom_footer_script', 100);

    and replace the line /*add your footer script here*/ with your code.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.