Apr 13, 2020 | Divi Resources

How to customize Date format in WordPress & Divi globally

By default, WordPress has Month, Day, and Year format for the date. But if somebody wants to change it, then it also provides the options to achieve that in a very simple and easy way. Follow the below simple steps to customize the date format of WordPress as well as inside the Divi theme.

Choosing custom date format in WordPress

Before we change the date format, take a look at the default date format of the blog and post layout of the WordPress in Twenty Twenty theme.

 

By Default WordPress Date Format

Default Date Format of WordPress’s Archive Page

 

Let’s change the date format now.

 

Changing WordPress’ date format globally

 

      1. Go to WordPress’ General Settings.
      2. Visit, Formatting Date and Time page of the WordPress.org
      3. From above page copy String from the Format String Examples. Or create your own from the table available at the page.
      4. For this tutorial, I have copied the following string,
      5. F j, Y g:i aNovember 6, 2010 12:50 am.
      6. Now, after copying your format string, add it in the custom tab of the Date Format inside the General Settings.Paste the Format String from WordPress.org page

 

  1. Save changes.
  2. And you have successfully changed the date format in your WordPress site globally.

Date Format has been changed for the archive page of the WordPress Twenty Twenty theme

 

Choosing custom date format for the Divi theme

Just like the WordPress, the Divi theme, too, has the same Month, Date, and Year date format. See the below screenshot of the blog post.

 

Default Divi Date Format

Default Date Format of the Divi Blog Post

 

To change the date format inside the Divi theme, follow the below steps.

 

      1. First, go to the Divi Theme Options.
      2. Then, scroll down to the Date Format input field of the General settings.Date Format Setting of the Divi Theme

 

  1. Paste the Format String inside this field copied from above Format String Examples page.
  2. Save Changes
  3. Date Format inside the Divi has been changed.

    As you can see in the above screenshot, Date Format has been changed for the Divi theme as well

 

Customizing date format for the Divi blog module

 

Follow the easy steps to change the date format of a specific blog page created using the Divi Blog module.

      1. First, edit the page where you’ve used the Divi blog module.
      2. Then, go to module’s settings and paste the Format Stings in the Date Forma input field of the content tab.Changing Date format of the Divi Blog Module

     

    1. Now, save changes. And you’ve successfully changed the Date Format of the Divi Blog module.

 

Date Format for the Divi Blog module has changed

Summary

Above, we’ve shown you the ways that can help you change the date format of the WordPress and site using the Divi theme effortlessly. If you got any views about this post, then share your thoughts in the comment section. Whether it was easy to follow or not. Or suggest any topic you think would be useful to the community.

Posted By:
Vishvendra
Vishvendra believes in the keep learning process and applying those learnings into work. Other than technical writing, he likes to write fiction, non-fiction, songs, and comic ideas. He loves what he writes and writes what he loves. Search his name with "Nathawat," and you'll easily find him over the internet.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Using Divi for RTL Website? Here Are 3 Things You Need To Know

Using Divi for RTL Website? Here Are 3 Things You Need To Know

Running a website for the business is one of the crucial aspects of running a business in today’s time. Whether you’re manufacturing fashion apparel or designing web projects, an online platform is always a plus. Based on this, more and more businesses are adopting...

An Amazing Guide on Divi Scroll Effects & How to Use Them Creatively

An Amazing Guide on Divi Scroll Effects & How to Use Them Creatively

Divi Scroll Effects are a great way to turn a simple Divi website into a modern one. And not only modern but highly interactive with enhanced engagement for different areas of the site. You could highlight CTAs, content sections and hook users to the purpose you've...

7 Easy Steps To Create Popups for Divi With Divi Modal Popup

7 Easy Steps To Create Popups for Divi With Divi Modal Popup

Popups can help you do many beneficial things on your site. For example, showing discount coupons, sales, announcements and much more. With them, you could easily boost interaction on your site and turn more leads into conversion. Therefore, if you're looking for a...

Popular on Divi Extended

Divi Plus Divi Child Theme Divi Header Layouts