WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] resolved :Parse error: syntax error, unexpected T_STRING in (5 posts)

  1. ulve
    Member
    Posted 2 years ago #

    Heey every one !

    I have a big problem that I can't solve :/

    I always get an error ://

    div id="content">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h1><?php the_title(); ?></h1>
    <h4>Posted on <?php the_time('F jS, Y') ?></h4>
    <p><?php the_content(__('(more...)')); ?></p>
    <hr>
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, we couldn't find the post you are looking for.'); ?></hr>
    <?php endif; ?>

    </div>

    whats wrong :((

  2. Arie Putranto
    Member
    Posted 2 years ago #

    You forget to close the_time('F jS, Y') with ;

    so it should be the_time('F jS, Y');

  3. ulve
    Member
    Posted 2 years ago #

    ohhh thanks ! :D

  4. Arie Putranto
    Member
    Posted 2 years ago #

    You're welcome. Don't forget to mark this thread as 'resolved' :)

  5. ulve
    Member
    Posted 2 years ago #

    yeah ;)

Topic Closed

This topic has been closed to new replies.

About this Topic