"; do_action( 'Easy_before_cat_nav' ); echo apply_filters( 'Easy_cat_nav', Easy_category_menu( 'echo=0' ) ); do_action( 'Easy_after_cat_nav' ); echo ''; } /** * Menu listing for categories. * * @deprecated 0.6 Themes should add menus with the wp_nav_menu() function. * @internal This function needs to stay for the long haul (post-1.0). * * @since 0.2.3 * @uses wp_list_categories() Creates a list of the site's categories * @link http://codex.wordpress.org/Template_Tags/wp_list_categories * @param array $args */ function Easy_category_menu( $args = array() ) { _deprecated_function( __FUNCTION__, '0.6', 'wp_nav_menu()' ); $defaults = array( 'menu_class' => 'cat-nav', 'style' => 'list', 'hide_empty' => 1, 'use_desc_for_title' => 0, 'depth' => 4, 'hierarchical' => true, 'echo' => 1 ); $args = wp_parse_args( apply_filters( 'Easy_category_menu_args', $args ), $defaults ); extract( $args ); $args['title_li'] = false; $args['echo'] = false; $menu = str_replace( array( "\t", "\n", "\r" ), '', wp_list_categories( $args ) ); $menu = '
'; $menu = apply_filters( 'Easy_category_menu', $menu ); if ( $echo ) echo $menu; else return $menu; } /** * Loads the theme search form. * * @deprecated 0.6 Users should add get_search_form() whenever needed. * @since 0.1 */ function Easy_search_form() { _deprecated_function( __FUNCTION__, '0.6', 'get_search_form()' ); $search = apply_filters( 'Easy_search_form', false ); if ( empty( $search ) ) get_search_form(); else echo $search; } /** * After single posts but before the comments template. * @since 0.2 * @deprecated 0.7 */ function Easy_after_single() { _deprecated_function( __FUNCTION__, '0.7', "apply_atomic( 'after_singular' )" ); Easy_after_singular(); } /** * After page content but before the comments template. * @since 0.2 * @deprecated 0.7 */ function Easy_after_page() { _deprecated_function( __FUNCTION__, '0.7', "apply_atomic( 'after_singular' )" ); Easy_after_singular(); } /** * Loads the Utility: After Single widget area. * @since 0.4 * @deprecated 0.7 */ function Easy_get_utility_after_single() { _deprecated_function( __FUNCTION__, '0.7', 'get_sidebar()' ); Easy_get_utility_after_singular(); } /** * Loads the Utility: After Page widget area. * @since 0.4 * @deprecated 0.7 */ function Easy_get_utility_after_page() { _deprecated_function( __FUNCTION__, '0.7', 'get_sidebar()' ); Easy_get_utility_after_singular(); } /** * Displays the page navigation menu. * @since 0.1 * @deprecated 0.8 */ function Easy_page_nav() { _deprecated_function( __FUNCTION__, '0.8', 'wp_nav_menu()' ); echo '