I want to show my featured image in middle of my post automatically

287 views Asked by At

I want to show my featured image in middle of my post. I already have:

<?php  
   if ( has_post_thumbnail() ) {
      the_post_thumbnail();
   } 
?>

in my file content-single.php. It displays the featured image in top of my post. But I want to display featured image in middle of my blog-post automatically. How can I write code for it? Anyone have any ideas?

0

There are 0 answers