• how can i display only the 3 letters from a month (like DEZ, OCT, APR) on wordpress the_date() function ?

    Or shall i use another tag ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • iridiax

    (@iridiax)

    I just ran into the same issue. php’s date table shows that ‘M’ = A short textual representation of a month, three letters.

    I tried it within the the_date(‘M’) and nothing was displayed.

    I tried it in the_time(‘M’) and it was displayed.

    So, the_date doesn’t support displaying the short textual representation of a month, but the_time does.

    enjoy,

    nvwd

    ——————-
    I had 2 the_date functions within the same loop. The first I had displaying the day, the second the 3 char month. The second displayed nothing. When I changed the second the_date to the_time the 3 char month was displayed. I just tried making the first the_date display the 3 char month with success.
    So, the second call to the_date didn’t function properly.

    nvwd

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘the_Date() 3 letters Month’ is closed to new replies.