Opening Hours plugin for WordPress

In this article, we will walk you through the process of installing, configuring, and implementing the Opening Hours plugin for WordPress.

What is the Opening Hours plugin for WordPress?

The Opening Hours WordPress plugin is something that brick and mortar stores may use to show their customers the hours that they are open. This simple plugin enables a widget on your site to show your hours as well as provide a notification that you are open or closed.

Installing the Opening Hours plugin for WordPress

Installation of the Opening Hours plugin is quite simple and can be installed directly through the WordPress dashboard.

  1. First, begin by searching for the Opening Hours plugin by clicking on Plugins to the lest menu bar, then clicking on Add New to the top of the page. Here, you will see a search box. Searching for “Opening Hours” should show this plugin as the first result.

  2. Next, click on Install Now. After doing so, the plugin will begin installing. After the installation of the Opening Hours plugin is completed, click on Activate Plugin. The plugin is now installed and activated in which we will continue with setup in the next section.

Configuring the Opening Hours plugin for WordPress

Configuring the Opening Hours plugin for WordPress is very simple. So simple, in fact, that you will be done with setup in just a few minutes. Any configuration is done within a single section. To get started, just click on Settings, then Opening Hours. From here, you will be presented with several options to add varying periods.

Next, you will just need to add different periods that you are open. For example, if your store is open Monday-Friday from 9am to 5pm, you would select 09 in the section, then 17 in the second section. After you have selected the time that you want for all days, just click on Save Changes to make them active.

Adding your Opening Hours plugin to your WordPress site

  • Once you have all of the times configured for your opening hours, its time to add it to your WordPress site. Opening hours comes with an attractive widget that you can add to proudly display your hours of operation to all customers. To configure the widget, click on Appearance, then Widgets in your WordPress dashboard. To add the widget, drag and drop the Opening Hours Overview to your desired widget area. Here, you can define the title, highlight the current day, show the days that are closed, and even add a custom caption for days that you are closed. Once you have configured it, just click Save.

  • In addition to the Opening Hours Overview widget, the Opening Hours plugin also has a second widget labeled as Opening Hours Status. This status widget will display to your customers if you are open or closed based on their time. To add it, you will just need to drag it over to the desired widget area just as you did with the Opening Hours Overview widget. In this example, I have placed this widget right below the overview so that customers can see everything in the same place.

What the Opening Hours plugin looks like

After you have added the Opening Hours widget to your WordPress site, you will see it then within the widget area that you previously defined. In this example, I am using the default WordPress theme and have added the widget to widget area 2 so that is displays on my right sidebar. As you can see, it attractively displays the hours of operation as well as the current operational status.

Thoughts on “Opening Hours plugin for WordPress

    • If you’re referring to shortcodes that apply to this plugin, then you would need to refer to the third party developer’s documentation for that information. We can list a number of shortcodes from them, but you would better off looking directly at their documentation for the shortcodes that you want to use since they developed the product. If you’re talking about shortcodes for WordPress in general, then checkout this article from the WordPress Codex on Shortcode.

  • When putting in a holiday, say Thanksgiving, there is a start and stop date in the plug-in.


    If we are closed Thursday the 23rd and Friday the 24th what would those stop and start dates be?


    Would this be start on the 23rd and stop on the 24th or stop on the 25th?


    For a single day we are closed like Labor day on the 4th, is the start and stop date the same date?




    • Hello InMotionFans,

      The end date would be the 24th, The plugin wants the “Date End” to be the last day you want the holiday hours to apply to.


  • Hello, 


    we use this Plugin on our site. But whe can´t add Holiday Time. We get this Error at the developer Concole from Google Chrome: 


    admin.php?page=opening-hours-holidays:299 Uncaught TypeError: inputStart.datepicker is not a function


    What can we do?

    • That error indicates a possible Javascript. It is code-specific. I advise contacting the plugin developer to see if they have a workaround for you.

  • This was just what I was looking for. But, for some reason, it breaks my Revolution Slider every time I activate it. Running WP version 4.4.2. Anyone else have this
    problem? Or is there some kind of fix?

  • Hello

    This is very nice plugin. Can you tell me how can I translate Monday, Tuesday, Wednesday… into my language?

    • Dix,

      You will need to write to the developer of the plugin in order to make a change of that nature. Try this link for further support.

      Arnel C.

    • Hello,

      I was not able to find a list of the short codes within the plugin however it may be listed within the plugins support threads or on their website somewhere.

      Best Regards,
      TJ Edens

  • Can you please add a feature which allows a shortcude for a FULL page of your hours and also listing your holidays?  This would be great to link to if someone wants full details of when you are open!!

    • Hello Matt,

      The plugin goes by the timezone that WordPress is set to use. This can be changed by adjusting your Settings >> General >> TimeZone in the WordPress admin back end.

      Kindest Regards,
      Scott M

    • Hello Jane,

      Thanks for the question. The plugin isn’t made to go into the header, so I am unaware of any code that you can use to put it there. However, as per the instructions above you can add a footer widget. You can add the opening hours in the footer widget and then the store hours would be displayed in that area.

      I hope this helps to answer your question, please let us know if you require any further assistance.

      Arnel C.

  • Is this widget suitable for multiple stores? Or could it be adapted to suit multiple entries? Thanks Paul

    • Unfortunately, the widget does not appear to be designed in a way to support showing different locations on different pages. I recommend contacting the plugin author via the Support section of the plugin page for more information on making this possible in their code.

  • Thanks Jeffma 

    I try to install on a single wordpress and work fine, but on a WordPress Multisite dosn’t work. 

    • Not all plugins will work correctly on multisite depending on how the author created it. I recommend contacting the plugin author for solutions that may be available.

  • Hello, this is a usefull plugin, but when i try to Active I get this error message “‘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’ ); ?>” on the top. What can I do?. 


Leave a Reply to Jane Cancel reply