WordPress.org

Forums

Flato
[closed] Featured image (5 posts)

  1. lordofthemanor
    Member
    Posted 1 year ago #

    Hi,

    I just selected a featured image for a post but it doesn't seem to show after I check the website. Does this theme works with featured images?

    Thanks,
    Chris

  2. spun2u
    Member
    Posted 1 year ago #

    Would like to know this also. My guess is no.

  3. Janos Demeter
    Member
    Posted 1 year ago #

    In "index.php" search the line:

    <?php while ( have_posts() ) : the_post(); ?>

    right after that line, insert the code below:

    <?php if ( has_post_thumbnail()) : ?>
    <div style="float:left;margin:7px;"> " title="<?php the_title_attribute(); ?>" >
    <?php the_post_thumbnail('thumbnail'); ?>
    </div>
    <?php endif; ?>

    It will show your featured image in excerpt with a thumbnail linking to your post.

  4. anjaneyabattu
    Member
    Posted 11 months ago #

    thanks you for your help,

    I am also facing these problem after placing the code i got the featured image. But it placed side of the post, i need the featured image after title and author info. if it is possible, please help me.

    Thanks.

  5. Andrew
    Forum moderator
    Posted 11 months ago #

    Could you create a new thread http://wordpress.org/support/theme/flato#postform

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.