I have a page.php file wich simply looks like this:

<?php get_header(); ?>
<div class="clear"></div>

<div class="clear"></div>
<?php get_footer(); ?>

On the other hand I have made two pages named About and Contact Us in my WordPress admin panel and I’ve added them to my site’s top menu.

Now when I add some content to one of these two pages and open it by clicking its name from the top menu the content is not shown. How can I fix this issue?

I want to show all of my self-made pages (pages that are made using WordPress admin panel and are different from single.pho, index.php, category.php and search.php) using the page.php layout. How can I do this?

Read more here: Show About and Contact Us page when they’re clicked in the top menu.


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: