Title: Remove Date from Recent Posts Widget
Last modified: August 21, 2016

---

# Remove Date from Recent Posts Widget

 *  Resolved [dman1302](https://wordpress.org/support/users/dman1302/)
 * (@dman1302)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/)
 * I am looking to remove the date from the virtue recent posts widget is there 
   any custom css to complete this? I have tried the WP date remover and it removes
   every date from the site. I would only like the recent posts widget dates removed.

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

 *  Thread Starter [dman1302](https://wordpress.org/support/users/dman1302/)
 * (@dman1302)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432562)
 * Forgot to add using Virtue 1.8.4 free version
 *  Thread Starter [dman1302](https://wordpress.org/support/users/dman1302/)
 * (@dman1302)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432565)
 * Removed
 * ‘<span class=”recentpost_date”><?php echo get_the_date(get_option( ‘date_format’));?
   ></span>’
 * from widgets.php
 * worked like a charm. Still would like to know if there is some custom css that
   can be added because updates will remove this.
 * Thanks again.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432691)
 * Here you go, sorry about the delay – busy season 🙂
 *     ```
       .kadence_recent_posts .recentpost_date {
       display: none;
       }
       ```
   
 * Kadence Themes
 *  Thread Starter [dman1302](https://wordpress.org/support/users/dman1302/)
 * (@dman1302)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432695)
 * Its all good. I appreciate it. Just didn’t want to have to create a child theme
   for that little code! Thank you again!
 *  [buddhaburke](https://wordpress.org/support/users/buddhaburke/)
 * (@buddhaburke)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432784)
 * Hi.. can you tell me exactly where to put this code? Is it in the “custom.php”
   or “custom-css.php”? And what needs to proceed the line of code provided? Sorry
   I have to have it spelled out for me.. I tried tinkering around and got a syntax
   error. Thanks.
 * While we’re at it, is there anyway to remove the date in the permalink URL of
   posts?
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432785)
 * You put css in the custom css box in the theme options > advanced settings. Don’t
   edit php files and don’t add css to theme files.
 * Permalink settings are part of the wordpress settings. themes don’t control this
   go to settings permalinks and choose an option without a date.
 * Please in the future create new topic so your question is not missed.
 * Kadence Themes
 *  [buddhaburke](https://wordpress.org/support/users/buddhaburke/)
 * (@buddhaburke)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432786)
 * Thank you.. suppose I should have known that, but I only use it sparingly, and
   it’s been a while.
 * However, it’s not working for me. I’ve copied & pasted what you posted here. 
   I’m thinking we’re actually talking about two different things.
 * I’d like to remove the date from the “Latest Blog Posts” widget on the front 
   page. Under where it says “inspirational writings & reflections of the soul”:
 * [http://www.awakeningtobeauty.com](http://www.awakeningtobeauty.com)
 * Thx,
    BBB
 * (noted re: starting new topic, w/do in future)
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432787)
 * Hey buddhaburke, try adding this to your custom css box in appearance > theme
   options > advanced settings:
 *     ```
       .home .postdate {
       display: none;
       }
       ```
   
 * Hope this helps!
    Hannah
 *  [buddhaburke](https://wordpress.org/support/users/buddhaburke/)
 * (@buddhaburke)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432788)
 * Yes that did it! ty so very much! 🙂 … so happy to receive such prompt support
   from admins and community

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

The topic ‘Remove Date from Recent Posts Widget’ is closed to new replies.

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

 * 9 replies
 * 4 participants
 * Last reply from: [buddhaburke](https://wordpress.org/support/users/buddhaburke/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/remove-date-from-recent-posts-widget/#post-4432788)
 * Status: resolved