__('Leave a Reply', 'nimbus'), 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
'ffffff' ); add_theme_support( 'custom-background', $nimbus_custom_background_defaults ); // Register Menus register_nav_menu('primary', __('Primary Menu', 'nimbus')); // Set Content Width global $content_width; if (!isset($content_width)) { $content_width = 1168; } } endif; /* **************************************************************************************************** */ // Clear Helper/s /* **************************************************************************************************** */ function nimbus_clear($ht = "0") { echo "
"; } /* **************************************************************************************************** */ // Do Title /* **************************************************************************************************** */ add_action('wp_title', 'nimbus_title'); function nimbus_title() { global $wp_query; $title = get_bloginfo('name'); $seporate = ' | '; if (is_page() || is_single()) { $postid = $wp_query->post->ID; $title = the_title('','',false) . $seporate . get_bloginfo('name'); } wp_reset_query(); return $title; } /* **************************************************************************************************** */ // Modify Search Form /* **************************************************************************************************** */ function nimbus_modify_search_form($form) { $form = ''; return $form; } add_filter('get_search_form', 'nimbus_modify_search_form'); /* **************************************************************************************************** */ // Override gallery style /* **************************************************************************************************** */ add_filter( 'use_default_gallery_style', '__return_false' ); /* **************************************************************************************************** */ // More Tag /* **************************************************************************************************** */ function nimbus_wrap_more_tag($link){ return "$link
"; } add_filter('the_content_more_link', 'nimbus_wrap_more_tag'); /* **************************************************************************************************** */ // Register Sidebars /* **************************************************************************************************** */ add_action('widgets_init', 'nimbus_register_sidebars'); function nimbus_register_sidebars() { register_sidebar(array( 'name' => __('Default Page Sidebar', 'nimbus'), 'id' => 'sidebar_pages', 'description' => __('Widgets in this area will be displayed in the sidebar on the pages.', 'nimbus'), 'before_widget' => ' ', 'before_title' => '__('Leave a Reply', 'nimbus'), 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>