Most themes already come with this support but if you are building one from scratch and you want to add this ability, just add this add_theme_support code to the functions.php file.
Rating: 0  
  Views: 1   

Get the post featured image url with this code.
Rating: 0  
  Views: 1   

To register a sidebar for the widget area in WordPress, use this code.
Rating: 0  
  Views: 1   

To get the post permalink in WordPress, use this code.
Rating: 0  
  Views: 2   

To get post meta data in WordPress, use this code.
Rating: 0  
  Views: 3