Forums

Month not showing up. (6 posts)

  1. HaleySami
    Member
    Posted 4 years ago #

    <?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.

  2. spirit892
    Member
    Posted 4 years ago #

    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.

  3. Beel
    Member
    Posted 4 years ago #

    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?

  4. HaleySami
    Member
    Posted 4 years ago #

    I'm using 1.5.2

  5. HaleySami
    Member
    Posted 4 years ago #

    Any help is appreciated. Thanks.

  6. jasongraphix
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags