• Resolved Der lange Frank

    (@derlangefrank)


    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 modification

    if ($special->date->format(‘Ymd’) >= $today) // my modification
    array_push($entries,$entry);

Viewing 1 replies (of 1 total)
  • Plugin Author Maarten

    (@maartenbelmans)

    Hi there,

    Unfortunately, in the free version your wishes are not possible (unless with custom code, like you did – but beware if we update the plugin you lose those changes).

    Our premium version does solve your two requests.

Viewing 1 replies (of 1 total)
  • The topic ‘two improvement requests’ is closed to new replies.