Appointments - Only display start time

Appointments - Only display start time on the left side column to improve view in mobile devices. Found a previous thread - but solution does not apply - in appointments.php file,
find line $ret .= "<td class='appointments-weekly-calendar-hours-mins'>".$from." - ".$to."</td>"
change to $ret .= "<td class='appointments-weekly-calendar-hours-mins'>".$from."</td>";
Line does not exist in appointments.php

  • Dimitris

    Hey there milvio,

    I trust you're doing good today! :slight_smile:

    There's been some refactoring in plugin's codebase since that thread you've found.
    Again, you should edit a plugin file to achieve this, so this change will be lost when you update Appointments+ plugin in the future and the following change should be made again.

    Having said that, connect to your server via FTP and edit
    file, in line #614, replace
    <td class='appointments-weekly-calendar-hours-mins'><?php echo $from_time . " - " . $to_time; ?></td>
    <td class='appointments-weekly-calendar-hours-mins'><?php echo $from_time; ?></td>

    Take care,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.