Sometimes you need to show current date on your page or post of WordPress blog.
You can often see it on affiliate products pages. It makes your website look current and like it’s updated daily.
Here is step-by-step guide how to do that:
1. Add to functions.php code below (copy and paste it at the end of file)
return date(‘l, F jS, Y’);
// end date
2. To insert current date anywhere in WordPress blog insert this shortcode: