[Resolved] Featured Image not shown on Socials

Home Forums Support [Resolved] Featured Image not shown on Socials

Home Forums Support Featured Image not shown on Socials

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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, NL

    https://www.yory.nl/

    https://postimg.cc/gallery/y9zV4PP

    #2470254
    David
    Staff
    Customer Support

    Hi 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 the twitter:image meta on your site ( i checked a few posts ).

    #2470281
    Yolanda

    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!
    Yolanda

    https://postimg.cc/JyJkyy7P

    #2470304
    Yolanda

    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!
    Yolanda

    https://www.yory.nl/openbaarheidsdag-letterlijk-een-dag-van-openbaring/

    #2470337
    David
    Staff
    Customer Support

    You’re welcome

    #2477774
    Yolanda

    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,
    Yolanda

    #2477866
    David
    Staff
    Customer Support

    Hi 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' );
    #2478103
    Yolanda

    David, you are again my Superhero; that worked!!

    Thank you and Happy New Year!
    Yolanda, NL

    #2478105
    David
    Staff
    Customer Support

    Glad to be of help.
    And best wishes for 2023

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.