Shortcode for HTML5 video in posts
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 moreDisplay screenshot of any website using shortcode
Adding the first snippet to the functions.php of your wordpress theme will let you use the bellow shortcode to display a screenshot of any website.
read morethis months featured snippets
Add Tweetmeme button to your post with shortcode
Adding this snippet to the functions.php of your wordpress theme will let you add the Tweetmeme button to any location within your post.
read moreCountdown timer shortcode, display content after specified date
Adding the first snippet to the functions.php of your wordpress theme will let you use a shortcode to place a countdown timer on specific content within your post. Add the shortcode within the second snippet to your post with content you want to display after the specified date. I added a class of event so you can style the display of the message anyway you wish, enjoy!
read moreCreating oEmbed-Based shortcodes
Adding this snippet to the functions.php of your wordpress theme will create a youtube shortcode. This is a simple sample of an oEmbed-Based shortcode.
read moreEmbed Google books in your posts using shortcode
Adding the first snippet to the functions.php of your wordpress theme will let you use shortcode to embed google books. Just because it took me a while to find the ISBN number to embed a book. Look at the top right of the page when viewing a book for “About This Book”. Click on about this book and at the very bottom of the page you will find the ISBN number.
read moreCreating nested shortcode concept
Surely I’m not the first but after recently being asked by a visitor about nested shortcodes I figure I would fool around with the idea. Adding this snippet to the functions.php of your wordpress theme will let you fool around with the following nested shortcode [link][my_text][/link]. No tricks just pass $content into do_shortcode() and works like a charm.
read morelast months featured snippets
iframe shortcode for posts and pages
Adding this snippet to the functions.php of your wordpress theme will add a new shortcode so that you can add an iframe in posts or pages to any URL.
read more





















