How to Add Dates to WordPress Posts

Not all WordPress themes display the date automatically on the posts that you make. Instead, the date is handled through a tag used within the template itself. This tag displays the month, day and year by default, although you can use other parameters to adjust the way that the date tag shows up on the WordPress blog posts.

Things You'll Need

  • WordPress login and password
Show More

Instructions

    • 1

      Use an administrator account to log in to your WordPress installation.

    • 2

      Click "Appearance" and "Editor."

    • 3

      Click the theme file for your WordPress posts.

    • 4

      Input the tag "?php the_date(); ?>" to display the date. You can enter this code anywhere within the WordPress loop, which is the code that handles the post display and processing. Save your changes to the theme file to make the changes on your theme.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured