• 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.
    https://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)
  • 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

    (@takakids)

    Mr.Captain
    thank you for reply

    Now can see inside(breadcrumbs)
    https://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.