BigBad Store Hours

Plugin Banner

BigBad Store Hours

by Jordan Alexander

Download
Description

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)
  1. Upload the plugin folder to /wp-content/plugins/ or install via the Plugins screen.
  2. Activate BigBad Store Hours.
  3. Go to BigBad Store Hours Settings and set your weekly schedule.
  4. Add a shortcode to any page/post (see Shortcodes section).
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:00 or 09:30-17:15
  • 12-hour: 10am-9pm or 9:30am-5:15pm

Use start-end and separate multiple ranges with commas, e.g. 09:00-12:00,13:00-17:00.

Can I disable the floating bar and only use shortcodes? = and only use shortcodes?

Yes — just disable the bar in settings and use shortcodes wherever you like.

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.
Back to top