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

Media library admin columns with attachment id

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add a new column within the media library admin columns with the attachment id.

read more

Add post ID to posts, pages admin columns

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add ID to post and pages admin columns.

read more

Add custom pointers in themes and plugins

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you take advantage of a new feature called pointers. Many of you may have noticed pointers in recent wordpress updates. Just update the pointer_content variables with the information you would like to display and the ID with jquery to assign the pointer “$(‘#menu-appearance’)”.

read more

Disable the help menu for admin only

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will display the help menu for the admin only.

read more

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