Black Friday & Cyber Monday Offer | Flat 20% OFF on Lifetime & All Themes Package. Use coupon code BFCM24 | Offer valid till 5th Dec 2024 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Reply To: News Bug Section 9 ?

#5235
Grace Themes
Member

Hi Edgar

Thanks for pointing this issue.
We have just updated MilestoneZ theme to solve the issue of date.

To display the correct date
Go to Appearance -> Editor -> custom-functions.php
at line no. 902 you will find the below code

$post_date = '<div class="postdt"><span>'.get_the_date('m').'</span> '.get_the_date('M').'</div>';

Just need to replace this line with below code

$post_date = '<div class="postdt"><span>'.get_the_date('d').'</span> '.get_the_date('M').'</div>';

Regards
Grace Themes