Update functions.php and archives.php