Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

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

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

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 will 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 will 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 will cover two methods and show you how to manage business information in search results:

Video Tutorial

Subscribe to WPBeginner

If you prefer written instructions, then just keep reading.

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

This method is easier and recommended for all users.

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.

The best thing about All in One SEO (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.

Note: You will need at least the 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. Just 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 the All in One SEO » Local SEO page to set up your business information.

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

Enable locations

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 will 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 are 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 the 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 WordPress blog 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 a 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 the 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.

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

Enable multiple locations

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 the Business Profile » Locations page.

Add new location

On the next screen, you need to provide a name for your new location.

After that, you can scroll down to the ‘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"]

Finding your location ID

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.

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

Single location business hours

Managing Business Information in Google Search Results

Google uses Schema.org rich snippets to fetch and display rich search results from your website.

Schema.org 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 will 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.

Update: Websites made with Google Business Profiles will be turned off as of March 2024. See our guide on what to do about Google shutting down Business Profile sites and our recommendations of the best alternatives to Google Business Profile sites.

We hope this article helped you add your business hours to your WordPress site. Now that you know how to add your business hours in WordPress, you may like to see some other articles related to local SEO:

Expert Guides on Local SEO

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. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

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

11 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Moinuddin Waheed says

    AIOSEO is so much powerful tool for seo purposes that the more i gain knowledge about it the more I am becoming a fan of this plugin.
    Adding a business hours is needed by most of the physical businesses and shops.
    I will surely use the mentioned methods to include open hours in my clients websites, my institute website and whenever it is needed.

  3. Chris Teske says

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

  4. Jaime says

    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?

  5. DMTI says

    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

  6. fantasmo says

    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)

  7. shajeer says

    Hi,

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

    Regards
    shajeer

    • WPBeginner Support says

      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.

      Admin

  8. Deepak Gera says

    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.