Title: Jen via CDS Support's Replies | WordPress.org

---

# Jen via CDS Support

  [  ](https://wordpress.org/support/users/cds2016/)

 *   [Profile](https://wordpress.org/support/users/cds2016/)
 *   [Topics Started](https://wordpress.org/support/users/cds2016/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cds2016/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cds2016/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cds2016/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cds2016/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cds2016/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Auto-hide Rows based on Date](https://wordpress.org/support/topic/auto-hide-rows-based-on-date/)
 *  Thread Starter [Jen via CDS Support](https://wordpress.org/support/users/cds2016/)
 * (@cds2016)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/auto-hide-rows-based-on-date/#post-7616153)
 * Well, I was only able to get it up and running so quickly due to your awesome
   support! I do plan on tossing a decent donation your way as I foresee using your
   plugin quite a lot in the future—thanks for your awesome contribution and time
   dedication to the WP community.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Auto-hide Rows based on Date](https://wordpress.org/support/topic/auto-hide-rows-based-on-date/)
 *  Thread Starter [Jen via CDS Support](https://wordpress.org/support/users/cds2016/)
 * (@cds2016)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/auto-hide-rows-based-on-date/#post-7616148)
 * Thanks! It looks like I got it to work by modifying the code as you advised:
 * **line 63:**
 *     ```
       return ( $date_timestamp < strtotime( 'today' ) && $date_timestamp < strtotime( '- 6 months' ) );
       ```
   
 * **line 95:**
 *     ```
       return ( $date_timestamp < strtotime( 'today' ) && $date_timestamp > strtotime( '- 6 months' ) );
       ```
   
 * Please let me know if you think anything about the mods are a bit “hacky” since
   I’m quite rusty at PHP, but so far it looks functional for my client’s needs.
 * Thank you for your help with this, and for a great plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Auto-hide Rows based on Date](https://wordpress.org/support/topic/auto-hide-rows-based-on-date/)
 *  Thread Starter [Jen via CDS Support](https://wordpress.org/support/users/cds2016/)
 * (@cds2016)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/auto-hide-rows-based-on-date/#post-7616071)
 * Yes—I came across that thread in my search but moved on as it didn’t seem to 
   mention any way of setting any sort of a date range.
 * I will take your advice and look into modifying the extension you shared. We’ve
   already got 5 of your extensions installed so thanks again for all you’ve done
   with this plugin—I know this date situation is probably a crazy, one-off need.
 * I can probably figure out how to setup a _‘show only dates within a 6-mo range’_
   environment eventually, but do you have any guidance on how to make this work
   for both tables? Where one shows the most recent 6 mo. of data, and the other
   page would hide that data? It’s been years since I’ve gotten down with good ol’
   PHP. Of course, I plan to share any solution I end up with here in the forum,
   just in case anyone in the future has a similar need.

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