Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #875754

    Lumiere
    Participant

    I installed a child theme yesterday so I could use the facebook pixel code.

    I activated the child theme – and put the facebook pixel code int eh functions.php. But I know can’t get into my site or see anything?!?!?

    I get:

    The http://www.zoegolightly.com page isn’t working

    http://www.zoegolightly.com is currently unable to handle this request.

    #876140

    Christopher
    Moderator

    Hi there,

    Please connect to FTP and remove the code you added in functions.php under wp-content/themes/x-child/functions.php, refresh the page and check if it solves the issue.

    Then provide us with login and FTP credentials in private replay.

    Thanks.

    #876784

    Lumiere
    Participant
    This reply has been marked as private.
    #876902

    Lumiere
    Participant

    my bluehosting just fixed this. it was something about installing the child theme.

    can you tell me how I can install the facebook pixel and also google tag manager code. do i need to install a child theme – and if so how do i do it without making my site disappear 🙂

    thanks!
    Zoe

    #877554

    Friech
    Moderator

    Hi There,

    Thanks for writing in! Please follow this page: https://community.theme.co/child-theme/ and download the x child theme. Then upload this to your site like how you upload a regular theme.

    After a successful child theme installation. Login to your server via FTP, and navigate to this directory \wp-content\themes\x-child\. You should see a functions.php file in there. Edit that file and add the code below and then save.

    add_action('wp_head','fb_pixel');
    function fb_pixel () {
    ADD YOUR PIXEL CODE HERE
    }

    Replace the string ADD YOUR PIXEL CODE HERE with your actual pixel code that is provided by Facebook.

    Hope it helps, Cheers!