' . $title . ''; echo apply_filters( 'hybrid_site_title', $title ); } /** * Dynamic element to wrap the site description in. If it is the home * page, wrap it in an 'h2' element. One other pages, wrap it in a 'div' * element. Use the hybrid_site_description filter to customize. * * @uses get_bloginfo() Grabs the site description (tagline) * @link http://codex.wordpress.org/Template_Tags/get_bloginfo * * @since 0.1 */ function hybrid_site_description() { $tag = ( is_home() || is_front_page() ) ? 'h2' : 'div'; $desc = get_bloginfo( 'description' ); if ( $desc ) $desc = "\n\t\t\t" . '<' . $tag . ' id="site-description">' . $desc . '' . "\n"; echo apply_filters( 'hybrid_site_description', $desc ); } /** * Displays the page navigation menu. Also adds some extra classes * and IDs for better CSS styling. To customize, filter wp_page_menu * or wp_page_menu_args. * * The hybrid_before_page_nav() action hook fires just before the menu. * The hybrid_after_page_nav() action hook fires just after the menu. * * @uses wp_page_menu() Creates a menu of pages * @link http://codex.wordpress.org/Template_Tags/wp_page_menu * * @since 0.1 */ function hybrid_page_nav() { echo '