I need to change the date language of some widgets, but I do not know can i do that, Can anybody help me on this?
<iframe src="https://onedrive.live.com/embed?cid=7B105F181A4D6083&resid=7B105F181A4D6083%2137527&authkey=AJGi6QeP6ld-yvc" width="320" height="171" frameborder="0" scrolling="no"></iframe>
If you want to translate the date, you can do as the following:
functions.php file in the folder path
Find the line 340.
Replace the following code:
return date( get_option( 'date_format' ), $from );
With new code:
return date_i18n( get_option( 'date_format' ), $from );
Hope this help!
Please login or Register to submit your answer