Beginner's Guide for WordPress / Start your WordPress Blog in minutes

Beginner’s Guide on How to Add Business Hours in WordPress

Do you want to display your business hours on your WordPress site?

Displaying your open hours on your website can help customers plan their visits accordingly. With location search growing every day, this helps grow your business.

In this article, we’ll show you how to add your business opening hours in WordPress.

Adding business hours to your WordPress website

Why Add Business Hours to Your WordPress Site?

Adding business hours to your WordPress website helps customers find out when you’ll be open for business. More importantly, it also helps you appear in local search results.

Preview of local search results in mobile and desktop

Nearly 46% of all searches on Google have local intent. For businesses, these searches are highly valuable as they bring in customers already looking for the products and services they offer.

Users can see your open hours on your website as well as search results. This helps them make a purchase, and visit your store, restaurant, or office.

Local search results

That being said, let’s take a look at how to properly add your business hours in WordPress. We’ll cover two methods and show you how to manage business information in search results:

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, just keep reading.

Method 1: Adding Business Hours in WordPress Using All in One SEO

This method is easier and recommended for all users.

The best part about AIOSEO is that it not only adds your business information to the schema markup code, but it also allows you to display it to users on your website.

It gives you more control over how your website appears in search results. You can easily display your business hours anywhere on your website, and it also has the ability for managing multiple locations.

For this method, we’ll be using All in One SEO for WordPress. It is the best WordPress SEO plugin on the market and helps bring more free traffic from search engines to your website.

Note: You’ll need at least their Plus plan to access the Local SEO feature.

First, you need to install and activate the All in One SEO for WordPress plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, the plugin will run a setup wizard. Follow the on-screen instructions to set it up. If you need more help, then please take a look at our article on how to set up All in One SEO for WordPress.

All in One SEO set up wizard

Once you have installed, activated, and configured the All in One SEO plugin, you need to visit All in One SEO » Local SEO page to set up your business information.

Enable locations

First, you need to switch the ‘Multiple Locations’ toggle to ‘Yes’. You can do this even if you only have one location to add.

After that, switch to the ‘Opening Hours’ tab to enter your business hours. These business hours will be used by default for all locations. You’ll also be able to set different business hours for each location if needed.

Add opening hours defaults

You need to scroll down on the page to provide labels and business hours information. You can set it open for 24 hours, or manually set times for each day.

Business hours information

Once finished, click on the ‘Save Changes’ button to store your settings.

Now that we have set up local SEO, let’s add your location information.

You need to start by going to Locations » Add New page to add your location and business information.

Adding a new location

On this page, you can provide a title for your location.

After that, you need to scroll down to the ‘AIOSEO Local Business’ section.

Local business information

In this section, you will find a ‘Business Info’ tab. Here you can fill out the form to provide business and location information, such as your business name, address, phone number, payment methods, the area served, and more.

After that, you need to switch to the ‘Opening Hours’ tab and add business hours or use the default business hours you entered earlier.

Setting business hours for each location

Once you’re finished, don’t forget to click the ‘Publish’ button to save your business information and opening hours.

You can repeat the process to add more locations if needed.

Displaying Business Hours Information in a Post or Page

All in One SEO allows you to easily display business hours anywhere on your website. It comes with many pre-built WordPress blocks that you can add to any post or page on your site.

Generally, we recommend adding the business hours on your contact page along with a contact form and your business phone number.

Simply edit the post or page and look for AIOSEO blocks. The plugin provides AIOSEO Local Open Hours, AIOSEO Local Business Info, and AIOSEO Local Locations blocks.

You will need to add the ‘AIOSEO Local Open Hours’ block to display business hours.

Adding business hours to a post or page in WordPress

After adding the block, you can select the location you want to display from the block settings. Don’t forget to click the ‘Publish’ or ‘Update’ button to save your changes.

You can now visit your website to see your business hours displayed on the page.

Business hours displayed in WordPress

Display Business Hours Information in the Sidebar

All in One SEO also allows you to easily display business hours in your WordPress sidebar or any widget-ready area.

Simply, head over to the Appearance » Widgets page and add ‘AIOSEO Opening Hours’ widget to your sidebar.

Open hours widget

Select a location that you want to display and review the widget settings. Don’t forget to click on the Save button to store your changes.

You can now visit your website to view your business hours in the sidebar.

Business hours displayed in sidebar

