Title: Comments on room
Last modified: July 14, 2021

---

# Comments on room

 *  [thbob](https://wordpress.org/support/users/matthewokoh/)
 * (@matthewokoh)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/comments-on-room/)
 * Hi
    Is it possible to let user name comments to rooms. We dont see the comment
   box. How can we add a comment box so user can write comments on the rooms? Thank
   you

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

 *  Plugin Author [benitolopez](https://wordpress.org/support/users/benitolopez/)
 * (@benitolopez)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/comments-on-room/#post-14660027)
 * Hello,
 * Rooms don’t have comments enabled in WP hotelier. It is a custom post type.
 * So what you’re asking is possible only modifying the room template and adding
   the support for comments. Unfortunately I can’t help you with that so this is
   something you need to integrate yourself.
 * To add support for comments you can use this snippet in your theme:
    [https://pastebin.com/raw/E5WuQbFS](https://pastebin.com/raw/E5WuQbFS)
 * Then place this line somewhere in wp-hotelier/templates/single-room/content-single-
   room.php. Remember that you can override that file in your child theme ([https://docs.wphotelier.com/article/66-override-template-files](https://docs.wphotelier.com/article/66-override-template-files)).
 * `<?php comments_template(); ?>`
 * You will need to style the form of course.
 * Hope this helps.
 * Best Regards,
    Benito
 *  Thread Starter [thbob](https://wordpress.org/support/users/matthewokoh/)
 * (@matthewokoh)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/comments-on-room/#post-14662996)
 * great thank you and will try it out.
 *  Thread Starter [thbob](https://wordpress.org/support/users/matthewokoh/)
 * (@matthewokoh)
 * [5 years ago](https://wordpress.org/support/topic/comments-on-room/#post-14763982)
 * Hi
    We add the code to our functions.php in the Hotello child theme and the <?
   php comments_template(); ?> to the wp-hotelier/templates/single-room/content-
   single-room.php…. but it did not work and it is not showing the comment field
   on room page so customer can leave comments.
 *  Plugin Author [benitolopez](https://wordpress.org/support/users/benitolopez/)
 * (@benitolopez)
 * [5 years ago](https://wordpress.org/support/topic/comments-on-room/#post-14764044)
 * Hello,
 * Probably the theme you’re using is overriding the room template. As I said above,
   unfortunately I can’t help you with custom code so this is something you need
   to integrate yourself. Try to contact the author of your theme and check if it
   works with the default WP theme.
 * Best Regards
 *  Thread Starter [thbob](https://wordpress.org/support/users/matthewokoh/)
 * (@matthewokoh)
 * [5 years ago](https://wordpress.org/support/topic/comments-on-room/#post-14764068)
 * Ok thank you for your help and will try to contact Hellio theme.

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

The topic ‘Comments on room’ is closed to new replies.

 * ![](https://ps.w.org/wp-hotelier/assets/icon-256x256.png?rev=1680801)
 * [WP Hotelier](https://wordpress.org/plugins/wp-hotelier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hotelier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hotelier/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hotelier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hotelier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hotelier/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [thbob](https://wordpress.org/support/users/matthewokoh/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/comments-on-room/#post-14764068)
 * Status: not a support question