title: Wordpress query posts with thumbnail images and recent post titles
body: <p>i am beginner to wordpress theme development.I am developing a theme.I am going through a problem.</p>
  
  <p>In my index.php page i want the most latest post displayed as thumbnail.The second,third and fourth latest post is displayed with only title.I also have five categories.I want the posts displayed category wise.</p>
  
  <p>Now how to do that.Can anyone help me???</p>