Wordpress Get Post Date Help.

Discussion in 'WordPress' started by Sneakynarb, Oct 27, 2007.

  1. #1
    I'm using this:

    <?php the_time('F j') ?>
    Code (markup):
    And it outputs:

    Is there anyway to make it the shorthand month, for example Oct - Jul - Jun - Mar etc.

    Thanks, in advance.
     
    Sneakynarb, Oct 27, 2007 IP
  2. zacdavis

    zacdavis Well-Known Member

    Messages:
    653
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    170
    #2
    I don't know PHP, but I could explain a way to do it in plain English for you. You could utilize If...Then statements for each month.
    If F = "October" Then show "Oct."
     
    zacdavis, Oct 27, 2007 IP
  3. Sneakynarb

    Sneakynarb Peon

    Messages:
    120
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I found a wordpress command, thanks anyway for the help.
     
    Sneakynarb, Oct 28, 2007 IP