WordPress.org

Ideas

Enhance the_post_thumbnail to find first image of a post.

  1. parisvega
    Member

    12345

    If no thumbnail is defined from the post edit screen, the_post_thumbnail() would use the first image in the content. This behavior exists in a plugin called Get the Image: http://wordpress.org/extend/plugins/get-the-image/

    This would save a considerable amount of time when creating content and launching sites.

    Posted: 4 years ago #
  2. jimmyink
    Member

    12345

    This is a good idea, I've had to add code to do this into my functions file numerous times.

    Posted: 4 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    6 Votes
  • Status

    This is theme territory