In this guide we will learn how to display featured image above the title on single post in genesis theme. Here, the trick is applied on “Genesis Sample” theme and we believe in other theme it will also work. Till now, we have tested this in Genesis theme called Eleven40, Magazine Pro and Genesis Sample.
Beautifying the blog is now a days very important.Images are important part of any post either you are doing story telling, showing your work etc.
Role of displaying the featured image above single post’s title is always catchy to user. It is just for readers. Blogger should also consider some points that blog should have good readability and readers should not be distracted by this featured images.
It is very important the featured images should be meaningful and attractive. This will definitely add the good value to the blog.
Featured Image above title on post
It is quite simple trick. You only have to edit the functions.php file in Genesis theme and add the given below codes at the end of functions.php file.
For editing the functions.php file , click on the path in your wordpress site admin dashboard. “Appearance >> Editor >> functions.php”
// Featured image above title on every single Posts
add_action('genesis_before_entry', 'featured_post_image', 8);
if (!is_singular('post')) return;
Never forget to save the functions.php file.
You can now check the changes in your blog/site. You have to clear the cache if you are using in your blog to see the changes.