diff --git a/functions.php b/functions.php index b61a714..fc3fc88 100644 --- a/functions.php +++ b/functions.php @@ -13,4 +13,4 @@ require_once locate_template('/lib/nav.php'); // Custom nav modifica require_once locate_template('/lib/gallery.php'); // Custom [gallery] modifications require_once locate_template('/lib/comments.php'); // Custom comments modifications require_once locate_template('/lib/scripts.php'); // Scripts and stylesheets -require_once locate_template('/lib/custom.php'); // Custom functions +require_once locate_template('/lib/extras.php'); // Custom functions diff --git a/lib/custom.php b/lib/custom.php deleted file mode 100644 index a7a52fb..0000000 --- a/lib/custom.php +++ /dev/null @@ -1,4 +0,0 @@ -' . __('Continued', 'roots') . ''; +} +add_filter('excerpt_more', 'roots_excerpt_more'); + +/** + * Manage output of wp_title() + */ +function roots_wp_title($title) { + if (is_feed()) { + return $title; + } + + $title .= get_bloginfo('name'); + + return $title; +} +add_filter('wp_title', 'roots_wp_title', 10);