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

Attach images with simple thumbnail selection metabox

wordpress snippet

A little snippet I wrote recently to easily attach images to posts with a simple thumbnail selection metabox. Add the first snippet to the functions.php of your wordress theme. Place the second snippet within the loop of your wordpress theme to display the images in your posts or pages.

read more

Disable content editor for specific page template

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable the content editor when a page is using a specific template. Don’t forget to change the name of the template file on line 08 this sample I have submit.php but can be changed to anything.

read more

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
jqsnipp.com | we just launched jquery snippets website