For that, we will first open functions.php of our current theme. Our first step is to set up the actual shortcode. We will create a simple shortcode that, if input anywhere on your site, will display this the time and date to your visitors. One way to include the current time and date on your site is to code a solution yourself.
#WORD CLOCK WIDGET HOW TO#
How to Create a Date and Time Widget Manually in WordPress
![word clock widget word clock widget](https://img.tapimg.net/market/images/dec7cd3353b101f739a0d3465f135f27.png)
Sounds good? Then let’s not dillydally but get right to it. First, we will go over how to do it manually, then will talk about some plugin solutions that let you do the same thing without any coding. In the following article, we will show you several ways you can create a date and time widget for your website. Reason enough to learn how to implement one on your WordPress site. In short, displaying a date and time widget helps bind your audience, makes your site more attractive and positions you as a provider of up-to-date news and information.
![word clock widget word clock widget](https://www.wpbeginner.com/wp-content/uploads/2021/04/selectctrandposition.png)
If have upcoming events on your page, the current time and date helps visitors understand how much longer they need to wait for them (alternatively, use a countdown timer module such as the one included in the Divi theme).This is important since most of us on the lookout for the latest, up-to-date info. It makes your site look alive and relevant, even if your content is a little older.You can display the current time in your time zone to let customers know when they can reach customer support.There are plenty of reasons other sites should think about doing the same: However displaying the current date and time is not only for news websites. When print journalism moved to the web, that wasn’t about to change. Getting today’s date from their newspaper just something that had always been part of people’s lives. Displaying a date and time widget is something that started with newspaper websites.