#admin-guide-widget {font-size: 1.2em; background: #84dcff; padding: 11px;} .activity-block a {color: #fff; font-weight: 700;} .activity-block a:hover {color: #000;} #footer {width: 100%} #footer td {width: 50%} #footer .even {text-align: right;} '; echo '
'; GLOBAL $categoryid; $categoryid = self::get_dashboard_widget_option(self::wid, 'category_number'); echo 'Category id is set as '.$categoryid; /* $query_args = array( 'post_type' => 'post', 'cat' => 46, 'orderby' => 'date', 'no_found_rows' => true, 'cache_results' => false ); $posts = new WP_Query( $query_args ); */ $shivquery['post_type'] = 'post'; $shivquery['cat'] = $categoryid; $shivquery['orderby'] = 'date'; $posts = new WP_Query( $shivquery ); if ( $posts->have_posts() ) { echo '
'; echo ''; echo '
'; } wp_reset_postdata(); echo '

Note :- You can relocate/place this widget any where by drag and drop

Note :- Hover mouse over title "Administration Guide" link for configuration/setting widget for category will be visible.

'; echo '
';