- This topic has 8 replies, 2 voices, and was last updated 2 years, 7 months ago by
David.
-
AuthorPosts
-
December 22, 2022 at 2:22 am #2470214
Yolanda
Hello support,
I’m having a problem with showing a featured image on Twitter and in Inoreader (RSS reader). This has been an issue for me for more than a year now. It’s not a problem with the Twitter Validator, but when I start a Tweet and paste the URL in the Tweet box, the FI doesn’t show. (FYI: It works properly in FB and Linkedin.)
This week I’ve changed some settings in GP, because I realized I turned off the option to show the FI, because I always add the FI in the article manually. I realize this is not what I want for the future.
But after making these changes in GP (so allowing the FI to show), it still doesn’t work in Twitter, nor in Inoreader (share an article on Twitter). And in Inoreader itself my FI doesn’t even show in the list.
I’ve contacted Yoast; they can’t help me.
I’ve searched online; it seems that many people have the same issue on Twitter. But I also see other Tweets with a correct FI.But now that I’m facing this issue in my Inoreader Dashboard (see screenshot), I just wonder if there could be something wrong in my GP Theme/code?
So that’s why I’m reaching out to you – is there anything you can see what is wrong with my FI??
Thank you!
Yolanda, NLDecember 22, 2022 at 3:11 am #2470254David
StaffCustomer SupportHi there,
in Yoast, whilst in the post editor, its Social settings include a field to add a:
Twitter image
Is that filled in ? As i do not see the thetwitter:image
meta on your site ( i checked a few posts ).December 22, 2022 at 3:45 am #2470281Yolanda
Hi David,
I’ve had 10-15 email conversations with Yoast about this. I’m using their Pro plugin, and the Social Settings is all automatic filled in, see screenshot. So I don’t upload the Twitter image separately.
You do give me the idea to do so, so I’ll get back to you after some testing.Thanks!
YolandaDecember 22, 2022 at 3:58 am #2470304Yolanda
Hi David,
In 1 article I’ve added the FI manually, and yes I can see the Twitter:image! And not on the other articles.
And I can also post the article on Twitter with the FI!
This is interesting. So I will contact Yoast to point this out to them.Thank you Superman David!
Yolandahttps://www.yory.nl/openbaarheidsdag-letterlijk-een-dag-van-openbaring/
December 22, 2022 at 4:41 am #2470337David
StaffCustomer SupportYou’re welcome
December 30, 2022 at 4:13 am #2477774Yolanda
Hello Support,
I would like to re-open this topic, as I now have issues with showing my Featured Image in RSS Feed Readers. (Twitter seems to work now after using the Validator.)
But In RSS Readers Inoreader and FeedBro they are not showing, and I don’t know what causes this.
Could there be something in the code/theme what is hiding the FI for these displays?
https://postimg.cc/gallery/K2B8rTm
Thank you,
YolandaDecember 30, 2022 at 6:21 am #2477866David
StaffCustomer SupportHi there,
try adding the following PHP snippet to add featured images to the feeds:
function wpcontent_featured_image_in_feed( $content ) { global $post; if( has_post_thumbnail( $post->ID ) ) { $content = '<p>' . get_the_post_thumbnail( $post->ID ) . '</p>' . $content; } return $content; } add_filter( 'the_excerpt_rss', 'wpcontent_featured_image_in_feed' ); add_filter( 'the_content_feed', 'wpcontent_featured_image_in_feed' );
December 30, 2022 at 7:55 am #2478103Yolanda
David, you are again my Superhero; that worked!!
Thank you and Happy New Year!
Yolanda, NLDecember 30, 2022 at 7:59 am #2478105David
StaffCustomer SupportGlad to be of help.
And best wishes for 2023 -
AuthorPosts
- You must be logged in to reply to this topic.