Title: &#8220;recently modified&#8221; hack
Last modified: August 18, 2016

---

# “recently modified” hack

 *  [dannyman](https://wordpress.org/support/users/dannyman/)
 * (@dannyman)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/recently-modified-hack/)
 * Hey. I wanted to be able to see posts that had been “recently modified” as opposed
   to the date posted. This way I can add entries out-of-order, but still advertise
   them on my sidebar.
    I hacked the get_archives() function to add a recentlymod
   option. You can see the following function call in use under “Recent Posts:” 
   at [http://dannyman.toldme.com/](http://dannyman.toldme.com/) : get_archives(‘
   recentlymod’, 7); The hack is available at: [http://dannyman.toldme.com/scratch/wp-template-functions-general.diff](http://dannyman.toldme.com/scratch/wp-template-functions-general.diff)
   Personally, I would like WP to have an admin feature to distinguish between post_date
   and post_modified … a toggle I could set somewhere to ensure that my RSS feed
   was behaving as “Recent Posts” does. I would also like my hack to be considered
   for inclusion in to WP. Anyone wanna drop me a quick link on how to pursue that?
   Or is posting here the right procedure? Thanks, -danny

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

 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/recently-modified-hack/#post-77731)
 * I modified the recent comments hack previously to get a list of recently updated
   posts, see [http://wordpress.org/support/3/8854](http://wordpress.org/support/3/8854)
 *  [eleanor](https://wordpress.org/support/users/eleanor/)
 * (@eleanor)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/recently-modified-hack/#post-77790)
 * I was playing with this today, and built Oriecat’s suggestions out into a plugin,
   adding a few modified functions of my own. [Read](http://www.proteanstrategy.com/index.php?p=96)
   about what I did, or [download the plugin](http://www.proteanstrategy.com/wp-content/recentlyMod.php).

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

The topic ‘“recently modified” hack’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [eleanor](https://wordpress.org/support/users/eleanor/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/recently-modified-hack/#post-77790)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
