Adding function templates to functions.php