• I want to remove the date from my pages. I don’t like it there, but where do I edit. I’ve looked everywhere!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Look in index.php and single.php. Edit out all references to <?php the_date(); ?>. You may also have to change references to <?php the_time(); ?> so that they don’t have any date formatting strings inside the parentheses.

    Thread Starter Cheryl

    (@cheryl)

    Doing that will remove the date from my entries too though, won’t it?

    “I want to remove the date from my pages.”

    Avenir was going by what you asked for. Now, do you mean pages, or Pages? Or…some other sort of pages. In other words, where *exactly* do you not want the date and/or time to appear?

    I would like to know this also. I believe the author means they would like to remove the date only from the CONTENT pages. The ones that aren’t actually blog posts, but contain other content.

    Around here we call those Pages (with a capital P — if you meant the ones created under Write > Pages or edited through Manage > Pages). Many themes have a template specifically for Page display: page.php. You can edit the date from this by following Avenir’s directions above.

    If your theme *doesn’t* have this template, you can easily add one by copying your theme’s index.php, renaming it page.php, and making the edits already mentioned.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing Date’ is closed to new replies.