皆さん、こんにちは。 ワードプレス初級者です。 制作中のワードプレスの固定ページpage.php内にて、 <?php if(have_posts()): while(have_posts()): the_post(); ?> <div class=”page_post”> <h2 class=”post_title”><?php the_title(); ?></h2> <?php the_content(); ?> </div> <?php endwhile; endif; ?> の形で、コンテンツを表示しています。 複数の固定ページがありまして、特定のページのみ、タイトルが非表示になる様に設定したいのです。 試した施策として、 <h2 class=”post_title”><?php the_title(cat=-○); ?></h2> および <h2 class=”post_titl
![特定の固定ページのみ、タイトルを非表示にしたいのですが…](https://cdn-ak-scissors.b.st-hatena.com/image/square/ed4d0a493ce504f1173fe010d5b74ef7a8be02dc/height=288;version=1;width=512/https%3A%2F%2Fs.w.org%2Fimages%2Fhome%2Fwordpress-default-ogimage.png)