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

Insert calendar into wp_nav_menu

wordpress snippet

Needed this for a recent project as a client wanted to display the wordpress calendar as a dropdown item within the menu. Add this snippet to the functions.php of your wordpress theme will add a new menu item to your wp_nav_menu that has a submenu calendar.

read more

Add search form to specific wp_nav_menu

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the search form to your wordpress wp_nav_menu. Don’t forget to update the MENU-NAME to specify the menu you wish to display within, just in case you have multiple menus.

read more

Remove menu items from 3.3 admin bar

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove menu items from the wordpress 3.3 admin bar.

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

Display top 8 authors in wp_nav_menu using wp_list_authors

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add an authors item to your wp_nav_menu listing top eight authors by post count.

read more

Remove all admin $submenu items

wordpress snippet

This is a list of all the wordpress submenus that you can remove from the wordpress admin. Please note that if you don’t remove the primary admin menus as well some sections will still be accessible.

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