Show featured image before post content

  • Kailash


    Hi Syahir,

    I am using below function to show featured image before post content.

    its showing image on desktop site but not in mobile site. is there another code for mobile theme?

    function featured_img_thumb() {
    <span class="post-thumbnail">
    <?php the_post_thumbnail(); ?>

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.