wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

Limit archives widget to display only 12 months

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will limit the archives widget to display only 12 months. Replace the add_filter from the first snippet with the second add_filter bellow so this snippet will work for the dropdown archives widget.

read more

Beautifully formated archives by month separated by year

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will display a beautifully formated formatted archives list of months separated by year. Don’t forget to place the second snippet within your wordpress theme in the location you want to display the archives list.

read more

Posts this month

wordpress snippet

Adding this code to your template just before the loop will display posts from only the current month.

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