wordpress snippets last updated   : September 29, 2014
we now have 639 snippets

Hide posts and pages within the admin from users

wordpress snippet

I have had a few projects that required me to create a page that is for template use only. I may need to add shortcode or something to the page. Now since I don’t want my client to edit this page and possibly break things I hide the pages. Adding this snippet to the functions.php of your wordpress theme will allow you to add id’s for each of the posts or pages you wish to hide.

read more

Disable the admin bar completely

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will completely disable the wordpress admin bar. You may hate the admin bar or you may love the admin bar either way you may have a need to remove it enjoy!

read more

Hide all slugs

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will hide the slugs from the post editor admin page.

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