Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1225
    design_studio
    Participant

    Currently the months names are displayed with their full names, for example October. Is there a way to replace the full name with the short one like Oct or even with a number 10 in this case? On smaller screens, especially where the previous/next month navigation is shown the full text displayed is too compressed.

    #1228
    Bartosz
    Keymaster

    It would be possible but we’d need to add filter for that. (added to our to-do list).

    Quick fix for now: Go to location/widgets.php line 841 and change

    $wp_locale->get_month($prev_month_pad)
    

    to:

    $wp_locale->get_month_abbrev($wp_locale->get_month($prev_month_pad))
    

    Similary for line 845, responible for next month display.

    #1239
    design_studio
    Participant

    Thank you very much for your quick response. Worked perfectly!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.