diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index 2e6d3bfbed..1502227e92 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -34,13 +34,13 @@ if ( ! isset( $content_width ) ) /** * Adds support for a custom header image. */ -require( get_template_directory() . '/inc/custom-header.php' ); +require get_template_directory() . '/inc/custom-header.php'; /** * Twenty Thirteen only works in WordPress 3.6 or later. */ if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) ) - require( get_template_directory() . '/inc/back-compat.php' ); + require get_template_directory() . '/inc/back-compat.php'; /** * Sets up theme defaults and registers the various WordPress features that @@ -274,7 +274,7 @@ function twentythirteen_widgets_init() { register_sidebar( array( 'name' => __( 'Main Widget Area', 'twentythirteen' ), 'id' => 'sidebar-1', - 'description' => __( 'Appears in the footer section of the site', 'twentythirteen' ), + 'description' => __( 'Appears in the footer section of the site.', 'twentythirteen' ), 'before_widget' => '', 'before_title' => '

', @@ -305,7 +305,7 @@ function twentythirteen_paging_nav() { global $wp_query; // Don't print empty markup if there's only one page. - if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) ) + if ( $wp_query->max_num_pages < 2 ) return; ?>