Title: A totally ambitious function request
Last modified: August 21, 2016

---

# A totally ambitious function request

 *  [Adam](https://wordpress.org/support/users/gourmetbooks/)
 * (@gourmetbooks)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/)
 * Hi again,
 * I’ve got a need someone else may need, or someone more code-savvy may be able
   to help with, so I’m asking publicly.
 * I want to wrap the `<li>` items that were modified in the last 30 days with a
   span tag. ie. if Post X has a modified date of less than 30 days ago, output 
   it wrapped in `<span class="recentchange">`; if it has a modified date of greater
   than 30 days ago, leave it alone.
 * I’ve gotten a little help with this, and what I think is relevant is below. Anyone
   want to help me out? Thank you!
 * `if((date('U') - get_the_modified_date('U')) <= 2592000) {`
 * [https://wordpress.org/plugins/list-category-posts/](https://wordpress.org/plugins/list-category-posts/)

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

 *  Plugin Author [Fernando Briano](https://wordpress.org/support/users/fernandobt/)
 * (@fernandobt)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/#post-4594530)
 * I’ll put on my thinking hat…
 *  Thread Starter [Adam](https://wordpress.org/support/users/gourmetbooks/)
 * (@gourmetbooks)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/#post-4594552)
 * More than I could ask. 🙂
 *  Thread Starter [Adam](https://wordpress.org/support/users/gourmetbooks/)
 * (@gourmetbooks)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/#post-4594571)
 * FWIW, I’d totally be willing to “sponsor” this feature with a donation. Not a
   customization for my exclusive purposes, but a proper feature to add to the plugin’s
   already deep pockets, which I’d be happy to throw you some cash for.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/#post-4594572)
 * Please contact the plugin’s author to discuss this privately rather than on these
   forums.
 * Thank you.
 *  Thread Starter [Adam](https://wordpress.org/support/users/gourmetbooks/)
 * (@gourmetbooks)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/#post-4594573)
 * Apologies.

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

The topic ‘A totally ambitious function request’ is closed to new replies.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Adam](https://wordpress.org/support/users/gourmetbooks/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/a-totally-ambitious-function-request/#post-4594573)
 * Status: not resolved