ホーム >投稿のカスタム 任意の項目出力2(サンプル) 2016年3月24日 multeeds コメントをどうぞ サンプルコードはこんな感じです。 htmlタグと組み合わせて使用します。 <?php if(have_posts()): while(have_posts()): the_post(); ?> <div class="post"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php the_content(); ?> </div> <?php endwhile; endif; ?>