構築中のサイトの CMS として Wordpress を使用しています。
ページ テンプレート:
<?php get_header(); ?>
<!-- Class here -->
<div id="wrap">
<div id="content" class="column">
<?php if( have_posts() ): while( have_posts() ): the_post(); ?>
<div class="post">
<?php the_content(); ?>
</div>
<?php endwhile; endif; ?>
</div>
<div id="sidebar" class="column">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
<div>
<?php get_footer(); ?>
" " のクラスの div が必要です。theslide
前に#wrap (Class here)
呼び出され、その後の php によって再度呼び出されないようにします。
「 」の線に沿って何かできるget_post if class=theslide
でしょうか?
ありがとうございました。