Function: aioseo_local_opening_hours()

Use the following function to display the opening hours info.

<?php if( function_exists( 'aioseo_local_opening_hours' ) ) aioseo_local_opening_hours(); ?>

The following options are supported:

  • locationId
    • Default: ”
    • 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.
  • showTitle
    • Default: true
    • Show or hide the title.
  • showIcons
    • Default: true
    • Show or hide icons ( address, phone, fax, email ).
  • showMonday
    • Default: true
    • Show or hide the monday hours.
  • showTuesday
    • Default: true
    • Show or hide the tuesday hours.
  • showWednesday
    • Default: true
    • Show or hide the wednesday hours.
  • showThursday
    • Default: true
    • Show or hide the thursday hours.
  • showFriday
    • Default: true
    • Show or hide the friday hours.
  • showSaturday
    • Default: true
    • Show or hide the saturday hours.
  • showSunday
    • Default: true
    • Show or hide the sunday hours.