Title: ?Replace html without forking
Last modified: March 19, 2019

---

# ?Replace html without forking

 *  [DarthTater](https://wordpress.org/support/users/darthtater/)
 * (@darthtater)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/replace-html-without-forking/)
 * I’d like to not have dots representing events within the calendar widget. I was
   able to do that within google-calendar-events/includes/calendars/views/default-
   calendar-grid.php by replacing within public function draw_month():
 *     ```
          		echo "\t\t" . '<span class="simcal-day-label simcal-day-number"'
                       . $day_style . '>' . $day . '</span>' . "\n";
                   echo "\t\t" . $list_events . "\n";
       			echo "\t\t";
   
       			echo '<span class="simcal-events-dots" style="display: none;">';
                   // Event bullets for calendar mobile mode.
       			for( $i = 0; $i < $count; $i++ ) {
       				echo '<b style="color: ' . $bullet_colors[ $i ] . ';"> &bull; </b>';
       			}
       ```
   
 * with
 *     ```
               if ($count)
               {
                   for( $i = 0; $i < $count; $i++ )
                   {
                      echo "\t\t" . $list_events . "\n";      // Need this for popup
                      echo '<span class="simcal-events-dots"' . $day_style . '>'
                          . $day . '</span>' . "\n";
       			}
               }
               else echo "\t\t" . '<span class="simcal-day-label simcal-day-number"'
                   . $day_style . '>' . $day . '</span>' . "\n";
       ```
   
 * Is there a way to make those changes without forking the plugin? I didn’t find
   a hook or filter that would do that, but I’m not very good with php.

The topic ‘?Replace html without forking’ is closed to new replies.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

## Tags

 * [events](https://wordpress.org/support/topic-tag/events/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [fork](https://wordpress.org/support/topic-tag/fork/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [simple calendar](https://wordpress.org/support/topic-tag/simple-calendar/)

 * 0 replies
 * 1 participant
 * Last reply from: [DarthTater](https://wordpress.org/support/users/darthtater/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/replace-html-without-forking/)
 * Status: not resolved