Missing thumbnails in RSS feed

Community Forums Forums General Discussion Missing thumbnails in RSS feed

This topic is: not resolved

This topic contains 5 replies, has 4 voices, and was last updated by  Mealtog 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7184

    shaybocks
    Participant
    Post count: 15

    I tried to get help from the support center, but they directed me here.  Does anyone have any ideas I can try out?

    The thumbnails are missing from my RSS feed after installing genesis. I tried adding the following code to my functions.php file to no avail:

    function display_post_thumbnail_in_rss(
    $rss_content) {
    global $post;
    if ( function_exists( ‘get_the_image’ ) ) {
    $rss_content= ‘
    ‘.get_the_image(array( ‘default_image’ => ”, ‘image_scan’ => true, ‘width’ => ’150′, ‘echo’ => false ) ). ‘
    ‘.$rss_content;
    }
    return $rss_content;
    }
    add_filter(‘the_content_feed’, ‘display_post_thumbnail_in_rss’);
    add_filter(‘the_excerpt_rss’, ‘display_post_thumbnail_in_rss’);

    URL
    http://www.henryhappened.com/

    #7186

    Anita
    Participant
    Post count: 7341

    Try this and see if this one will work for you – http://www.blago.net/coding/snippets/two-ways-to-add-thumbnail-images-to-your-wordpress-rss-feed/


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #7203

    shaybocks
    Participant
    Post count: 15

    Thanks for the help, but that didn’t work either.  :(

    #7204

    Anita
    Participant
    Post count: 7341

    Sorry, I’ll keep looking and if I find something I’ll post it here.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #67451

    Gary10
    Participant
    Post count: 27

    Try this:

    Go to “Theme Settings” in your WP dashboard and scroll down to “Content Archives.”

    Select “Display Post Content” or “Display Post Excerpts” (I prefer “Post Content” with “Limit content to: 300 characters”

    Check “Featured Image” (make sure you have a featured image selected for each post)

    Select “Image Size” and save.

    • This reply was modified 10 months ago by  Gary10.
    • This reply was modified 10 months ago by  Gary10.
    • This reply was modified 10 months ago by  Gary10.
    • This reply was modified 10 months ago by  Gary10.
    #67482

    Mealtog
    Participant
    Post count: 378

    Anitac, the first of the 2 method worked for me. How do we control size of the thumbnail in the feed?

    Gary, what you suggested only controls thumbnails in the category / archive pages no and not the feed no?

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.