How to Display Today’s Date in WordPress?

0
1103
How to Display Today's Date in WordPress

Do you want to Display Today’s Date in WordPress?

WordPress Tutorials are presented for the users to understand it better. There are many sites that display the date whereas many that don’t. Displaying a date isn’t a must in a site. But for the WooCommerce, Blog and various other sites displaying it can be beneficial. 

When you display the date in your site, the users can know about it. Further, it can be considered as an informative site too. 

So, without any further delay, let’s head towards Displaying Today’s Date in WordPress. 

I would like to mention that there are different ways to apply to add a date in WordPress website. However, doing it from the admin panel and adding simple code is an easier process. 

Displaying Today’s Date from Admin Panel

The first method is making a change and displaying date directly from the admin panel. 

For this, 

  • Login to your WordPress website or Click on Dashboard
  • Click on Settings>>General
  • Select the Date Format

Add the code mentioned below instead of the above one. You can see the Date displayed on your WordPress website. 

Displaying Today’s Date from Theme File

The second method is to add a code in the Theme file of your choice. But it is better to add in your header.php.

Displaying Today’s Date in WordPress is simple, short and easy to understand. You just need to add the above-mentioned codes in the right place and here your website display today’s date in WordPress. 

Also, follow our tutorial guide to understand WordPress better.

LEAVE A REPLY

Please enter your comment!
Please enter your name here