Tagged: x
-
AuthorPosts
-
April 10, 2016 at 8:33 pm #875754
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.
April 11, 2016 at 4:13 am #876140Hi 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.
April 11, 2016 at 11:58 am #876784This reply has been marked as private.April 11, 2016 at 12:59 pm #876902my 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!
ZoeApril 11, 2016 at 10:44 pm #877554Hi 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!
-
AuthorPosts