Skip to content

Instantly share code, notes, and snippets.

@dededey
Created August 28, 2015 10:59
Show Gist options
  • Save dededey/86b922e35446ef5ece65 to your computer and use it in GitHub Desktop.
Save dededey/86b922e35446ef5ece65 to your computer and use it in GitHub Desktop.
thumbnail url
$url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment