wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Shortcode for HTML5 audio in posts and pages

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a new shortcode for HTML5 audio. Just add the second snippet of shortcode to a post or page to add HTML5 audio.

read more

Shortcode for HTML5 video in posts

wordpress snippet

Adding the first snippet to the functions.php of your wordpress theme will create a new HTML5 video shortcode. Place the shortcode below in your posts to display your video.

read more

Microformatted and HTML5 compliant loop

wordpress snippet

Why not replace your existing wordpress loop within your theme to a microformatted and HTML5 compliant loop.

read more