Installation
- Navigate to the Add New sub-page under the Plugins admin page.
- Search for
Connections Business Directory Hours
. - The plugin should be listed first in the search results.
- Click the Install Now link.
- Click the Activate Plugin link to activate the plugin.
Configuration
Now that Hours is installed and activated, let’s enable it so it is displayed.
First, navigate to the Connections : Settings admin page and click the Display tab.
Next, scroll down to the Result List : Content Blocks section and enable the Business Hours option. Then scroll down to the Single Entry : Content Blocks section and enable the Business Hours option.
Tip
You can choose to display the Business Hours Content Block in either the Result List or the Single entry Content Block sections. You do not need to choose both.
Tip
Drag and drop the content blocks in the order you prefer them to be displayed.
Important
Not all templates support display content blocks in the Results list view.
Lastly, click the Save Changes button.
Widget
In addition to displaying the business hours using the Content Blocks you can display the business hours of operation in the theme’s sidebar using the included widget. The widget is highly configurable, providing you with many options.
FAQs
How do I display Open Hours horizontally?
Add the following to the theme’s custom CSS area found in the Customizer.
.cnbh-block { max-width: none !important; overflow: hidden; width: 100% !important; } .cnbh-block table { display: block; } .cnbh-block table thead { display: none; } .cnbh-block table tbody { display: flex; flex-wrap: wrap; max-width: 100%; } .cnbh-block table tbody tr { flex: 0 1 auto; min-width: 33%; } .cnbh-block table tbody th { display: block; text-align: left; } .cnbh-block table tbody td { min-width: auto; }
Permalink | Comments Closed