(workaround) Page does not contain publisher markup
-
Hi,
I want to use the Google+ icon from the plugin to represent the Google+ publisher, preventing the message:
Page does not contain publisher markup
at the Google Structured Data Testing Tool.
To achieve this I’ve replaced the following lines in social-widget.php:
$html .= '<a href="' . $slug . '" ' . $this->nofollow . ' ' . $this->newtab.'>';
with this
$html .= '<a href="' . $slug . '" ' . $this->nofollow . ' ' . $this->newtab .' '; if (strpos($slug,'plus.google.com') !== false) { $html .= 'rel="publisher"'; } $html .= '>';
It would be great if this is implemented in the next release ??
https://www.ads-software.com/extend/plugins/social-media-widget/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘(workaround) Page does not contain publisher markup’ is closed to new replies.