Title: Post modified date
Last modified: August 31, 2016

---

# Post modified date

 *  [bosco-carvalho](https://wordpress.org/support/users/bosco-carvalho/)
 * (@bosco-carvalho)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-modified-date/)
 * Where to place the code?
 * “function my_date_range_filter_query_column( $column ){
    return ‘post_modified’;}
   add_filter( ‘date_range_filter_query_column’, ‘my_date_range_filter_query_column’,
   10, 1 );”
 * [https://wordpress.org/plugins/date-range-filter/](https://wordpress.org/plugins/date-range-filter/)

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

 *  Plugin Author [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/)
 * (@jonathanbardo)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-modified-date/#post-6920916)
 * Hey Bosco,
 * You can put it in your theme functions.php or if you are familiar with mu-plugins
   you can create a new php file and drop it there.
 *  Thread Starter [bosco-carvalho](https://wordpress.org/support/users/bosco-carvalho/)
 * (@bosco-carvalho)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-modified-date/#post-6920991)
 * Hi Jonathan,
 * I triyed a few places in the functions.php without sucess.
 * No I’m not familiar with mu-plugins.
 * Is there another way to insert the code, as I want to get the list of the postings
   by the date they were created or modified, as some were published in the past.
 *  Plugin Author [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/)
 * (@jonathanbardo)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/post-modified-date/#post-6920997)
 * Normally this should work without much know how in your functions.php
 * I’ll get around to test this again in the next few weeks.
 * In the meantime you can look into mu-plugins here: [http://code.tutsplus.com/tutorials/ever-heard-of-must-use-plugins–cms-21982](http://code.tutsplus.com/tutorials/ever-heard-of-must-use-plugins–cms-21982)

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

The topic ‘Post modified date’ is closed to new replies.

 * ![](https://ps.w.org/date-range-filter/assets/icon.svg?rev=1013014)
 * [Date Range Filter](https://wordpress.org/plugins/date-range-filter/)
 * [Support Threads](https://wordpress.org/support/plugin/date-range-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/date-range-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/date-range-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/date-range-filter/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [date](https://wordpress.org/support/topic-tag/date/)
 * [function](https://wordpress.org/support/topic-tag/function/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/post-modified-date/#post-6920997)
 * Status: not resolved