Yes, they should look at this problem and fix it.
Pinterest is very important for my site.
I haven’t tried yet the solution by listsy since I cannot mess with the code of the site until early morning, due to the visitors on my site.
Every time a visitor pins an image from my site, the rich pins data gets wrong on pinterest.
I have to manually switch to another theme and rescrap each article that are affected by the bug from Newspaper.
It’s time consuming and it’s a loss of revenue for me.
I really hope that they take a look at this with one of their test sites and with Pinterest’s URL Debugger.
-
This reply was modified 9 years by
freddre.
Hey, the first screenshot is the same as the “td_wp_booster_functions.php” one.
I’ve scrapped the rich pins but now it doesn’t even show any title
The other theme has no rich pins implemented.
My other plugins are not conflicting with Pinterest, I’ve already tried by disabling them.
It’s the theme that is conflicting with the scraping of the rich pins
I’ve managed to erase the show author meta tag and OG image but when I purge the Cache, go to Pinterest URL Debugger and scrap the new data, it shows the author’s name as the name of the article.
I know it’s the theme since I’ve switched to another that I already had and Pinterest managed to grab the rich pins data correctly.
You can see it for yourself here:
https://developers.pinterest.com/tools/url-debugger/
Use this URL: http://ninjacosmico.com/6-space-buns-try-summer/
I’ve tried erasing these lines from the php file you shown:
// facebook sharing fix for videos, we add the custom meta data
if (has_post_thumbnail($post->ID)) {
$td_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
if (!empty($td_image[0])) {
echo '<meta property="og:image" content="' . $td_image[0] . '" />';
}
}
// show author meta tag on sigle pages
$td_post_author = get_the_author_meta('display_name', $post->post_author);
if ($td_post_author) {
echo '<meta name="author" content="'.$td_post_author.'">'."\n";
}
}
But when I did that, the site stopped working.
I’ve disabled the author name from the theme panel but it keeps appearing on the html code:
http://ninjacosmico.com/6-space-buns-try-summer/
Here’s the URL:
http://ninjacosmico.com/privacy-policy/
Best regards
I cannot make it disappear.
The adsense codes are still there…
Hi,
I’ve added the code on Custom CSS but now the page in question is blank.
On the Custom CSS there’s an alert on the left side stating “use of !important”
What do I do?
Thanks