amirali0079
چهارشنبه 24 دی 1393, 17:44 عصر
کجای حلقه مشکل داره ؟
Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE) in C:\xampp\htdocs\Blog\wp-content\themes\DemoAmirali\index.php on line 29
-
<?php if(have_posts()):?>
<?php while(have_posts()) ?>
<?php the_post(); ?>
<article class="col col-lg-8 col-sm-8">
</article>
<?php endwhile; ?>
<?php endif; ?>
Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE) in C:\xampp\htdocs\Blog\wp-content\themes\DemoAmirali\index.php on line 29
-
<?php if(have_posts()):?>
<?php while(have_posts()) ?>
<?php the_post(); ?>
<article class="col col-lg-8 col-sm-8">
</article>
<?php endwhile; ?>
<?php endif; ?>