Hey guys,
I’ve noticed a problem and I simply cannot fix it, although I tried editing the php files and doing some adjustments. Basically, I share a lot of my articles on Pinterest, with rich pins. Everything works perfectly unless the article is a review. That means if I enable “Is product review?” from the article’s edit, everytime I share that article, Pinterest picks up a title from the first article on the sidebar with its meta. If I disable the product review, it works perfectly.
If you guys have a solution, I’d greatly appreciate it. I’m sure it’s a minor edit somewhere, I just don’t know where. I’ve looked at the get_review function called in the footer, commented it directly in the php file, the problem persists. I’m not sure what else is called when the “Is article” option is enabled, but that function is not it.
I’m having the same issue. Vexx did you ever solve it?
Heya,
Ya, I solved it..sorry for getting back that late. Basically, the theme has the schema.org attributes all over the sidebar, in every link from the list. If you enable rich pins on Pinterest, it will scan your article page, and it will get the first link from your sidebar and get that.
The solution is simple, you must edit td_block.php and remove the itemprop attributes and add open graph to your article page. You can do that manually by addning the meta to your header or just install a plugin that does that for you.
Thanks Vexx! Your solution worked. Our team is very happy to have our Pinterest pins titles coming in correctly.
Hey Vexx and Certifiedangusbeef,
I’m having a similar problem, except instead of the sidebar my rich pins are pulling the title from the first post in my similar articles. I can’t seem to the folder td_block.php. Do either of you mind sharing what code you removed? Perhaps it’s hiding in one of my folders.
Hmm found td_block.php but now I can’t seem to locate the itemprop attributes. If anyone has any advice, it would be much appreciated!
I didn’t find the schema.org/article tags in td_block.php, they’re in /newspaper/includes/modules/td_module_X.php and it’s being placed there by get_item_scope(). To delete the itemprop=”name” on the h3 tags within td_module_X.php, edit the get_title() function in td_module.php and delete the itemprop=”name” from the h3 tag. That’s what I did and it worked for my blog, I just deleted the information from the td_module_X’s that I was using in the sidebar and for similar articles. In my case td_module_4 and td_module_6, so it’s probably different for you. You only want one schema.org/article per page for those rich pins. Hope this helps.
@certifiedangusbeef Thank you so so much for the thorough explanation! That did the trick. I’ve been trying to solve this issue for the past month. It was driving me crazy! So happy to finally have the proper titles being served to Pinterest.