There are some wordpress snippets that I use on my projects