Title: Enable Comments
Last modified: March 23, 2023

---

# Enable Comments

 *  Resolved [webvd](https://wordpress.org/support/users/webvd/)
 * (@webvd)
 * [3 years ago](https://wordpress.org/support/topic/enable-comments-12/)
 * Hi, first of all thank you for this plugin. It suit my needs! We are using this
   to let our employees now where they need to work.
 * How can we re-enable comments on single events?
 * Thanks you

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

 *  Plugin Author [ishitaka](https://wordpress.org/support/users/ishitaka/)
 * (@ishitaka)
 * [3 years ago](https://wordpress.org/support/topic/enable-comments-12/#post-16588219)
 * Hi, Thank you for using the plugin.
 * Add the following code to the theme’s functions.php to support the comment function.
   After that, set whether or not to allow comments on each post.
 *     ```wp-block-code
       function my_register_event_post_args( $args, $post_type ) {
       	if ( 'xo_event' === $post_type ) {
       		$args['supports'][] = 'comments';
       	}
       	return $args;
       }
       add_filter( 'register_post_type_args', 'my_register_event_post_args', 10, 2 );
       ```
   
 *  Thread Starter [webvd](https://wordpress.org/support/users/webvd/)
 * (@webvd)
 * [3 years ago](https://wordpress.org/support/topic/enable-comments-12/#post-16589554)
 * Thank you! I have some other question. Do i need to start a new topic?
 *  Plugin Author [ishitaka](https://wordpress.org/support/users/ishitaka/)
 * (@ishitaka)
 * [3 years ago](https://wordpress.org/support/topic/enable-comments-12/#post-16589981)
 * If it’s a new question, I would appreciate it if you could start a new topic.

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

The topic ‘Enable Comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/xo-event-calendar_4c5f7d.svg)
 * [XO Event Calendar](https://wordpress.org/plugins/xo-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/xo-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/xo-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xo-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xo-event-calendar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ishitaka](https://wordpress.org/support/users/ishitaka/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/enable-comments-12/#post-16589981)
 * Status: resolved