WordPress.org

Ready to get started?Download WordPress

Forums

Want thumbnails to display on front page which links to individual posts (2 posts)

  1. preitybansal
    Member
    Posted 1 year ago #

    Hi all,

    I want to make my homepage such that only thumbnails are displayed on the homepage and those thumbnails links to the individual posts with their detailed description..

    For example I want to achieve the same effect as it is on this site... please have a look. http://www.themesbase.com (Below Recently uploaded templates)

    Any idea how to do this. Your idea will be appreciated..

    Thanx a lot.

    Regards
    Preity

  2. wpismypuppet
    Member
    Posted 1 year ago #

    You'll want to read up on this page:

    http://codex.wordpress.org/Post_Thumbnails

    and follow the directions for adding featured image support. It also has examples such as:

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

    to actually place the image on the page. You'll want to wrap that image in an anchor tag with the_permalink() to make it clickable, so it will take you to the post it's attached to.

Topic Closed

This topic has been closed to new replies.

About this Topic