Some wordpress useful snippets that I use frequently in my projects