Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1135536

    Hello Enfold Helpers!

    I attempted to paste into header code from Pinterest and received the following message:
    An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

    Can you help me? I want to connect my Pinterest Biz page to my site.

    Thank you so much!

    Alix

    #1135781

    Hey Alix,

    What code are you trying to add, and where exactly is it supposed to go? We might be able to give you a function to use instead of pasting it directly to header.php.

    Best regards,
    Rikard

    #1138051

    Hello,
    I am trying to paste the pinterest code below into the header:

    <meta name=”p:domain_verify” content=”eac1a515f5defb1998ac5cc6e34c7ccb”/>

    I currently have a Facebook Pixel in the header and attempted to paste this into the line below and received the error message that posted above.

    thank you for your help with this!

    #1138452

    Hi,

    Thanks for that, please try this in your functions.php file:

    function alix_add_pinterest_code() {
    ?>
    <meta name="p:domain_verify" content="eac1a515f5defb1998ac5cc6e34c7ccb"/>
    <?php
    }
    add_action('wp_head', 'alix_add_pinterest_code');

    Best regards,
    Rikard

    #1149504

    Thank you…not sure where to locate functions.php

    I tried on the front page CSS and quick css in general styling.

    Still not able to save it there and connect to pinterest business page.

    #1149572

    Hi,

    You can find that file under Appearance->Theme Editor.

    Best regards,
    Rikard

    #1151970

    Hello,
    I tried to paste the code above into the Theme Editor (Theme Header) and got this error message:
    Your PHP code changes were rolled back due to an error on line 86 of file wp-content/themes/enfold/header.php. Please fix and try saving again.

    syntax error, unexpected ‘}’, expecting end of file

    Still not sure how I can “claim” my pinterest page.

    Thank you,
    Alix

    #1152332

    Hi AlixandraJoy,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1152829

    Hello and thank you for responding to my question. Below are my login credentials:

    • This reply was modified 5 years ago by Victoria.
    #1152870

    Hi AlixandraJoy,

    Thank you. Can you please share the login link too?

    Best regards,
    Victoria

    #1152893
    This reply has been marked as private.
    #1153045

    Hi,

    Thanks for that, though I’m not sure what I’m looking at, it doesn’t seem to be a WordPress page? We need to be able to login to your WordPress installation in order to help you out.

    If you want to try yourself then please paste the code I sent you into functions.php in your child theme, not header.php.

    Best regards,
    Rikard

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