• What part of the plugin php could I edit to add a “click to expand” line under the header of the widget?

    Thanks,
    zeem

Viewing 2 replies - 1 through 2 (of 2 total)
  • It sounds like you want to add just one line under the title.

    The title is in the following line in ko-calendar.php

    echo $before_title . '<div class="ko-calendar-widget-title" id="' . $title_id . '">' . $title . '</div>' . $after_title;

    The following line is is the div tag containing the gadget.

    echo '<div class="ko-calendar-widget-events" id="' . $event_id . '">';

    I would add something between the two, perhaps

    echo '<div id="instructions">Click To Expand</div>'

    And then you can update the css with any formatting you want to apply the the “instructions” block.

    Thread Starter zeemy23

    (@zeemy23)

    Thanks so much!

    One more question. Is it possible to change the format from:

    Date
    Title

    to

    Title
    Date, Time

    Thanks again,
    zeem

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Google Calendar Widget] Adding <p> to widget’ is closed to new replies.