This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Business Hours Plugin

Description

The Business Hours Plugin allows you to post your daily working hours and show it to your visitors:

  • In a configurable and templatable widget.
  • In a page / post using shortcodes

You’ll be able to choose between showing only today’s working hours, or a collapsible table with the hours for each day of the week.
If you want to show only today’s working hours, the plugin will check your timezone settings to calculate which day to show.

Also, Business Hours is 100% translatable to your language.
We’ve included language files for:

  • Spanish
  • Dutch

If you want to help me translate this plugin to your language, please drop me a line or contact me in the support forum

Screenshots

  • Front-End Widget: Working
  • Front-End Widget: Full week, with an exception
  • Front-End Widget: Closed
  • Exceptions Settings
  • Widget Settings
  • Business Hours Settings

FAQ

  1. What timezone is the plugin using to determine when the day changes?

This plugins uses the timezone configured in WordPress settings. ( Settings->General )

  1. Shortcodes what??

The shortcode you need to use is this:

[businesshours closed="TEXT FOR WHEN ITS CLOSED"]TEMPLATE[/businesshours]

As TEMPLATE you should use {{TodayOpen}} for today’s open hours and {{TodayClose}} for closing hours.

For example:

[businesshours closed="Today is closed."]Today we work from {{TodayOpen}} to {{TodayClose}}[/businesshours]

Also there’s another shortcode that allows you to show the full week table:

[businesshoursweek]

You can also use

[businesshoursweek collapsible="true"]

to have the list collapsed by default and a link to open it.

Reviews

Lightweight, reliable, one of my favourites.

Re Carlson

I've been using this plugin on client sites for years. For 99% of businesses, it's a simple and straightforward way to display your business hours as a widget and dynamically display hours for the current day.

Easy to style, easy to add holidays... hard to screw up. Love it!

Even though it's not updated, this still works well!

greghl

We've been using this plugin for years, and we test it when there is a WordPress update, but it was written well and still works well.

We like that it has an exceptions setting, so we can enter holidays and other exceptions to our working hours.

As mentioned, this plugin does not handle 'split hours' well. If you have opening hours with a lunch break, this could be handled in the message output, such as:

[businesshours closed="Today we are closed."]Today we work from {{TodayOpen}} to {{TodayClose}} closed for lunch from 1PM until 2PM[/businesshours]

but if your closed period varies from day to day, this will not work for you.

Overall, a tight, well written plugin that solves our needs and we've been using it for years. Might be time for an update to add some new features though... hint, hint.

Read all 5 reviews

Changelog

2.0

  • Feature: Allow for exceptions (for holidays, etc)
  • Enhancement: Allow users to overide views templates
  • Enhancement: Allow to show the hours table fixed in the widget (without collapsible)
  • Enhancement: Cleanup widget admin. Hide templating fields. Clarify some texts.
  • Enhancement: Cleanup settings admin. Sexier and more intuitive.
  • Enhancement: The plugin will respect the “Week Starts On” value from Settings->General to show the days
  • Enhancement: Works with WordPress 3.5
  • Enhancement: General cleaning and improve architecture.
  • Enhancement: Improve code quality ( a lot! )
  • Enhancement: Improve loading speed
  • Bugfix: Fixed how I’m handling timezones to account for DST
  • Bugfix: Fixed minor bugs for WordPress 3.4.2
  • Bugfix: Added missing getText calls in hardcoded strings
  • New filter: business-hours-closed-text
  • New filter: business-hours-open-hour
  • New filter: business-hours-close-hour
  • New filter: business-hours-is-open-today
  • New filter: business-hours-view-template
  • New filter: business-hours-collapsible-link-anchor
  • New filter: business-hours-exceptions-how-many-years
  • New filter: business-hours-save-settings
  • New filter: business-hours-row-class
  • New action: business-hours-settings-page
  • New action: business-hours-before-row
  • New action: business-hours-after-row

1.3.2

  • Fixed how the plugin handles weekdays names localization
  • Added dutch language files

1.3.1

  • Added Spanish language files
  • Fixed some localization related issues

1.3

  • Added the shortcodes
  • Added localization and english lang file
  • Added text-align=center; to: .business_hours_table_closed, .business_hours_table_heading, .business_hours_table_open and .business_hours_table_close
  • Fix: Spelling collapsable for collapsible.

1.2

  • Added an optional collapsable table in the widget showing the working hours for all weekdays.
  • Fixed the mess of different names (working hours, open hours, etc) in favour of Business Hours.
  • Added support email
  • WordPress 3.3 compatible.

1.1

  • Some minor bug fixes

1.0.2

  • Fixed screenshots

1.0.1

  • Fixed plugin info in php header

1.0

  • First release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code