Beskrywing
BigBad Store Hours adds simple, reliable “Open / Closed” output anywhere on your site with shortcodes. You can also enable an optional floating status bar and (optionally) show notices in WooCommerce cart/checkout.
Features
* Weekly schedule editor (Mon-Sun)
* “Closing soon” messaging (minutes before close)
* Optional floating status bar (top/bottom) with style presets
* Shortcodes for: full status, today’s hours, a weekly table, and a countdown
* Optional WooCommerce cart/checkout notices (if WooCommerce is active)
Shortcodes
[bbsh_store_hours]– Open/closed status with messaging[bbsh_store_hours_today]– Today’s hours (e.g., “Mon: 10:00-21:00”)[bbsh_store_hours_table]– Weekly hours table[bbsh_store_hours_countdown]– Countdown until close (when open)
Installation
- Upload the plugin folder to
/wp-content/plugins/or install via the Plugins screen. - Activate BigBad Store Hours.
- Go to BigBad Store Hours > Settings and set your weekly schedule.
- Add a shortcode to any page/post (see Shortcodes section).
Kwel-vrae
-
Does this require WooCommerce?
-
No. WooCommerce integration is optional and only affects cart/checkout notices.
-
What time format should I use for hours?
-
You can use either:
- 24-hour:
10:00-21:00or09:30-17:15 - 12-hour:
10am-9pmor9:30am-5:15pm
Use
start-endand separate multiple ranges with commas, e.g.09:00-12:00,13:00-17:00. - 24-hour:
-
Can I disable the floating bar and only use shortcodes?
-
Yes – just disable the bar in settings and use shortcodes wherever you like.
Aanbevelings
There are no reviews for this plugin.
Contributors & Developers
“BigBad Store Hours” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:
ContributorsTranslate “BigBad Store Hours” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.5.0
- Admin: Fixed dark mode CSS – settings page card backgrounds now adapt to all WordPress admin color schemes (was hardcoded white).
- Admin: Removed misleading “ADVANCED” label from free shortcodes ([bbsh_store_hours_table], [bbsh_store_hours_countdown]).
- Admin: Order cutoff and prep buffer settings now clearly labeled as Pro-only; honest inline note added.
- Admin: Added Pro features tease card showing upcoming Pro features (disabled, single upgrade CTA).
- Admin: Rebuilt “How to Use” admin page – now includes full shortcode reference, holiday override syntax with examples, known limitations, and Free vs. Pro comparison table.
- Admin: Added “Reset to Defaults” button to settings page.
- Fix: PHP bug in per-day cutoff helper – $day variable was accidentally commented out on the same line as its doc comment.
- Fix: WooCommerce cart/checkout notices now use plain text output, resolving potential HTML stripping by wp_kses.
- Fix: Removed leftover dead-code if(true) wrappers from state calculation and shortcode functions.
- Fix: Removed duplicate float_position save in settings POST handler.
- Fix: Corrected malformed HTML in settings page (span element closed with wrong tag).
- Docs: Fixed malformed FAQ entry in readme.txt (duplicated question text).
- Docs: Cleaned up stray blank lines in Changelog and Upgrade Notice sections.
1.4.4
- Compatibility: Align text domain with currently reserved slug during review (bigbad-store-hours).
- Compatibility: Remove deprecated manual translation loading for WordPress.org hosted plugins.
- Admin: Explicitly set scripts to load in footer.
1.4.3
- Add floating widget display option and conversational messaging.
- Fix sticky placement and z-index for widget and bar.
1.4.2
- Fix: Sticky bar placement now correctly honors Top/Bottom across themes (wp_body_open hook + higher z-index).
- Fix: Prevent bar hiding behind footers/overlays (z-index + admin-bar offsets).
1.4.1
- Fix: Restore missing bbsh_oh_shortcode() renderer (prevents fatal error in admin settings and shortcode rendering).
- Fix: Rebuilt frontend renderer to ensure Top/Bottom placement and distinct styles work consistently.
1.4.0
- Fix: Sticky bar Top/Bottom placement now respects settings reliably.
- Update: Make the three bar styles visually distinct (Minimal/Pill/Banner).
- Update: Banner style now shows next close/reopen time.
1.3.6
- Readme/docs: clarified supported time format (24-hour HH:MM-HH:MM).
- Readme/docs: synchronized changelog and upgrade notice with the Stable tag.
1.3.5
- Hardened settings save logic to avoid PHP notices.
- Escaped admin attribute output for better coding-standards compliance.
1.3.4
- Renamed to BigBad Store Hours / bigbad-store-hours.
- Prefixed public shortcodes and added i18n loading.