Skip to content
Public Ticket #5240

AMP page

Conversation thread

ermesagencysrls replied

Customer Reply

Ok. I did as you reported (see screenshot)

\

Check the search console to see if google still warns of the error

\

Thank you

Penci Design replied

Staff Reply

Hi,

I forget. When you uncheck "Show Share Box" option ( http://prntscr.com/llh5i9 ), share box on your website only display none but isset markup. Please try go go Appearance > Customize AMP > Post Options , then check list option:

  •  Hide Facebook Share Button
  •  Hide Twitter Share Button
  •  Hide Google Plus Share Button
  •  Hide Pinterest Share Button
  •  Hide Linkedin Share Button
  •  Hide Tumblr Share Button
  •  Hide Reddit Share Button
  •  Hide Stumbleupon Share Button
  •  Hide Whatsapp Share Button
  •  Hide Telegram Share Button
  •  Hide Email Share Button
  •  Hide Digg Share Button
  •  Hide Vk Share Button
  •  Hide Line Share Button
  •  Hide Viber Share Button


Please check  screenshot: http://prntscr.com/llh57h

Best Regards,

PenciDesign

ermesagencysrls replied

Customer Reply

ok I'm waiting for the validation of Google.

\

Only I'll point out: inthe code (from screenshot):  The letter V is missing from the word VIBER in this string:
href = "iber: // forward? text = Check out .. .. ..

Penci Design replied

Staff Reply

Hi,

Strange, I did not find the error as same you.

Please send me your website management information ( admin url site, username and password)  in order  for me to have access to know exact issue.

Best Regards,

PenciDesign

ermesagencysrls replied

Customer Reply

As I wrote i've temporary solved with a REPLACEMENT php snippet

\
\
function replace_content($content)\
{\
$content = str_replace('##Replace Me##', '##With Something Else##',$content);\
return $content;\
}\
add_filter('the_content','replace_content');

so you currently do not see problems in the test.\
Will the error be corrected in the future?\
In the original code of the template i think you can see the errore , but with this workaround in the meantime disappears.

ermesagencysrls replied

Customer Reply

I've temporary solved with a REPLACEMENT php snippet

\
function replace_content($content)\
{\
$content = str_replace('##Replace Me##', '##With Something Else##',$content);\
return $content;\
}\
add_filter('the_content','replace_content');

I'm waiting for a better solution if possible

thanks

ermesagencysrls started the conversation

Conversation Start

Hello, the AMP validator gives me an error in relation to a VIBER function.

\

Here is the answer of the validator:

\

Invalid URL protocol 'iber:' for attribute 'href' in tag 'a'. DISALLOWED_HTML
line 1, column 50024

\

I don't use VIBER. 

How can I solve?

Thanks

Want to join this conversation or access attachments? Sign in first.