• Resolved chocopuddin

    (@chocopuddin)


    Hello. I was wondering if anyone might have a easy way to add the thumbnail image to the post summary. For example, on the homepage is a list of the most recent posts. I would like to make the featured image visible next to the excerpt.

Viewing 1 replies (of 1 total)
  • Thread Starter chocopuddin

    (@chocopuddin)

    Okay, well I figured out how to get the image next to the excerpt. However, I want to align it left so that the excerpt shows up next to it rather than below. Any coders in here that might be able to help? I have added this coding so far…

    I added this to function.php:
    // add thumbnails to posts
    if ( function_exists( ‘add_theme_support’ ) )
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 100, 100 );

    I added this to content.php (before “entry content”)
    <div class=”thumbnail”><?php the_post_thumbnail(); ?></div>

Viewing 1 replies (of 1 total)
  • The topic ‘Add thumbnails to post summary’ is closed to new replies.