PHP Error for index.php
-
I am messing with my index.php file and it’s now broken. I am getting a PHP error on line 25. Since I am a PHP noob I can’t figure out what is wrong. My index.php code looks like this:
<?php get_header(); ?> <?php get_sidebar(); ?> <div id="Content" class="narrowcolumn"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="Content" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> <div class="ContentBody"> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> </div> <div class="ContentFooter"> <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </div> </div> </div> </div> <?php get_footer(); ?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP Error for index.php’ is closed to new replies.