Support » Fixing WordPress » Remove the time from recent posts..

  • I would like to remove the time from the time and date stamp on my recent posts, anyone know how to do this ?

    Really don’t want people to know I am still up talking nonsense at 4am lol 😉

    Just having the date of the post is fine…

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can edit the time format in the theme template file code that displays the date/time.

    From the documentation for the_time()

    <p>Posted: <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></p>

    This part displays the time at <?php the_time('g:i a'); ?>
    The 1st part displays the date


    To remove date/time from post you need to edit page.php file of your theme folder..and remove some code which are mentioned in this URL:

    [spam link moderated]


    Shane G.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove the time from recent posts..’ is closed to new replies.