WordPress.org

Ready to get started?Download WordPress

Forums

Displaying Page information (4 posts)

  1. dblester
    Member
    Posted 5 years ago #

    so im new so using wordpress and php so im learning as i go. what im trying to do is, for posts show the date that they were posted and i got that to work, but what that also did is when i click on a page link it also shows the date for that as well and i dont want that i just want posts to show the date and not pages to do that. does that make sense?, and is that possible?

  2. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    i just want posts to show the date and not pages to do that

    Of course that can be done. Open up your theme's page.php and delete the date tag.

  3. dblester
    Member
    Posted 5 years ago #

    oh i forgot to mention i am writing my own theme.. so how do i define the difference between posts, and pages for a page.php... ive been looking over different themes and im not quite sure on how to do it.. sorry if these questions are dumb

  4. dblester
    Member
    Posted 5 years ago #

    oh wait nvm i figured it out thanks for the help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.