Support » Plugin: Recent Posts Widget Extended » Localize the date

Viewing 6 replies - 1 through 6 (of 6 total)
  • Any solution to that? Thanks.

    open the widget and you will find a place where you can change the “date format” => at the end of the widget

    i saw that but how can i have the date in greek for example?

    my wordpress site lang is greek.

    What i did for the moment and it works is that i changed lines 111-113 at includes/widget-recent-posts-extended.php file from:

    <?php if ( $date == true ) { ?>
    <time class=”rpwe-time published” datetime=”<?php echo esc_attr( get_the_date( ‘c’ ) ); ?>” pubdate><?php echo esc_html( get_the_date( $date_format ) ); ?></time>
    <?php } ?>

    to:

    <?php if ( $date == true ) { ?>

    <time class=”rpwe-time published” datetime=”<?php echo esc_attr( get_the_date( ‘c’ ) ); ?>” pubdate><?php echo get_the_date(); ?></time>
    <?php } ?>

    I’m not familiar with the translatable date, should i use http://codex.wordpress.org/Function_Reference/date_i18n ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Localize the date’ is closed to new replies.