Problems initiating loop
-
i am using a different index.php as compared to my home. this is my home.php.
home.php is working fine. Now my index.php is like this.
<?php get_header(); ?> <!-- begin container --> <div id="ygap"></div> <!-- begin sidebar --> <div id="sidebar"></div> <!-- end sidebar --> <!-- begin content --> <!-- main content --> <div id="content"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php endwhile; ?> </div> <div id="ygap"></div> <?php get_footer(); ?>
and my browser says ..
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\wordpress\wp-content\themes\techvixion\index.php on line 26
what could be wrong? pardon me, i am a novice at php, and i started developing a theme from scratch.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problems initiating loop’ is closed to new replies.