Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • You call ravs_get_custom_image() with an image's post ID, and then you exclude it in the get_posts() call in ravs_get_custom_image(). Why? (Also, you can double-check your post thumbnail ID with something like echo( 'DEBUG: Thumbnail ID=' . get_post_thumbnail_id() . '<br />' );.) Commented May 29, 2013 at 1:06
  • @PatJ Truthfully, I've put all of this together through use of this forum and various tutorials. This is my first attempt at something this complex, and while I am trying to learn along the way it's possible I've missed something. Am I correct in understanding that I should remove 'exclude' => $featured_img from functions.php? (Doing that makes no changes to the site.) Commented May 29, 2013 at 1:36