WordPress.org

Ready to get started?Download WordPress

Forums

How do I remove the dates from my Kubrick-themed page? (2 posts)

  1. bnewnam
    Member
    Posted 8 years ago #

    Hi, I love my WordPress, but I'm a novice. I really want to remove the dates from my mainpage (as well as maybe my archives.) Since I only post on a monthly basis, I fear that it makes my content look stale.

  2. brittanie
    Member
    Posted 8 years ago #

    In your template files, you'll have the find the code that call the date in and just delete it. For example, if you want the date removed from your main page, go to your "index.php" file and find the code that causes the post to appear. Even if you don't know code this should be pretty easy to find. Then, find the tags for the date. They look like this:
    <?php the_time('d'); ?> or <?php the_date('format', 'before', 'after', echo); ?> , and just delete those.

    You'll have to do this for all the files that house post styles. For example, editing index.php only removes the date from the main or index page. You'll also have to edit single.php, archives.php, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic