Support » Fixing WordPress » Post Date and Time

  • Resolved ashiquekhan

    (@ashiquekhan)


    Hey my wordpress page shows the date under the title of every page. How do I only show the date in the home page rather than all of the pages?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you actually referring to Pages or posts? The date showing up is dependent on what is coded into the theme. And it depends on what set up you have for the home page as to what you need to do to have dates show only there. Do you have a url you can share?

    http://www.dailychatpati.com

    For example the Advertising, About, and Contact pages I do not want the date to show. THank you.

    Edit your theme. I think that will do it. I’ve not done it before, but all my other edits for similar details were done by simply editing the theme. Be sure to keep a back-up of the original file before editing.

    Right. More specifically, edit this line out of the page.php <?php the_date(); ?>

    This will remove it from ALL Pages that you create (not posts). If you want a specific Page to contain the date, you’ll have to make a separate template for it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Date and Time’ is closed to new replies.