20 More WordPress Code Snippets and Hacks

When coding WordPress themes, especially if you do it regularly, its really useful to have a selection of code snippets in your toolbox to just ‘copy-n-paste’ as and when the functionality needs. Not just your most commonly used code, but also some snippets that can, when required, extend WP even further.

A few months back we published the post 20 Plugin Replacing Tutorials, Tips, Snippets and Solutions for WordPress, which provided snippets of code for replacing some of the most popularly used plugins. This time around we have code snippets that focus on extending the functionality of WordPress even further. Just like the previous post, there are 20 very useful snippets in total, covering many areas of theme development, including tracking page-views, custom shortcodes and widgets, custom title lengths and excerpts, and much, much more.

View Post …