updated   : May 15, 2012
we now have 588 snippets
category shortcode
By : , on May 15, 2012 9:06 am

Shortcode to display users IP address in posts & pages

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you use a shortcode to display the users IP address in your posts or pages.

read more
By : , on May 07, 2012 9:00 am

Remove inline style from gallery shortcode

wordpress snippet

The WordPress gallery shortcode will add some inline CSS to your document however if I’m like many of you, I would rather use my own. Adding the above snippet to the functions.php of your wordpress theme will disable the default gallery styles from being inserted into the page.

read more
By : , on May 03, 2012 9:00 am

Include external file shortcode

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you include an external file into your post / page using a shortcode. Interesting snippet something you should be careful within but could come in handy for a number of people.

read more
By : , on January 03, 2012 9:00 am

Shortcode with micro formatted loop, meta, category, pagination

wordpress snippet

Here’s a neat little wordpress shortcode that allows posting of individual blog posts based on ID, latest number of blogposts from a certain category or all categories, optional pagination, optional excerpt or full content showing and optional meta.

read more
By : , on December 22, 2011 9:00 am

Display external files in posts using shortcode

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will allow you to include the content of an external file within your page using shortcode.

read more
By : , on November 28, 2011 9:00 am

Display the comment count using a shortcode

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you display the comment count for any post by simply using this shortcode [comments id="23" ] replacing the ID with the post ID you want to display the count for.

read more
By : , on October 28, 2011 9:00 am

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
By : , on October 26, 2011 9:00 am

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