• I am using Biography theme and want to use Elementor on the home page. It won’t let me. Whenever I click on “use Elementor” on this page I get an error message:

    Sorry, content area not found in your page

    You must call ‘the_content’ method in current template, in order to allow Elementor work on this page.

    What can I do?

    https://www.ads-software.com/plugins/elementor/

Viewing 6 replies - 1 through 6 (of 6 total)
  • You need to check your template file, and make sure this line of code is in there

    <main class="page-wrap-single-page main" role="main">
    
          <?php the_content(); ?>
    
      </main><?php

    That’s the content call method.

    Doh! Why didn’t I think of that? And Pyanke?

    Come on, you have to give us some credit. the_content() is present in our templates… Well it certainly is in mine.

    <div class="page-content">
                <?php while ( have_posts() ) : the_post();  ?>
                <?php the_content(); ?>

    It wouldn’t be much of a WordPress page template without the call…

    Unfortunately, there appears to be a rather unfortunate bug in the plug-in for at least some templates.

    Plugin Author ArielK

    (@arielk-1)

    We want to check it out. Did you use this theme?
    https://www.ads-software.com/themes/biography/

    Could you be more specific. I am not an HTML person, but would like to use Elementor on a Tesseract theme. How do I get it to work?

    yellowbutter

    (@yellowbutter)

    same issue elementor, the_content

    when i place the code in the template.homepage.php, elementor does not start when selected.

    can someone guide me? where does the code go exactly?

    <div class=”page-content”>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php the_content(); ?>

    -/other code

    <main class=”page-wrap-single-page main” role=”main”>

    <?php the_content(); ?>

    </main><?php

    Hi
    I have just downloaded the Zerif Lite theme and trying to customise the other pages through Elementor and has the message described above. I am unable to find the HTML code for the page to put the above code in ? please can someone advise where I would find this ? I am a designer not a coder so simple English please ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Elementor gives "call 'the_content' method" Error’ is closed to new replies.