Title: Widget Date
Last modified: November 30, 2016

---

# Widget Date

 *  [hyperfrontier](https://wordpress.org/support/users/hyperfrontier/)
 * (@hyperfrontier)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/widget-date/)
 * The date displayed in the widget does not appear to be properly scoped. It displays
   the date of the first post for all subsequent posts listed. The fix is to add
   the format and post id to the get_the_date() [https://codex.wordpress.org/Function_Reference/get_the_date](https://codex.wordpress.org/Function_Reference/get_the_date)
   in the widget function of this plugin, e.g.:
 * `<?php echo get_the_date( 'm/d/Y', $fp->ID );?>`

The topic ‘Widget Date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/featured-posts-and-custom-posts.svg)
 * [Featured Posts and Custom Posts](https://wordpress.org/plugins/featured-posts-and-custom-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-posts-and-custom-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [hyperfrontier](https://wordpress.org/support/users/hyperfrontier/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/widget-date/)
 * Status: not resolved