-
AuthorPosts
-
August 17, 2016 at 12:51 pm #673693
Hi,
When setting up a new Pinterest account, I’ve come to the stage of confirming my website and it states:
Copy and paste this tag to the <head> section of your website’s index.html file.
Can I do this easily within the Enfold theme options, or do I need to pass this to my tech guy?
Thanks.
August 18, 2016 at 7:16 am #674061Hey CorrinaGB,
You could try to paste it into the Google Analytics box to see if it works, if not then please post the code here and we’ll give you a function to use.
Thanks,
RikardAugust 18, 2016 at 10:34 am #674099Thanks. That didn’t work; the error message is “API method not found”.
I’ll paste the tag into the private content section of this message to you.
Warm wishes,
CorrinaAugust 19, 2016 at 8:29 am #674583Hi,
Ok, try this at the end of your functions.php file instead:
function ava_register_pinterest(){ ?> THE CODE YOU PASTED GOES HERE <?php } add_action('wp_head', 'ava_register_pinterest');
Thanks,
Rikard- This reply was modified 8 years, 4 months ago by Rikard.
August 19, 2016 at 4:11 pm #674803Thanks Rikard. How specifically do I add something to the end of my functions.php file?
August 21, 2016 at 5:56 am #675194Hi,
Go to Appearance–>Editor and then find the functions.php file there, paste the code at then end of it then select to save.
Thanks,
RikardAugust 28, 2016 at 9:13 am #678597Thanks Rikard. Could you please check the code and let me know if there’s an alternative as the current version brings my site down each time we attempt to add it. Thanks.
August 28, 2016 at 10:33 am #678605Hi!
Please copy the code from the original post and not from the email, as the code if copied from the email will be wrong.
Please do it ike that and let us know if the issue still there,Best regards,
BasilisMay 24, 2017 at 3:00 am #798684You said to: Go to Appearance–>Editor and then find the functions.php file there, paste the code at then end of it then select to save.
I did that and nothing happened after hitting update and save, so I went back and deleted what I had just put in and saved, now the site is completely broken, with this error message on any page I try to get to on lordstyrofoam.com, like lordstyrofoam.com/#videos or whatever. HELP!!
Parse error: syntax error, unexpected ‘<‘ in /home/content/p3pnexwpnas16_data02/89/3728089/html/wp-content/themes/enfold/functions.php on line 573
May 24, 2017 at 8:07 am #798756Hi @phairlever,
You must have done something wrong then, if your site is still not accessible then please try to locate the file you edited using FTP software and remove the code you added.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.