Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #420836

    I need to paste the Google meta tag script into my site’s home page. It should go in the <head> section, before the first <body> section. Can you direct me on how to do that? Thanks!

    #421540

    Hey Tad30!

    Add this to the bottom of your functions.php file.

    add_action( 'wp_head', 'enfold_customization_add_header_script' );
    function enfold_customization_add_header_script() {
    	?>
    	your script goes here
    	<?php
    }

    And replace the text with your script.

    Regards,
    Elliott

    #421543
    This reply has been marked as private.
    #421777

    Hey!

    Functions.php is located in the root of your theme folder, but please use a child theme if you are going to edit the core files: http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/

    Regards,
    Rikard

    • This reply was modified 9 years, 7 months ago by Rikard.
    #422730
    This reply has been marked as private.
    #422898

    Hey!

    I’m not sure actually but you can try. If that shouldn’t work, please try the previous suggestions. If you have any problems we are here to help.

    Cheers!
    Rikard

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