サイト内にWordPressの記事を表示させようとpage.phpに
<?php the_content(); ?>
と書いたら、
warning count() parameter must be an array or an object that implements countable in
とエラーが出たので、いろいろ調べたがややこしくなりそうだったので、、
<?php if(have_posts()):while(have_posts()):the_post(); ?>
<?php the_content(); ?>
<?php endwhile;endif; ?>
に変えて、本文を出力することにしました。
これで表示は解決しましたのでどなたかの参考になれば。
コメントはこちら