Viewing 5 replies - 1 through 5 (of 5 total)
  • Ah sorry, not at this time. It always inserts above the text, but the text can wrap around it.

    You could try just adding this code to the bottom of your theme’s functions.php file (caution, first make backups, have FTP access for repairs if need be, etc) and it’ll add the image below the text:

    function featuredtoRSS($content) {
    global $post;
    if ( has_post_thumbnail( $post->ID ) ){
    $content = $content . '<div>' . get_the_post_thumbnail( $post->ID, 'medium', array( 'style' => 'margin-top: 15px;' ) ) . '</div>';
    }
    return $content;
    }
    add_filter('the_excerpt_rss', 'featuredtoRSS');
    add_filter('the_content_feed', 'featuredtoRSS');
    Thread Starter bluemuse

    (@bluemuse)

    Hi rob, thanks for the quick answer, It seemed to work if I put the image above the text and inserted the image into the post instead of using the featured image, is there a dis-advantage to using the image inside the post as opposed to a featured image?

    Ah that would work, depending on the theme and how it displays the posts, etc. If it’s working for you the way you want, you’re all good.

    Featured images are used by themes in different ways, so if you ever change themes, then it may require a featured image be set to show it, but perhaps you can cross that bridge if you ever get to it.

    Thread Starter bluemuse

    (@bluemuse)

    Your code wound up being what I used as it solved some other layout issues that cropped up.

    Thanks again for your help!!

    Nice! My pleasure. Consider a donation if I saved you some headache.

    https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R4SE22RQ4CB2E

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image Below Text’ is closed to new replies.