Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wuh

    (@wuh)

    You’d just need to mark which days are unavailable yourself through the plugin’s settings page. Those days will appear as unavailable at the front-end. You’d probably then want to remove the “Some slots taken, see below” line from the legend. If you’re comfortable editing PHP, change line 304 in diary-and-availability-calendar.php from:

    $legend .= '
      <div id="daac-legend">
        <div class="legend-item">
          <span class="available">_</span>Available all day
        </div>
        <div class="legend-item">
          <span class="bookings">_</span>Some slots taken, see below
        </div>
        <div class="legend-item">
          <span class="unavailable">_</span>Unavailable
        </div>
      </div>
    ';

    to:

    $legend .= '
      <div id="daac-legend">
        <div class="legend-item">
          <span class="available">_</span>Available all day
        </div>
        <!--<div class="legend-item">
          <span class="bookings">_</span>Some slots taken, see below
        </div>-->
        <div class="legend-item">
          <span class="unavailable">_</span>Unavailable
        </div>
      </div>
    ';

    Hope that helps

    Thread Starter tomchute

    (@tomchute)

    Thank you very much – brilliant

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing time – showing just date’ is closed to new replies.