__( 'Top menu area' ) , 'header-menu-bar' => __( 'Main menu area' ) , 'footer-menu-bar' => __( 'Footer menu area' ) , 'footer-right-bar' => __( 'Footer right menu area' ) ) ); } if ( function_exists('register_sidebar') ){ register_sidebar( array( 'name' => __( 'Home Widget Area', 'twentyten' ), 'id' => 'home-widget-area', 'description' => __( 'Homepage widget area', 'twentyten' ), 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Main Widget Area', 'twentyten' ), 'id' => 'main-widget-area', 'description' => __( 'Inner page widget area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Candidates Widget Area', 'twentyten' ), 'id' => 'candidates-widget-area', 'description' => __( 'Candidates Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Widget Area', 'twentyten' ), 'id' => 'company-widget-area', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Footer Logo', 'twentyten' ), 'id' => 'company-footer-logo', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Footer Address', 'twentyten' ), 'id' => 'company-footer-address', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Middle Widget', 'twentyten' ), 'id' => 'company-middle-widget', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company About Widget', 'twentyten' ), 'id' => 'company-about-widget', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Openins Widget', 'twentyten' ), 'id' => 'company-openings-widget', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Middle second Widget', 'twentyten' ), 'id' => 'company-middle2-widget', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Company Footer Video', 'twentyten' ), 'id' => 'company-footer-video', 'description' => __( 'Company Widget Area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } function string_limit_words($string, $word_limit) { $words = explode(' ', $string, ($word_limit + 1)); if(count($words) > $word_limit) array_pop($words); return implode(' ', $words); } add_theme_support('post-thumbnails'); endif; register_post_type( 'client-testimonials', array( 'labels' => array( 'name' => __( 'Client-Testimonials' ), 'singular_name' => __( 'Client-Testimonial' ) ), 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'supports' => array( 'title', 'editor', "thumbnail", "author", "custom-fields", "comments"), 'rewrite' => array( 'slug' => 'client-testimonials', 'with_front' => true ), 'has_archive' => true ) ); register_post_type( 'news', array( 'labels' => array( 'name' => __( 'News' ), 'singular_name' => __( 'News' ) ), 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'supports' => array( 'title', 'editor', "thumbnail", "author", "custom-fields", "comments"), 'rewrite' => array( 'slug' => 'news', 'with_front' => true ), 'has_archive' => true ) ); register_post_type( 'leadership', array( 'labels' => array( 'name' => __( 'Leadership' ), 'singular_name' => __( 'Leadership' ) ), 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'supports' => array( 'title', 'editor', "thumbnail", "author", "custom-fields", "comments"), 'rewrite' => array( 'slug' => 'leadership2', 'with_front' => false ), 'has_archive' => false ) ); # flush_rewrite_rules( $hard ); class LatestNews extends WP_Widget { function LatestNews() { $widget_ops = array('classname' => 'LatestNews', 'description' => 'Latest News to add' ); $this->WP_Widget('LatestNews', 'Latest News to add', $widget_ops); } function form($instance) { $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) ); $title = $instance['title']; echo '

'; } function update($new_instance, $old_instance) { $instance = $old_instance; $instance['title'] = $new_instance['title']; return $instance; } function widget($args, $instance) { extract($args, EXTR_SKIP); echo $before_widget; $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']); if (!empty($title)) echo $before_title . $title . $after_title; // WIDGET CODE GOES HERE $args=array( 'post_type' => "news", 'posts_per_page' => 5 ); $my_query = new wp_query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) { $my_query->the_post(); echo'

'.get_the_title().'

'; $excerpt = get_the_excerpt(); echo string_limit_words($excerpt,10); echo'
'; } } echo ""; // End of widget code echo $after_widget; } } add_action( 'widgets_init', create_function('', 'return register_widget("LatestNews");') ); /*----------------Custom Pagination Code --------------*/ function custom_pagination($numpages = '', $pagerange = '', $paged='') { if (empty($pagerange)) { $pagerange = 2; } /** * This first part of our function is a fallback * for custom pagination inside a regular loop that * uses the global $paged and global $wp_query variables. * * It's good because we can now override default pagination * in our theme, and use this function in default quries * and custom queries. */ global $paged; if (empty($paged)) { $paged = 1; } if ($numpages == '') { global $wp_query; $numpages = $wp_query->max_num_pages; if(!$numpages) { $numpages = 1; } } /** * We construct the pagination arguments to enter into our paginate_links * function. */ $pagination_args = array( 'base' => get_pagenum_link(1) . '%_%', 'format' => 'page/%#%', 'total' => $numpages, 'current' => $paged, 'show_all' => False, 'end_size' => 1, 'mid_size' => $pagerange, 'prev_next' => True, 'prev_text' => __('«'), 'next_text' => __('»'), 'type' => 'plain', 'add_args' => false, 'add_fragment' => '' ); $paginate_links = paginate_links($pagination_args); if ($paginate_links) { echo ""; } } ?> Government

Government

DB Healthcare IT specializes in healthcare information technology consulting services, solutions and staff augmentation services to government (federal, state and local) healthcare organizations.

DB Healthcare IT services and solutions are organized in following major areas:

Professional Services

Healthcare Services and solutions

Information technology services and solutions