Code snippets and tweaks for wordpress