Microformatted and HTML5 compliant loop
Why not replace your existing wordpress loop within your theme to a microformatted and HTML5 compliant loop.
read moreCheck for post type within loop using get_post_type
Adding this snippet within the loop of your wordpress theme will let you conditionally check for a specific post type. Just change the post type ‘products’ or ‘people’ to the post type you would like.
read moreHow to display multiple custom field values
Adding this snippet within the loop of your wordpress theme will let you display multiple instances of a custom field value.
read morethis months featured snippets
Redirect home page to a random blog post
This is a slight mod of the wordpress post from yesterday (Redirect home page to first blog post) and think you might enjoy it. Add this snippet to the index.php template of your wordpress theme before get_header(). Your home page will automatically redirect to a random post from your wordpress database.
read moreRedirect home page to first blog post
Place this snippet at the top of the index.php template of your wordpress theme before get_header(). Your homepage will then automatically redirect to the first blog post.
read moreDisplay today’s posts only
Adding this PHP code to your wordpress theme will display your wordpress post but only from the current day.
read moreShortcode outside the loop
Adding this code snippet to your wordpress theme will allow you call to shortcode within a template.
read moreGet tags outside loop
Adding this PHP code to your wordpress theme will display a list of tags outside the loop.
read more











