Claudio Soto Medel
asked 5 years ago

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="" width="320" height="171" frameborder="0" scrolling="no"></iframe>
1 Answers
answered 5 years ago

If you want to translate the date, you can do as the following:
Open the functions.php file in the folder path wp-content\themes\dw-focus.
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!

replied 5 years ago

Thank you Dominic

replied 5 years ago

Hi, and thanks for your answer, was perfectly useful. Now I would also ask how I can change the word "All" shown in the attached image.![enter image description here]( "enter image title here")

dominic Staff
replied 5 years ago

You can change the word "All" in the some following php file:

 #: inc/widgets/dw-focus-categories.php: line 177
 #: inc/widgets/dw-focus-categories.php line 201
 #: inc/widgets/dw-focus-categories.php line 209

Hope this helps !

Powered by DW Question & Answer Pro