Display attachment thumbnail with image metadata
Adding this snippet within the loop of your index.php template file will display a list of all post attachments with the following metadata (Credit, Camera, Focal Length, Aperture, ISO, Shutter Speed, Time Stamp, Copyright).
read moreAttach images with simple thumbnail selection metabox
A little snippet I wrote recently to easily attach images to posts with a simple thumbnail selection metabox. Add the first snippet to the functions.php of your wordress theme. Place the second snippet within the loop of your wordpress theme to display the images in your posts or pages.
read moreConditionally display content on last post
Adding this snippet within the loop of your wordpress theme will let you display something only if it is on the last posts.
read morethis months featured snippets
Automatically wrap images in the_content with custom html
Adding this snippet to the functions.php of your wordpress theme will automatically wrap images in the_content with any custom HTML that you wish.
read moreAdd class to next and previous post_link
I recently needed to use this for a theme I was building figured I would post the results up here for everyone. Adding this snippet to the functions.php of your wordpress theme will add a custom class to next and previous post_link.
read moreMicroformatted and HTML5 compliant loop
Why not replace your existing wordpress loop within your theme to a microformatted and HTML5 compliant loop.
read moreDisplay post format in your theme
Adding this snippet to your wordpress theme will display the post format or ‘standard’ if no post format is available.
read moreDisplay specific content if post has_tag or specific tag
Adding this snippet within the loop of your wordpress template will let you display specific content if a post has tags or not. Also note that has_tag(‘tag_name’) suports, tag name, term_id or slug and an array of tag names, term ids and slugs. Also a big thanks to Jeremy for submitting the following.
read more











