Title: endwhile error happened
Last modified: August 21, 2016

---

# endwhile error happened

 *  [takakids](https://wordpress.org/support/users/takakids/)
 * (@takakids)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/endwhile-error-happened/)
 * I made in new category in post.
    Now I can see this message Parse error: syntax
   error, unexpected ‘endwhile’ (T_ENDWHILE) in /export/sd208/www/jp/r/e/gmoserver/
   2/3/sd0368923/tana-dental.com/wordpress-3.8.1-ja-jetpack-undernavicontrol/wp-
   content/themes/kadckadc/single.php on line 27
 * URL is here.
    [http://tana-dental.com/blog/test/](http://tana-dental.com/blog/test/)
 * I paste my single.php
 * <?php get_header(); ?>
 * <section class=”banner”>
 *  <img src=”/wp/wp-content/themes/kadckadc/img/Omoricho_main_banner.png” style
   =”margin:10px 0px 10px 0px;”/>
 *  </section>
 *  <section class=”middle” style=”margin-top:40px;”>
    <?php get_sidebar(); ?> </
   section>
 * <p class=”blog_date”>投稿日：<?php the_Date(); ?></p>
    <h4><?php the_title();?
   ></h4> <p class=”blog_inner”>
 * <div class=”breadcrumbs”>
    <?php if(function_exists(‘bcn_display’)) { bcn_display();}?
   > </div>
 * <?php the_content(); ?>
 * <?php endwhile; endif; ?>
 * <?php get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Captain Theme](https://wordpress.org/support/users/captaintheme/)
 * (@captaintheme)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/endwhile-error-happened/#post-5083916)
 * Hi! Try this:
 *     ```
       <?php get_header(); ?>
   
       <section class="banner">
   
       <img src="/wp/wp-content/themes/kadckadc/img/Omoricho_main_banner.png" style="margin:10px 0px 10px 0px;"/>
   
       </section>
   
       <section class="middle" style="margin-top:40px;">
       <?php get_sidebar(); ?>
       </section>
   
       <p class="blog_date">投稿日：<?php the_Date(); ?></p>
       <h4><?php the_title(); ?></h4>
       <p class="blog_inner">
   
       <div class="breadcrumbs">
       <?php if ( function_exists( 'bcn_display' ) ) {
       	bcn_display();
       } ?>
       </div>
   
       <?php the_content(); ?>
   
       <?php get_footer(); ?>
       ```
   
 *  Thread Starter [takakids](https://wordpress.org/support/users/takakids/)
 * (@takakids)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/endwhile-error-happened/#post-5083919)
 * Mr.Captain
    thank you for reply
 * Now can see inside(breadcrumbs)
    [http://tana-dental.com/blog/test/](http://tana-dental.com/blog/test/)
 * But I can’t see contents(title and article)
 * How should I do?
 * please tell me.
 * thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘endwhile error happened’ is closed to new replies.

## Tags

 * [endwhile](https://wordpress.org/support/topic-tag/endwhile/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [takakids](https://wordpress.org/support/users/takakids/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/endwhile-error-happened/#post-5083919)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
