wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Remove buttons from add media popup

wordpress snippet

Run into this snippet not to long ago that will let you remove every button from add media popup. This will remove all but the delete button from the media popup so have fun and enjoy.

read more

Creating custom styles drop down in TinyMCE

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you create a custom styles drop down menu. Modify the array to create custom html elements and classes that can be inserted into the TinyMCE visual editor. This is a great little snippet that will let your clients add special elements to the TinyMCE editor without knowing a single thing about HTML or even shortcodes.

read more

Add custom media_buttons for shortcode selection

wordpress snippet

I was looking for a simple way to create a menu for my shortcode items and although you can create tinymce plugins I found it to be a pain. So I decided to create a simplified select menu that would require me to change a little HTML to add new items. Adding this wordpress snippet to the functions.php of your wordpress theme will add a new select menu beside the add media icon. Edit the value= to change the inserted text.

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