Deleting Date/Time From Wordpress

3 replies
  • WEB DESIGN
  • |
Hi,

I used to be able to do this by simply deleting any mention of the_date from the index.php file, however, I'm now just using the default TwentyTen theme and I can't figure out how to do it.

The only mention of the_date I could find was in the functions.php file and when I deleted that line it destroyed my blog haha.

I also tried that "Date Exclusion Plugin" but it didn't work.

Thanks!
#date or time #deleting #wordpress
  • Profile picture of the author Nail Yener
    The code that controls the date is

    Code:
    <?php twentyten_posted_on(); ?>
    which you can find in single.php. But removing it also removes "by Admin".
    {{ DiscussionBoard.errors[3211574].message }}
    • Profile picture of the author halfpoint
      Originally Posted by ademmeda View Post

      The code that controls the date is

      Code:
      <?php twentyten_posted_on(); ?>
      which you can find in single.php. But removing it also removes "by Admin".
      Thank you!

      Is that the only place? I just deleted it from there and the date and "by Admin" are still there.

      Edit - Oh, actually, it did delete it from the individual posts, however, on the main homepage it's still there. So I guess to delete that I need to look somewhere else?
      {{ DiscussionBoard.errors[3211809].message }}

Trending Topics