WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem....Syntax Error....Can't View Site (2 posts)

  1. HealthyGirl
    Member
    Posted 5 years ago #

    Hi everyone,
    I hope someone can help. There apparently is a problem with my index.php file. Here is the error message I'm getting:

    Parse error: syntax error, unexpected '>' in /mnt/w0708/d33/s41/b02fc13d/www/stayhealthyandwell.com/wp-content/themes/amazing-grace/index.php on line 33

    I have looked at the file and on that specific line, but am not finding anything that looks wrong. Here's the code....can someone help me out?

    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) :?>
    <?php $postCount=0; ?>
    <?php while (have_posts()) : the_post(); $loopcounter++;?>
    <?php $postCount++;?>

    <div class="entry entry-<?php echo $postCount ;?>">

    <div class="entrytitle_wrap">
    <div class="entrydate"><div class="dateMonth"><?php the_time('M');?></div><div class="dateDay"><?php the_time('j'); ?></div> </div>
    <div class="entrytitle">
    <?php if ($postCount==1):?>
    <h1>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></h1>
    <?php else : ?>
    <h2>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    <?php endif; ?>
    </div>

    <div class="endate"><?php the_author(); ?> on <?php the_time('F jS, Y'); ?></div>

    </div>

    <div class="entrybody">

    <?php the_content('Read the rest of this entry »'); ?>
    <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>

    </div>
    <div class="entrymeta">
    <div class="postinfo">

    <?php if ($postCount==1) social_bookmarks();>
    <span class="filedto"><?php the_category(', ') ?> </span>
    <span class="commentslink"><?php comments_popup_link('No comments yet, be the first »', '1 Comment, join up »', '% Comments, read on »');?></span>
    <?php if ($postCount==1) { if(function_exists('wp_print')) { print_link(); }} ?>

    <?php edit_post_link('Edit', ' | ', ''); ?>

    </div>
    </div>

    <?php if ($loopcounter == 1) { include (TEMPLATEPATH . '/ad_middle.php'); } ?>
    </div>

    <?php endwhile; ?>

    <div id="nav-global" class="navigation">
    <div class="nav-previous">
    <?php
    if(function_exists('wp_page_numbers'))
    {
    wp_page_numbers();
    }
    else
    {
    next_posts_link('« Previous entries');
    echo ' ';
    previous_posts_link('Next entries »');
    }
    ?>

    </div>
    </div>

    <?php else : ?>
    <h2>Not Found</h2>
    <div class="entrybody">Sorry, but you are looking for something that isn't here.</div>
    <?php endif; ?>
    </div>

    <?php get_footer(); ?>

  2. HealthyGirl
    Member
    Posted 5 years ago #

    Got it fixed....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.