Support » Fixing WordPress » Remove date on ALL pages except for homepage

  • Resolved jlm382



    Is there anyway to remove the date you see on the top right of posts and pages, but leave it on the post if it’s displayed on the homepage?

    I’m referring to

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Edit your page templates and you can display whatever information you want. From Presentation >> Theme Editor, edit all pages you want to remove the date from. Look for the_date and delete those lines to get rid of the date. Do not edit your Main Page Template and the date will show just fine on your home page. Edit Single Post, Search Results, and Archives Template. Those are the three pages I’d guess you want to take the date off of.


    For single post pages check single.php and for pages check page.php. Each one will have the_date tag, just remove it.

    Leave it in index.php as that is for the main page.

    Hope it helps. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove date on ALL pages except for homepage’ is closed to new replies.