wordpress snippets last updated   : October 6, 2014
we now have 641 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

Display calendar

wordpress snippet

Adding this PHP code to your wordpress theme will display a calendar.

read more