• Resolved borbs

    (@borbs)


    Hello!

    Is there a way to add some text on my the_time?

    like:
    <?php the_time(‘j de F de Y’) ?>

    This “de” show me somethings about Los Angeles… I just want to show “de”. How? =]

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can *escape out* any character you need to display literally (rather than have interpreted as part of the formatting string):

    <?php the_time('j \d\e F \d\e Y') ?>

    Thread Starter borbs

    (@borbs)

    YAY! It worked! =D
    Thanx! =]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing date text’ is closed to new replies.