Title: Editing Default WordPress Plugins
Last modified: August 19, 2016

---

# Editing Default WordPress Plugins

 *  [andey](https://wordpress.org/support/users/andey/)
 * (@andey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/editing-default-wordpress-plugins/)
 * My blog has about 50-100 posts a day. I like the “calender” widget.
    If you scroll
   your mouse over it / check source wordpress displays each title of posts of that
   day.
 * sharelink: [http://b.imagehost.org/view/0415/wordpress](http://b.imagehost.org/view/0415/wordpress)
   
   hotlink: [http://b.imagehost.org/0415/wordpress.png](http://b.imagehost.org/0415/wordpress.png)
 * anyways, I want to remove that loop of prints, it’s wasting computer resources,
   and multiplying my html file size.
 * **Question:** Where is file location of the wordpress default widget functions?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [andey](https://wordpress.org/support/users/andey/)
 * (@andey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/editing-default-wordpress-plugins/#post-1817069)
 * function get_calendar , line 1060 in wp-includes/general-template.php
 * and comment out
 *     ```
       /**$ak_titles_for_day = array();
       	$ak_post_titles = $wpdb->get_results("SELECT ID, post_title, DAYOFMONTH(post_date) as dom "
       		."FROM $wpdb->posts "
       		."WHERE YEAR(post_date) = '$thisyear' "
       		."AND MONTH(post_date) = '$thismonth' "
       		."AND post_date < '".current_time('mysql')."' "
       		."AND post_type = 'post' AND post_status = 'publish'"
       	);
               **/
       ```
   
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/editing-default-wordpress-plugins/#post-1817070)
 * > anyways, I want to remove that loop of prints, it’s wasting computer resources,
   > and multiplying my html file size.
 * Doesn’t it just pull the information from the existing database? How does that
   affect the size of your html files?
 * [edit] ..and don’t forget, when you upgrade WordPress next time, you’re gong 
   to loose those edits you made in general-template.php, so be prepared for that.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Editing Default WordPress Plugins’ is closed to new replies.

## Tags

 * [calender](https://wordpress.org/support/topic-tag/calender/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 2 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/editing-default-wordpress-plugins/#post-1817070)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
