Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Kishores

    (@kishores)

    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

    (@janizde)

    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

    (@kishores)

    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.