• How can I set up date format in Baskerville theme?
    Setting it in “Settings” menu doesn’t work for me.
    Tnx!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mykopopov

    (@mykopopov)

    I mean how can Iset up the post date on the main page, on the single post page changes I made in “Settings” works fine.

    I am having the same problem.
    I have set my date format in my settings to be of the format February 14, 2017, and thats correct in my single post page. However in my main page its 2017/02/13. Why are they different??

    First of all: I really love Baskerville!

    But this date format problem is a little drop of bitterness. Responsible for this deficiency ist since Version 1.16 the function baskerville_meta() in the functions.php.

    In my opinion there would be two possible solutions:

    1. Making the call of the_time( 'Y/m/d' ); translatable. Unfortunately that seems to be not so easy …
    2. Declare the function baskerville_meta() in the functions.php conditionally:
      if ( ! function_exists( 'baskerville_meta' ) ) {
          function baskerville_meta() {
              […]
          }
      }

      Then you can overwirite this function in a child theme and define your own date format for the post meta.

    This would be great to have in Version 1.20!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting up Date format’ is closed to new replies.