• Hi All,

    I’m using a plugin which sets first image of post as featured image on the front page. My theme sets the alignment of all featured images to left:

    the_post_thumbnail( $image_name, array( ‘class’ => ‘alignleft’ ) );

    How should I change this code so that the thumbnail image alignment options remain the same as set in the post? For example I add a picture for the post with alignment right, the plugin sets it as featured image and on the front page it remains on the right?

    This issue was discussed in an earlier topic but was not really solved:

    http://wordpress.org/support/topic/aligning-thumbnail-images?replies=12

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘First image as featured with same alignment option?’ is closed to new replies.