two improvement requests
-
I’m using the free version and the plugin is by far the best on this topic. But I have two little wishes. Would that be possible?
1) I would like to add the year to the date under “holidays” so that 31.12.2020 and 01.01.2021 are displayed in the correct order at the end of the year.
2) The dates in the past under “holidays” should no longer be displayed.
code in “class-shortcode-controller.php”
$closed = __(‘Closed’, ‘business-hours-indicator’);
$today = date(‘Ymd’); // my modificationif ($special->date->format(‘Ymd’) >= $today) // my modification
array_push($entries,$entry);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘two improvement requests’ is closed to new replies.