• <?php the_time(‘F jS, Y’); ?>

    ^That’s my date setup, I’ve tried changing it to the_date and that didn’t work. I’ve tried removing the ; after the closing parentheses, that didn’t work.

    http://decollate.org is my site, you’ll notice it’s showing up like this:
    11th, 2005 at 12:48 pm (General, Online, Offline)

    The month won’t show up for some reason.

    Any help is appreciated, thank in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try this:
    ‘<?php the_date(”,'<h2>’,'</h2>’); ?>’
    You can remove the header tags. The way you can configure your date setup is under Options, General. Just type in F jS, Y in default date setup and it should work. Then, put thae tag in your template.

    the_date won’t work on a per post basis but still scratching my head as to why the month is not showing up using the_time. Might be a good idea to see if the_date does indeed show the month (probably not).

    Short of a plugin conflict I can’t think of a reason why it wouldn’t show – at least it is consistent (doesn’t show up in comments, either).

    You removed the stats line, what version are you using?

    Thread Starter haleysami

    (@haleysami)

    I’m using 1.5.2

    Thread Starter haleysami

    (@haleysami)

    Any help is appreciated. Thanks.

    I had the same problem, and indeed, I had written a php countdown script that used $month as a variable. If you are having a problem with the month disappearing, make sure that you don’t have any scripts that use $month as a variable.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Month not showing up.’ is closed to new replies.