Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #788132

    Hi,
    I need to add this tracking code(not Google) to my Enfold site. How do I add this code to the footer?
    Unfortunately I haven’t set it up to use a child theme. Is there a way I can add it without using a child theme?
    Your help is much appreciated.
    Sara

    #788200

    Hey sv3designs,

    Thanks for using our theme :)

    You can add any custom script code using the follow code in the functions.php of the child theme.

    function add_custom_script(){
    ?>
    
    
    

    Just change the add_custom_script by the name that you want.

    Best regards,
    John Torvik

    #788512

    Hi,
    Thank you for the reply.
    What if I don’t want to change to a child theme? I already have everything working without a child theme and don’t want to move to a child theme.
    Can I modify the main theme’s functions.php? Is there any other alternate way to add it without using a child theme?

    Thanks

    #789508

    Hi!

    Yes, you can modify the parent theme’s functions.php file but it’s going to be overwritten once you update the theme. Please move to a child theme.

    // http://kriesi.at/documentation/enfold/using-a-child-theme/

    Or use the following plugins:

    // https://wordpress.org/plugins/my-custom-functions/
    // https://emoji.wordpress.org/plugins/my-custom-functions/

    Cheers!
    Ismael

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