shokun0803様
ご返信ありがとうございます。
気づくのが遅くて申し訳ございませんでした。
上記を試させていただいたのですが、やはりID8の内容が表示されてしまいます。
<?php if (is_category('10')): ?>
<?php the_title(); ?>
<?php
$my_posts = $posts;
$posts = get_posts('numberposts=100&category=8');
global $post;
?>
<?php
if($posts): foreach($posts as $post): setup_postdata($post); ?>
<p class="Price">¥<?php echo get_post_meta($post->ID,'プラン値段',TRUE);?></p>
<p><?php echo get_post_meta($post->ID,'プラン特徴',TRUE);?></p>
<?php endforeach; endif; ?>
<?php $posts = $my_posts; ?>
<?php the_content(); ?>//←ここの表示をID10にしたいのですがID8になってしまいます。
<?php endif; ?>
書き方間違っていますでしょうか?
それともしご面倒でなければ「過去のフォーラムの似たような記事」のアドレスもお教え願えませんでしょうか?
不躾な質問で申し訳ございません。
ご教授の程よろしくお願いいたします。