Title: [Plugin: Google Calendar Widget] Adding &lt;p&gt; to widget
Last modified: August 19, 2016

---

# [Plugin: Google Calendar Widget] Adding <p> to widget

 *  [zeemy23](https://wordpress.org/support/users/zeemy23/)
 * (@zeemy23)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-calendar-widget-adding-ltpgt-to-widget/)
 * 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)

 *  [Poco](https://wordpress.org/support/users/poco/)
 * (@poco)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-calendar-widget-adding-ltpgt-to-widget/#post-1519333)
 * 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](https://wordpress.org/support/users/zeemy23/)
 * (@zeemy23)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-calendar-widget-adding-ltpgt-to-widget/#post-1519389)
 * 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.

 * 2 replies
 * 2 participants
 * Last reply from: [zeemy23](https://wordpress.org/support/users/zeemy23/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-calendar-widget-adding-ltpgt-to-widget/#post-1519389)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
