Support » Theme: GamePress » Format date Widget Recents Reviews/news/video

  • Resolved DSeth

    (@dseth)


    hello

    i’m trying to change the date format MAI 24, 2013 to 24 MAI 2013 in the widget recents review/news/videos.

    can you help me ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author alex27

    (@alex27)

    You’d need to edit one of the theme core files for this, and those changes would be lost during an update anyway. I’m not sure it’s worth it 🙂

    Thread Starter DSeth

    (@dseth)

    i changed the date format in the child theme for severals items like in :
    content-single.php
    reviews-archive.php
    reviews-single.php
    video-archive.php
    video-single.php

    but unfortunately can’t change it on the widget.
    but if it’s not worth it…:/

    thanks for the answer anyway.

    Theme Author alex27

    (@alex27)

    If you went to all this trouble already, then it should be fairly easy.
    This widget is located in admin/widgets/recent-posts-widget.php

    Thread Starter DSeth

    (@dseth)

    thanks

    i changed in admin/widgets/recent-posts-widget.php the lines :
    <?php the_time(‘F j, Y’) ?>
    by
    <?php the_time(‘j F Y’) ?>

    but still not working, any guess?

    Theme Author alex27

    (@alex27)

    There are 3 tabs and thus 3 places in this file where you need to change. I assume you did that?

    Thread Starter DSeth

    (@dseth)

    yes

    Theme Author alex27

    (@alex27)

    Ok, I looked closely and overwriting widgets is not as easy in child theme – see here. It might not worth the extra work in the end.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Format date Widget Recents Reviews/news/video’ is closed to new replies.