Display Business Hours Anywhere Using Shortcode

All in One SEO for WordPress also allows you to use shortcode to display business hours anywhere on your website.

Simply add the shortcode [aioseo_local_opening_hours] to display your default business hours.

Alternatively, you can also use [aioseo_local_opening_hours location_id="1"] to display any specific location. You can find the location ID by editing the location.

Finding your location ID

Method 2: Adding Business Hours in WordPress Using Business Profile

This method is for users who only want to add business information schema to their WordPress website. It lacks all the other SEO features offered by a comprehensive SEO plugin like All in One SEO.

The first thing you need to do is install and activate the Business Profile plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, go to Business Profile » Settings page to set up your business profile.

From here, you need to select your business type as Organization and then fill out the other required information.

Business Profile basic information

After entering the address information, the plugin will ask you to provide a Google API key with a link to instructions. However, we recommend leaving this field blank.

Below that, you can set your business hours. The plugin also allows you to add multiple sets of schedules, and you can also add exceptions for holidays and special events.

Adding business hours

If your business has stores or offices in multiple locations, then you can also turn on the Multiple Locations feature.

Enable multiple locations

Don’t forget to click on the ‘Save Changes’ button to store your changes.

Adding Business Hours in WordPress Using Shortcode

The plugin uses a shortcode to display business hours on any page of your WordPress blog or website.

Simply edit the post or page where you want to display the business hours and then add the shortcode [contact-card] .

Contact Card shortcode

You can now save your changes or publish your page and then preview it. This is how it looked on our test website.

Business hours preview

Adding Multiple Locations in Business Profile

The plugin also supports multiple locations. If you have enabled the multiple locations option on the settings page, then you can manage locations by visiting Business Profile » Locations page.

Add new location

On the next screen, you need to provide a name for your new location and then scroll down to ‘Opening Hours’ box at the bottom.

Business hours for location

From here, you can add your business hours information.

On the left column, you can add your location information such as your address, phone number, email, and more.

Add contact information

Once you are finished, you can go ahead and ‘Publish’ your location.

Repeat the process to add more locations as needed.

Displaying Multiple Locations in Business Profile

The plugin uses the same shortcode to display any location with business hours.

Simply edit the post or page where you want to display location information. After that, add the shortcode in the following format.

[contact-card location="34"]

Don’t forget to replace the location value with your actual location ID. You can find it by editing the location and copying the post id from the address bar.

[Finding your location ID

This is how single location information looked on our test website.

Single location business hours

Managing Business Information in Google Search Results

Google uses Rich Snippets to fetch and display rich search results from your website. is a structured data markup language. It appears in the source code of your website and is not visible to regular visitors.

This helps search engines add additional information in search results, like your business hours and location, review scores, recipe information, and more.

To manage your business information in search results, you should also sign up for a Google My Business account. This helps you add your business location and other information.

Google My Business

After verification, you’ll be able to provide additional business information and manage its appearance in search, Google Maps, and Places.

Both WordPress plugins that we demonstrated above will help you add the business hour data in SEO-friendly Schema format to your website.

We hope this article helped you add your business hours to your WordPress site. You may also want to see our expert pick of must have WordPress plugins, and our comparison of the best email marketing services to grow your sales.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

9 CommentsLeave a Reply

  1. Another interesting article. I every day use wordpress, know php, css etc. but never use rules. Now it is easy, thanks!

  2. Any plug-ins that allow for multiple hours open, ex: 8 am-noon, 5pm-9pm? Restaurants for example could use this. Or businesses that are closed for lunch, or for a certain time a day, that might change depending on the day?

  3. Hi, there is an un wanted link in mah word pres site & i can’t abe toremove it. it is causing bugging which often post some unwanted adds or get the landing page to some other website. plz help how to remove the same

  4. Hi,
    I’m using this plugin in and like it…but it seems like editors can not access it?!
    Can I change this? Somewhere in the plugin code?
    (I’m just a copy-paste-programmer but maybe someone has a good idea what I can do)

  5. Hi,

    I read another value article on wpbeginner. Thanks for introducing this plugin to use business hours in wordpress


    • Search engines can index this information but they will not display it in any special way. For that you may want to use Google for Business, which allows you to add your business information to Google.


  6. Hi, Nice plugin. Do we have option to enter holidays also in this plugin. Those days should be marked closed.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.