Title: Per Post set Opening Hours
Last modified: August 22, 2016

---

# Per Post set Opening Hours

 *  Resolved [Kishores](https://wordpress.org/support/users/kishores/)
 * (@kishores)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/per-post-set-opening-hours/)
 * I have several hotels listed in my site. can I add different opening hours for
   different hotels?
 * [https://wordpress.org/plugins/wp-opening-hours/](https://wordpress.org/plugins/wp-opening-hours/)

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

 *  Thread Starter [Kishores](https://wordpress.org/support/users/kishores/)
 * (@kishores)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/per-post-set-opening-hours/#post-5585405)
 * Issue here too
    ‘H:i’, ‘date-format’ => ‘d.m.Y’ ); /* unset default if setting
   already set */ foreach ( $default_settings as $key => $value ) if ( op_get_setting(
   $key ) ) unset( $default_settings[ $key ] ); /* apply remaining settings */ $
   wp_opening_hours = new OpeningHours; $wp_opening_hours->applySettings( $default_settings);}
   register_activation_hook( __FILE__, ‘op_activate’ ); ?>
 *  Plugin Author [janizde](https://wordpress.org/support/users/janizde/)
 * (@janizde)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/per-post-set-opening-hours/#post-5585591)
 * Hi kishores,
 * as far as I understand you, you want to set different OpeningHours for different
   posts of a ‘Hotel’ Custom Post Type (or any other Post Type)?
 * The Plugin does currently not offer this functionality and I also think that 
   it’s too specific to implement it in future Versions.
    However I plan to offer
   some kind of API with the next version, so you could use the core functionality
   of the plugin, but you would have to save the data etc. on your own in your Theme
   or in another little Extension Plugin.
 *  Thread Starter [Kishores](https://wordpress.org/support/users/kishores/)
 * (@kishores)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/per-post-set-opening-hours/#post-5585592)
 * Yes thanks. Actually I need a this kind of plugin. Otherwise I may need to recreate
   again. waiting for the next release then 🙂 thanks

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

The topic ‘Per Post set Opening Hours’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-opening-hours_3e2c4f.svg)
 * [Opening Hours](https://wordpress.org/plugins/wp-opening-hours/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-opening-hours/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-opening-hours/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-opening-hours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-opening-hours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-opening-hours/reviews/)

## Tags

 * [hotels](https://wordpress.org/support/topic-tag/hotels/)

 * 3 replies
 * 2 participants
 * Last reply from: [Kishores](https://wordpress.org/support/users/kishores/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/per-post-set-opening-hours/#post-5585592)
 * Status: resolved