1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Display The Post Date In Wordpress

  1. Clicks today:
    0
  2. Clicks this month:
    1
  3. Overall rating:
    5.00/5

PHP » Content Management Systems — almost 7 years ago
If you are using the WordPress loop to display your posts then you should be using the get_the_date() function. The difference is get_the_date() will always return the date of the current post. This doesn’t have any parameters so using it is very simple.

Comments

Your Comment

You must be logged in to post a comment.