Title: remove metadata in accommodation type
Last modified: March 5, 2021

---

# remove metadata in accommodation type

 *  Resolved [KokSoon WONG](https://wordpress.org/support/users/b2hs/)
 * (@b2hs)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-metadata-in-accommodation-type/)
 * Wanted to remove the metadata details in the accommodation type page (seriously,
   you should remove it by default, because the accommodation type is not a blog
   post or something).
 * I tried using the hide/remove metadata plugin by adjusting CSS instead of PHP.
   
   However, it still shows. Is there any way to just adjust via CSS rather than 
   adjusting in PHP. I do see another troubleshooting asking to edit php
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-metadata-in-accommodation-type%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-metadata-in-accommodation-type/#post-14137898)
 * Hi [@b2hs](https://wordpress.org/support/users/b2hs/),
    Accommodation Types is
   a post type so its layout is defined by single.php file of your theme. You may
   add the style below to Appearance > Customize > Additional CSS to hide the post
   meta data from accommodation type layout:
 *     ```
       .single-mphb_room_type .entry-meta{
       	display:none;
       }
       ```
   
 * You may also duplicate the single.php file of your theme and rename the duplicated
   file into single-mphb_room_type.php Thus you will be able to override the structure
   of the accommodation type page. Let me know if it is helpful.
 *  Thread Starter [KokSoon WONG](https://wordpress.org/support/users/b2hs/)
 * (@b2hs)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-metadata-in-accommodation-type/#post-14181350)
 * thank you a million
 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-metadata-in-accommodation-type/#post-14182515)
 * Hi [@b2hs](https://wordpress.org/support/users/b2hs/), You are welcome. It would
   be also helpful if you rate Hotel Booking on Capterra [https://www.capterra.com/p/177562/MotoPress-Hotel-Booking/](https://www.capterra.com/p/177562/MotoPress-Hotel-Booking/)
   Thanks.

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

The topic ‘remove metadata in accommodation type’ is closed to new replies.

 * ![](https://ps.w.org/motopress-hotel-booking-lite/assets/icon.svg?rev=3313467)
 * [MotoPress Hotel Booking](https://wordpress.org/plugins/motopress-hotel-booking-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/motopress-hotel-booking-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/motopress-hotel-booking-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/motopress-hotel-booking-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/motopress-hotel-booking-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/motopress-hotel-booking-lite/reviews/)

## Tags

 * [metadata](https://wordpress.org/support/topic-tag/metadata/)
 * [post date](https://wordpress.org/support/topic-tag/post-date/)
 * [remove author](https://wordpress.org/support/topic-tag/remove-author/)

 * 3 replies
 * 2 participants
 * Last reply from: [dimned](https://wordpress.org/support/users/dimned/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/remove-metadata-in-accommodation-type/#post-14182515)
 * Status: resolved