{"id":13296,"date":"2011-12-19T05:30:27","date_gmt":"2011-12-19T10:30:27","guid":{"rendered":"http:\/\/info.template-help.com\/?p=13296"},"modified":"2016-02-24T05:39:23","modified_gmt":"2016-02-24T10:39:23","slug":"wordpress-how-to-hide-time-and-date-from-the-post-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-hide-time-and-date-from-the-post-page.html","title":{"rendered":"WordPress. How to hide time and date from the post page"},"content":{"rendered":"<p>\r\n<p>How to hide the date and time(timestamp) in WordPress (post)<\/p>\r\n<p><!--more--><\/p>\r\n<p>\r\n In order to  hide a  timestamp in WordPress on your blog posts, please do the following:<\/p>\r\n<ol>\r\n<li>Login to your WordPress admin panel.<\/li>\r\n<li>Go to <strong>Appearance -&gt;Editor<\/strong>.<\/li>\r\n<\/ol>\r\n<p><a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/12\/date__time_in_wordpress_post.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/12\/date__time_in_wordpress_post.jpg\" alt=\"\" title=\"date_&amp;_time_in_wordpress_post\" width=\"289\" height=\"158\" class=\"aligncenter size-full wp-image-13297\" \/><\/a><\/p>\r\n<ol>\r\n<li>Make sure that the theme you are  going to edit is selected from the right-hand menu at the top. <\/li>\r\n<li>Look for the file called (<strong>index.php<\/strong> or <strong>single.php<\/strong>) (the file name depends on the template) under the &ldquo;<strong>Templates<\/strong>&rdquo; on  the right. Click on that.<\/li>\r\n<li>You can skip this step, but it is  highly recommended that you make a copy of the original code before making any  changes to it.<\/li>\r\n<li>Using <strong>Control + F (MAC: Command + F)<\/strong> look for  the following part in the code:<\/li>\r\n<\/ol>\r\n<pre class=\"brudh:php\">&lt;?php the_time('F j, Y'); ?&gt; at  &lt;?phpthe_time() ?&gt;<\/pre>\r\n<p>(template specific, so it may look not exactly  the same, but similar)<\/p>\r\n<ol>\r\n<li>Surround the lines with the  following comment markers (&lt;!&#8211;and&#8211;&gt;) so it would look like <\/li>\r\n<\/ol>\r\n<pre class=\"brudh:php\">&lt;!--&lt;?phpthe_time('F  j, Y'); ?&gt; at &lt;?phpthe_time() ?&gt;--&gt; <\/pre>\r\n<p>or simply delete the whole part<\/p>\r\n<ol>\r\n<li>Click on &ldquo;Update File&rdquo; at the bottom  of the code.<\/li>\r\n<\/ol>\r\n<p><a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/12\/date__time_in_wordpress_post_update.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/12\/date__time_in_wordpress_post_update-300x114.jpg\" alt=\"\" title=\"date_&amp;_time_in_wordpress_post_update\" width=\"300\" height=\"114\" class=\"aligncenter size-medium wp-image-13298\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/12\/date__time_in_wordpress_post_update-300x114.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/12\/date__time_in_wordpress_post_update.jpg 987w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<ol>\r\n<li><a href=\"http:\/\/www.wikihow.com\/Clear-Your-Browser%27s-Cache\">Clear your web browser&rsquo;s cache<\/a> and preview the changes. <\/li>\r\n<\/ol>\r\n<p>&nbsp;<\/p>\r\n<p>Please, also watch a demo movie on how to do  this.<\/p>\r\n<p><a href=\"\/help\/files\/wordpress\/how to hide the date and time in wordpress (post).htm\" target=\"blank\">how to hide the date and time in wordpress<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>How to hide the date and time(timestamp) in WordPress (post)<\/p>\n","protected":false},"author":30,"featured_media":13300,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[843,572,592,1118,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/13296"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=13296"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/13296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/13300"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=13296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=13296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=13296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}