Tagged: Error Message, header code, Pinterest
-
AuthorPosts
-
September 8, 2019 at 3:27 am #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
September 9, 2019 at 3:58 am #1135781Hey 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,
RikardSeptember 13, 2019 at 4:14 pm #1138051Hello,
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!
September 15, 2019 at 5:33 am #1138452Hi,
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,
RikardOctober 19, 2019 at 5:16 pm #1149504Thank 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.
October 20, 2019 at 6:33 am #1149572October 29, 2019 at 2:02 am #1151970Hello,
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,
AlixOctober 30, 2019 at 2:08 pm #1152332Hi 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,
VictoriaOctober 31, 2019 at 7:17 pm #1152829Hello and thank you for responding to my question. Below are my login credentials:
- This reply was modified 4 years, 11 months ago by Victoria.
October 31, 2019 at 9:37 pm #1152870Hi AlixandraJoy,
Thank you. Can you please share the login link too?
Best regards,
VictoriaOctober 31, 2019 at 11:27 pm #1152893This reply has been marked as private.November 1, 2019 at 2:19 pm #1153045Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.