Support » Fixing WordPress » Random Posts with Featured Image

  • Resolved Martin Black

    (@ownedbyhleb)


    Is there a way to use query_posts to collect only posts which have had a featured image set? (i.e. the “set featured image” has been done through the admin panel when posting the items).

    I am in the process of creating a random posts showing only thumbnails so this would be quite handy to be able to exclude post which don’t have a featured image.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Random Posts with Featured Image’ is closed to new replies.