WordPress custom theme errors with showing content

Solution:1

You can try add while loop:

while ( have_posts() ) :

print_r(get_the_content())

endwhile; // End the loop

It’s worked. I checked.

Solution:2

with this while is not working.

when i try to put this

   <?php get_header(); ?>

<?php get_header(‘content’); ?>

<?php get_footer(‘footer’); ?>

with created header-content.php file.The footer is gona,is not showing,and content is showing only first 5 lines