Skip to content

Instantly share code, notes, and snippets.

@Binternet
Created January 10, 2017 20:57
Show Gist options
  • Save Binternet/9ab7b866b5001d2ff5e58a772fe8d65c to your computer and use it in GitHub Desktop.
Save Binternet/9ab7b866b5001d2ff5e58a772fe8d65c to your computer and use it in GitHub Desktop.
single-attachment.php for wpSticky
<?php
global $post;
wp_head();
?>
<img src="<?php echo $post->guid ?>" class="wp-image" alt="">
<?php
wp_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment