WordPress.org

Forums

[resolved] Post Date and Time (5 posts)

  1. ashiquekhan
    Member
    Posted 7 years ago #

    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?

  2. christykny
    Member
    Posted 7 years ago #

    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?

  3. ashiquekhan
    Member
    Posted 7 years ago #

    http://www.dailychatpati.com

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

  4. CyberCobre
    Member
    Posted 7 years ago #

    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.

  5. christykny
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic