wordpress snippets last updated   : April 14, 2014
we now have 630 snippets
category page

Updated: Add featured thumbnail to admin post / page columns

wordpress snippet

This is an updated version of the posts thumbnail column snippet. Adding this snippet to the functions.php of your wordpress theme will add a new thumbnail column to your posts and pages admin columns.

read more

Add TinyMCE font select to 3rd row, always visible

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will enable and place the font selection dropdown menu within the 3rd row. If in the 3rd row items will always be visible without selecting the kitchen sink button.

read more

Automatically wrap images in the_content with custom html

wordpress snippet

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 more

Remove p tag from around images in the_content

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove the HTML p tag from around images in the_content.

read more

Display specific content if post has_tag or specific tag

wordpress snippet

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

Display wp_list_pages with dynamicly created exclude list

wordpress snippet

Adding the first snippet to the functions.php of your wordpress theme will use wp_list_pages but filter out any pages that contain no content creating an excluded_pages array. Then add the second snippet into your wordpress theme in the location you wish to display the pages.

read more
jqsnipp.com | we just launched jquery snippets website