Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter kurbads

    (@kurbads)

    p.s. date format in sidebar

    There is a link from the Options screen to php.net with all the options – though right now that page has errors.

    Thread Starter kurbads

    (@kurbads)

    i know what the syntax is, but question is – how to do it? manualy. and options page dont offer to change date format of archives in sidebar

    https://www.w3schools.com/php/php_date.asp
    The above page has most of the details too – just play with the combinations until you get the one you want.

    Thread Starter kurbads

    (@kurbads)

    youre not helping me ??

    Yes I am.
    Look at Options.
    Look at the format.
    Then look at the page I linked to.
    Then change the format in Options.

    I cannot do this for you.

    Thread Starter kurbads

    (@kurbads)

    changing date format in options doesnt change it in sidebar! it still shovs “December 2005”, but i want it to be “12/2005”. and im asking how to change it in script (i dont see any other way to do this)

    Thread Starter kurbads

    (@kurbads)

    i found a way to do it. file: template-functions-general.php line: $text = sprintf(‘%d/%d’, $arcresult->month, $arcresult->year);

    Kurbads,

    Any ideas on how to get the date to show the Japanese symbols 年 (year) and 月 (month) ?

    I tried putting them directly in the template-functions-general.php file, but as expected, the Japanese symbols came up weird on screen.

    Is there another setting I need to do somewhere? My WordPress is currently displaying all other Japanese dates fine.. it’s just the Archives I’m trying to get sorted.

    Thanks lots!

    yes change your page heading to utf-8 encoding, this should make the japanese characters appear OK. (check the code on my homepage if you need an example)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘how to change date format’ is closed to new replies.