• Resolved oncidium

    (@oncidium)


    Hi,
    I have been unable to get my comments section to work. When the link is clicked on the main blog page, I get the error: Parse error: parse error, unexpected ‘;’ in /home/content/c/h/e/cherylkemp/html/blog/wp-content/themes/Blix/single.php on line 25

    I am not that great at this stuff, but I looked at the single.php file and I can’t figure out what is wrong. Help please ?? Here is the code:

    <?php get_header(); ?>

    <!– content …………………………… –>
    <div id=”content”>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <?php /* This is the navigation for previous/next post. It’s disabled by default. ?>
    <p id=”entrynavigation”>
    <?php previous_post(‘<span class=”previous”>%</span>’,”,’yes’) ?>
    <?php next_post(‘<span class=”next”>%</span>’,”,’yes’) ?>

    <?php */ ?>

    <div class=”entry single”>

    <h2>“><?php the_title(); ?></h2>

    <p class=”info”>
    <?php if ($post->comment_status == “open”) ?>

    <em class=”date><?php the_time(‘F jS, Y’) ?><!– at <?php the_time(‘g:ia’) ??>

    <!–<em class=”author”><?php the_author(); ?>–>
    <?php edit_post_link(‘Edit’,'<span class=”editlink”>’,'</span>’); ?>

    <?php the_content();?>

    <p id=”filedunder”>Entry Filed under: <?php the_category(‘,’); ?>

    </div>

    <?php endwhile; ?>

    <?php else : ?>

    <h2>Not Found</h2>
    “Sorry, but you are looking for something that isn’t here.

    <?php endif; ?>

    <?php comments_template(); ?>

    </div> <!– /content –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘parse error…help please!’ is closed to new replies.