Mont name translation (date_i18n)
-
Hi!
Month names were in English instead of my WordPress installation language , so I modified one line in “widget-archives.php”.
<li class="baw-month"> <a href="<?php echo esc_url( get_month_link( $month->year, $month->numMonth ) ); ?>"><?php echo esc_html( date_i18n( 'F' , strtotime( $month->month) ) . ' ' . $month->year ); ?></a> </li>
I decided to post this if someone else needs to do the same ??
https://www.ads-software.com/plugins/better-archives-widget/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Mont name translation (date_i18n)’ is closed to new replies.