WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] the_time( ) issue with the time display (8 posts)

  1. coris
    Member
    Posted 2 years ago #

    Hello everybody,

    Something really strange it's happening. I've got this code:

    http://pastebin.com/HQuVpcCQ
    In line 59:

    <br />
     <span class="createdate"><?php the_time('l, F jS, Y') ?></span></p>
    <p>

    The function the_time don't parse correctly and don't work. This is how show the time in my template:

    http://thumbnails101.imagebam.com/21417/eac34b214166524.jpg

    I didn't modified wp-include folder, and I deactivate all my plugins...

    Thank you

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    That screenshot is way too small to actually see anything.

  3. I can't tell what it looks like, but you should fix that missing semicolon.

  4. coris
    Member
    Posted 2 years ago #

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Start by just using <span class="createdate"><?php the_time(); ?></span></p>.

  6. coris
    Member
    Posted 2 years ago #

    The result is the same as right now.

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    It seems to be fixed now.

  8. coris
    Member
    Posted 2 years ago #

    Yes, I figured out that the problem was produced by qtranslate and how the plugin format the date.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic