Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #674061

    Hey 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,
    Rikard

    #674099

    Thanks. 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,
    Corrina

    #674583

    Hi,

    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 1 year, 11 months ago by  Rikard.
    #674803

    Thanks Rikard. How specifically do I add something to the end of my functions.php file?

    #675194

    Hi,

    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,
    Rikard

    #678597

    Thanks 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.

    #678605

    Hi!

    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,
    Basilis

    #798684

    You 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

    #798756

    Hi @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

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.