Title: Last updated on
Last modified: December 27, 2018

---

# Last updated on

 *  Resolved [kiksgreggel](https://wordpress.org/support/users/kiksgreggel/)
 * (@kiksgreggel)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/)
 * Hi Ben,
 * I would like to use ‘Last updated on:’ before the date in the Challenger theme.
   
   Do you know how I can manage this?
 * Thnx!
 * Edward
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flast-updated-on%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/#post-11030480)
 * Hi Edward,
 * Thanks for choosing Challenger!
 * I would recommend using this plugin to add that feature: [https://wordpress.org/plugins/wp-last-modified-info/](https://wordpress.org/plugins/wp-last-modified-info/)
 *  Thread Starter [kiksgreggel](https://wordpress.org/support/users/kiksgreggel/)
 * (@kiksgreggel)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/#post-11030514)
 * Hi Ben,
 * Thank you for replying to my question.
 * I mean I need a solution that adds this line to the post byline above the article,
   not a solution inserted in the post, as this plugin does.
 * I know I can change the post date by changing ‘get_the_date’ to get_the_modified_date’,
   but I would like to add the text ‘last updated on’ to that line.
 * Thnx!
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/#post-11030885)
 * Okay this can be done with a child theme then. You can download a starter child
   theme for Challenger here: [download Challenger child theme](https://2nlbk0485y3g2tctv41cmsex-wpengine.netdna-ssl.com/wp-content/uploads/child-themes/challenger/empty/challenger-child.zip).
 * Create a folder called “content” in the child theme and copy the “post-byline.
   php” file from the “content” folder in Challenger into your child theme’s “content”
   folder. You’ll find the date variable set on line 14. You can add the text to
   the beginning of that variable, like this:
 * `$date = 'Lasted updated on: ' . date_i18n( get_option( 'date_format' ), strtotime(
   get_the_modified_date() ) );`
 * That also uses the `get_the_modified_date()` instead of `get_the_date()`.
    -  This reply was modified 7 years, 4 months ago by [Ben Sibley](https://wordpress.org/support/users/bensibley/).
 *  Thread Starter [kiksgreggel](https://wordpress.org/support/users/kiksgreggel/)
 * (@kiksgreggel)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/#post-11031861)
 * Thanks Ben, I will try this.
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/#post-11033439)
 * You’re welcome. Glad I could help!

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

The topic ‘Last updated on’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/challenger/1.19/screenshot.png)
 * Challenger
 * [Support Threads](https://wordpress.org/support/theme/challenger/)
 * [Active Topics](https://wordpress.org/support/theme/challenger/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/challenger/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/challenger/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/last-updated-on/#post-11033439)
 * Status: resolved