Title: Hiding dates in posts
Last modified: August 20, 2016

---

# Hiding dates in posts

 *  Resolved [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/)
 * Hi, is there a plugin or something that can hide the date a post was made? i 
   read about something but couldnt find the code to delete in my theme , thanks

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/hiding-dates-in-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/hiding-dates-in-posts/page/2/?output_format=md)

 *  [Mohammed Mazhar](https://wordpress.org/support/users/bornvirtual/)
 * (@bornvirtual)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209888)
 * Removing the date from wordpress post is very simple, all you have to do is search
   for these lines of code in your theme file and delete them.
    **Lines to delete:**
 *     ```
       <?php the_date(); ?>
       or this function
       <?php the_time(); ?>
       ```
   
 * Or you can use some plugins also. You can also read the entire tutorial on this
   topic [Remove date from WordPress posts](http://bornvirtual.com/wordpress/remove-date-from-wordpress-post/)
 * Hope this solves your problem, buddy
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209889)
 * Be sure that you are not editing theme files directly — use a child theme so 
   you won’t lose any change when the theme is updated.
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209897)
 * Thanks Mazhar , will take a look hopefully i wont mess up lol
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209924)
 * I tried the plugin and now it states 15666 daysago posted !
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209940)
 * The easier way to do what you want is to use CSS “display: none;” to hide the
   date from displaying on the page. You need to use the class or ID for the date
   element as the selector for that CSS. If you post a link to your site, someone
   can likely be more specific. But again, make a child theme or use a custom CSS
   option or plug-in. Modifying theme files will create major problems for you down
   the road.
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209952)
 * Anyone able to do it for me? im lost here
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209953)
 * > Hi, is there a plugin or something that can hide the date a post was made?
 * WPyogi’s advice is on target, you really want to do it with a [child theme](http://codex.wordpress.org/Child_Themes)
   and preferably with CSS as that’s often easiest.
 * Which theme is it? If you are using one from the [WordPress theme repo](http://wordpress.org/extend/themes/)
   here then someone may be able to provide you some specific advice.
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209954)
 * Hi the theme is travel press ,got to be honest its above me ..im one of the saddos
   that uses WordPress but dont fully understand this thanks pal
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209959)
 * Unless you post a link to your site, it’s impossible to give specific help. There
   seem to be quite a few themes with that name. If it’s a commercial theme, you’ll
   need to get help from the vendor.
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209960)
 * Hi the link is [http://www.whatsonbenidorm.com](http://www.whatsonbenidorm.com),
   i did have a plugin but the date stayed at 15666 days posted
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209961)
 * As noted above, you should not make any changes to theme files — so use a custom
   CSS plug-in, option or a child theme. Then add this to the new CSS section/file:
 *     ```
       .entry-meta {
          display: none !important;
       }
       ```
   
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209962)
 * Looks like your theme already has a custom.css file — so use that.
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209963)
 * Hi appreciate your time on this, do i just add that code to the custom.css file?
   thanks again
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209964)
 * Yep, and then be sure to clean any browser or other caches.
 *  Thread Starter [robbieray](https://wordpress.org/support/users/robbieray/)
 * (@robbieray)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/#post-3209965)
 * Thanks your a star !

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/hiding-dates-in-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/hiding-dates-in-posts/page/2/?output_format=md)

The topic ‘Hiding dates in posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 4 participants
 * Last reply from: [robbieray](https://wordpress.org/support/users/robbieray/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/hiding-dates-in-posts/page/2/#post-3209967)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
