Oft-used functions added to functions.php

Signed-off-by: Bryan Hoffman <bryan@spigotdesign.com>