Deploy to live site

Updated functions.php with some new methods from WP API. Updated
templates to use dynamic relative path instead of fixed path.