No templates for condition page.php Elementor

Question

I am building a WordPress theme and I want it to support the Elementor theme. But I get this error in Elementor Debugging mode.

No Template for condition > theme name -page.php

What could be the cause?

This my page.php

<?php
get_header();
?>
    <?php 
if ( have_posts() ) {
    while ( have_posts() ) {
        the_post(); 
        the_title( );
        the_content();
    } // end while
} // end if
?>
<?php
get_footer();
0
Isakiye Afasha 3 months 0 Answers 16 views 0

Leave an answer