Title: koning's Replies | WordPress.org

---

# koning

  [  ](https://wordpress.org/support/users/koning/)

 *   [Profile](https://wordpress.org/support/users/koning/)
 *   [Topics Started](https://wordpress.org/support/users/koning/topics/)
 *   [Replies Created](https://wordpress.org/support/users/koning/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/koning/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/koning/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/koning/engagements/)
 *   [Favorites](https://wordpress.org/support/users/koning/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Can the default calendar be set to display posts from only one category?](https://wordpress.org/support/topic/can-the-default-calendar-be-set-to-display-posts-from-only-one-category/)
 *  [koning](https://wordpress.org/support/users/koning/)
 * (@koning)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/can-the-default-calendar-be-set-to-display-posts-from-only-one-category/#post-692836)
 * Hi,
 * I’m still looking for a solution for this. I want the default calendar (or another
   one) to only display posts from specific categories.
 * Thanks…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [modify default calendar to only show some categories](https://wordpress.org/support/topic/modify-default-calendar-to-only-show-some-categories/)
 *  Thread Starter [koning](https://wordpress.org/support/users/koning/)
 * (@koning)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/modify-default-calendar-to-only-show-some-categories/#post-886675)
 * nobody?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [modify default calendar to only show some categories](https://wordpress.org/support/topic/modify-default-calendar-to-only-show-some-categories/)
 *  Thread Starter [koning](https://wordpress.org/support/users/koning/)
 * (@koning)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/modify-default-calendar-to-only-show-some-categories/#post-886476)
 * Is this te part of general-template.php where i have to insert a kind of exclude
   category tag?
 *     ```
       // Quick check. If we have no posts at all, abort!
   
       	if ( !$posts) {
       	$gotsome = $wpdb->get_var("SELECT ID from $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' ORDER BY post_date DESC LIMIT 1");
       		if ( !$gotsome )
       			return;
       	}
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)