I’m still new to WP and I’m having problems displaying the featured image of posts.
I have added theme support for post thumbnails in functions.php
<?php add_theme_support('post-thumbnails'); set_post_thumbnail_size( 50, 50, true ); ?>
I have added images as the featured image to posts.
I have home.php as the Template page for a home page where I would like to display the post_thumbnail but the thumbnails don’t display and the else echos ‘no thumbs’ is output.
Is there anything obvious from the page why this isn’t working or something else I need to do.
Thanks in advance for any help.
- The topic ‘post_thumbnail in post?’ is closed to new replies.