Rajneesh Tiwari
asked 9 years ago

I like to see datetimestamp in formant for example January 13, 2016, 7:54 PM for all the widget mainly DW:News Tricker, News Grid, All Posts, News List, News Slider etc

Need your help on this.

Thanks,
Rajneesh

1 Answers
Allen
answered 9 years ago

Hi, for all that widget, you need to change the format of the date in the function : get_the_date() to : F j, Y, g:i a

for DW News grid : open file: inc/widgets/dw-focus-news-grid.php, line 142 change to :

get_the_date( __('F j, Y, g:i a', 'dw-focus') );

DW News list : open file: inc/widgets/dw-focus-news-list.php, line 135
DW News slider : open file: inc/widgets/dw-focus-news-slider.php, line 115
_ DW News ticker: open file: inc/widgets/dw-focus-news-ticker.php, line 102

The widget All Posts you mention, i don’t see it at the widgets back-end then. You can provide me detail or picture about it. thanks

Powered by DW Question & Answer Pro