wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

Limit the number of post revisions

wordpress snippet

Adding this PHP code to your wp-config.php will limit the number of post revisions.

read more

Total user comments

wordpress snippet

Add the first block of PHP code to your functions.php then add the second block into your comments.php in the location you wish to display the total number of author comments. Another great little snippet from problogdesign.com

read more

Adding classes to previous_posts_link()

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will add a class to your previous_posts_link() and next_posts_link().

read more

Realted posts using multiple tags

wordpress snippet

This related posts snippet will compare multiple tags and display relevant related posts. Add this PHP code to the single.php of your wordpress theme.

read more

Increasing categories selection height

wordpress snippet

Adding this PHP code to your functions.php of your wordpress theme will increase the height of your categories in the wordpress admin. This is great for people that have a lot of categories

read more

Is sidebar widget active

wordpress snippet

Adding this PHP code to the sidebar.php for your wordpress theme will let you check if a sidebar widget is active if not display something else.

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