Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
Use the following shortcode to display the opening hours info.
[aioseo_local_opening_hours]
The following options are supported:
- location_id
- Default: empty
- If Multiple Locations is on use a location's ID.
- If Multiple Locations is off ( and location_id is empty ) the Business Information under AIOSEO -> Local Seo -> Opening Hours will be used.
- show_title
- Default: true
- Show or hide the title.
- show_icons
- Default: true
- Show or hide icons ( address, phone, fax, email ).
- show_monday
- Default: true
- Show or hide the monday hours.
- show_tuesday
- Default: true
- Show or hide the tuesday hours.
- show_wednesday
- Default: true
- Show or hide the wednesday hours.
- show_thursday
- Default: true
- Show or hide the thursday hours.
- show_friday
- Default: true
- Show or hide the friday hours.
- show_saturday
- Default: true
- Show or hide the saturday hours.
- show_sunday
- Default: true
- Show or hide the sunday hours.
- label
- Default: Our Opening Hours:
- Specify the text for the label.
Note:
You can find the Location ID to use in this shortcode by editing a location and looking in the browser URL bar where it says “post=1”. The number is the Location ID.
Here's an example of how to use this shortcode with the options:
[aioseo_local_opening_hours location_id=4573 show_icons=false label="Hours of Operation:"]