1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: How To Set Featured Image From Attachment

  1. Clicks today:
  2. Clicks this month:
  3. Overall rating:

PHP » Content Management Systems — almost 5 years ago
In WordPress theming featured image functionality helps in displaying unique images for posts, every time we have set a featured image , in order to reduce pain for us, i have found a snippet which helps to make attachment(image) as featured image. Add the following snippet in to your functions.php file.


Your Comment

You must be logged in to post a comment.