Parse error: syntax error, unexpected ':' in
というエラー表示がありました。
解決法を教えてください。
###該当のソースコード
<div class="container"> <div class="main_wrap"> <div class="grid_03"> <div class="grid_03_top"> <h3>PEOPLE</h3> </div> <div class="grid_03_inwrap"> <?php query_posts('cat=4&showposts=24'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="grid_03_col"> <div class="grid_03_img"> <a href=""> <img src="<?php the_field( 'dnn_thumnail' ); ?>" alt=""> </a> </div> <div class="grid_03_discription"> <h4>Dannasm <?php the_field( 'dnn_number' ); ?></h4> <p><?php the_field( 'dnn_name_en' ); ?> <b>age<?php the_field( 'dnn_age' ); ?></b></p> </div> </div> <?php endwhile; endif; ?> <?php wp_reset_query(); ?> </div> </div> </div> <?php get_sidebar(); ?> </div>
PHPに関してはあまり知識がありません。
よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー