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

Media library URL column for easy copy and paste

wordpress snippet

Add this snippet to the functions.php of your wordpress theme to create a new column with the original file URL. I have had a few projects in the past that required a client to copy and paste a files URL into a custom field or metabox this will just make life a little easier. Thanks to Steve Taylor for this snippet, I just expanded on it a little with the input field and onclick select.

read more

Disable flash media file uploader

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable the flash media uploader.

read more

Disable plugin deactivation for specific plugins

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will enable you to remove the deactivate link from specific plugins. This will help you stop clients from deactivating core plugins while still providing access.

read more

Change set featured image text within admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will change the “Set featured image” text to “Set default image” or what you would like.

read more

Attach a navigation menu to the admin bar

wordpress snippet

I stumbled into this slick little snippet idea by Jan Fabry while visiting stack exchange. Adding this snippet to the functions.php of your wordpress theme will use the wordpress menu feature to create a new menu within the admin bar. Call your menu “WPSE 15186 test menu” or change the menu name within the code to whatever you like.

read more

Add keyword density and keyword highlight to admin bar

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will make use of a few JQuery plugins to display keyword density and keyword highlight to your admin bar.

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