Parse error
-
Hello,I have a problem in Parse error that I can not correct…
My error:
Parse error: syntax error, unexpected T_ENDWHILE in /web/doclibre/www/wp-content/themes/lifestyle_20/category.php on line 36
on line 36 is <?php endwhile; else: ?>
My code:
<?php get_header(); ?> <div id="content"> <div id="contentleft"> <div class="postarea3"> <?php include(TEMPLATEPATH."/breadcrumb.php");?> <?php echo category_description( $category_id ); ?> if (have_posts()) { while (have_posts()) { the_post(); } <?php $cats = get_categories(); foreach ($cats as $cat) { query_posts('showposts=10&cat=718-CATEGORIE'.$cat->cat_ID); ?> <div class="article4"> <?php the_excerpt(); ?> </div> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?> <p><?php if(function_exists('wp_simple_pagination')) { wp_simple_pagination(); } ?></p> </div> </div> <?php include(TEMPLATEPATH."/sidebar.php");?> </div> <!-- The main column ends --> <?php get_footer(); ?>
Thank you very much for help ??
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Parse error’ is closed to new replies.