Page content not showing up in wordpress custom theme

Though there might be a lot of problems regarding your case, I'm going with the most basic one since it's a custom wordpress theme.

Unlike posts wordpress requires a separate page named page.php to display pages. Check if you have one and make sure that's not empty which should look similar to the one shown below.

	while ( have_posts() ) : the_post();
		get_template_part( 'content', 'page' );				

Make sure you also have a content.php file where you need to add the commands to print the title, thumbnail and excerpt. You can add html and css elements as well as other elements as per your requirement as well.


You can also add the comment section, links to other pages, etc. as needed.

If this answer doesn't solve your issue then you might need to send a copy of your page.php and associated files for a thorough assesment.

Send Your Answer

The comment/answer feature from this section has been removed. Please visit our new section Page content not showing up in wordpress custom theme to add comments or answer. Thankyou.