Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Need help with sticky post on homepage #12112
    sobujbd
    Member

    @Sakin: I did it in another theme by adding the following code in single.php –

    <?php 
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
      the_post_thumbnail();
    } 
    ?>
    <?php the_content(); ?>

    How do I achieve the same result in your theme?

    Cheers

    in reply to: Need help with sticky post on homepage #12091
    sobujbd
    Member

    @Sakin: Thanks for the tips. I used divs in the post to achieve desired gap between paras. Just one more thing : how do I ad the thumbnail code in single.php to show thumbnails in single posts without having to add them in each post via ‘Add Media’? Thanks in advance…

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