id="li-comment-">
id="li-comment-">
__( 'Primary Navigation', 'darkwood' )
) );
// Fallback for primary navigation
function darkwood_page_menu() {
wp_page_menu( 'sort_column=menu_order&depth=1' );
}
/**
* Filters wp_title to print a neat tag based on what is being viewed.
*
* @since Dark Wood 1.9
*/
function darkwood_wp_title( $title, $sep ) {
global $page, $paged;
if ( is_feed() )
return $title;
// Add the blog name
$title .= get_bloginfo( 'name' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
$title .= " $sep $site_description";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
$title .= " $sep " . sprintf( __( 'Page %s', 'darkwood' ), max( $paged, $page ) );
return $title;
}
add_filter( 'wp_title', 'darkwood_wp_title', 10, 2 );
/**
* Load Jetpack compatibility file.
*/
if ( file_exists( get_template_directory() . '/inc/jetpack.php' ) )
require get_template_directory() . '/inc/jetpack.php';
comment_approved == '0') : ?> .