Features
- The start of the business week uses the “Week Starts On” on the “General Settings” admin page.
- The time format will be displayed using the “Time Format” on the “General Settings” admin page.
- Adds a new highly customizable widget that can be placed in your theme’s sidebar. The widget will only display on the entry detail page making it compatible with all templates.
Video
Screen Captures
Requires PHP: 5.4
Changelog
1.1 10/16/2018
- TWEAK: Remove use of
create_function()
to register the widget. - TWEAK: Restructure code to more closely match the addons so it is more consistent.
- TWEAK: Minor tweak to CSS to help make sure the time sliders are aligned with their labels.
- OTHER: Plugin header updates.
- OTHER: Remove extra whitespace and comment out unused methods.
- OTHER: Bump minimum required PHP version to match core.
- DEV: phpDoc additions and corrections.
1.0.11 06/08/2018
- TWEAK: Only save open hours data array if open hours have been added.
- BUG: Fix ability to clear an open/close time period input field.
1.0.10 12/14/2017
- BUG: Corrected PHP 7.1 warning, "A non-numeric value encountered".
1.0.9 09/01/2017
- BUG: n displaying the time on the frontend, supplied the convert from time format so it is properly displayed when converting from one format to another.
- DEV: phpDoc corrections.
1.0.8 08/25/2017
- TWEAK: Refactor Connections_Business_Hours::dateTimePickerOptions() to utilize cnFormatting::dateFormatPHPTojQueryUI() to handle converting the PHP datetime format to the jQueryUI datetime format.
- TWEAK: Refactor Connections_Business_Hours::formatTime() to utilize cnDate::createFromFormat() to handle the conversion of to/from date formats.
- TWEAK: Update usages of Connections_Business_Hours::formatTime() to new signature.
- TWEAK: CSS tweak.
- BUG: PHP error notice fix, check for array value first.
- I18N: Add German translation.
- DEV: Correct code indent.
- DEV: phpDoc correction.
1.0.7 06/29/2016
- BUG:
<th>
tags should be within<tr>
tags. - OTHER: Readme tweaks.
- I18N: Add Dutch (Netherlands) translation.
- DEV: Update .gitignore.
1.0.6 05/05/2015
- BUG: Add missing text domain to "Business Hours" so it is translatable.
- BUG: Correct text domain in the widget.
- BUG: Fix filters for language files.
- TWEAK: Comment out unused activation/deactivation hooks since they are not used.
- I18N: Add Swedish (Sweden) translation.
- I18N: Update POT file.
1.0.5 05/01/2015
- BUG: Load plugins textdomain on plugins_loaded action hook.
- BUG: Make two missed strings translation ready.
- BUG: Empty string should not be run thru gettext.
- TWEAK: Add POT file for translation.
- TWEAK: Add Income Level link to readme.txt.
1.0.4 07/14/2014
- TWEAK: If no open hours have been set for any day or any periods within a day, do not show the open hours content block.
1.0.3 06/05/2014
- BUG: The front-end CSS file was not being enqueued if Form was not installed and activated.
1.0.2 05/30/2014
- TWEAK: CSS tweak for better Form 2.0 integration.
1.0.1 05/26/2014
- TWEAK: Refine CSS and JS enqueueing logic. Requires Connections >= 0.8.9.
1.0 05/03/2014
- Initial release.