Support the development of TastyIgniter Learn more
I want to add the opening times to partial header. Where can I find the route/controller to add this component.
Thanks a lot in Advance!
My Question is how I can add opening hours component to header template ?
$location is available as a variable in the header on pages using the local layout… its an instance of Igniter\Local\Classes\Location
So you can use $location->openTime()