• Resolved geaseeds

    (@geaseeds)


    Hello, thanks for this amazing plugin.
    In my wordpress the ajax load next post is working fine in live edit theme configuration when i am logged as admin, but is not working properly in live.
    When i scroll to bottom it only load the comment form from the next post, but dont show the content of the next post. As a said it work nice in theme configuration.

    It doesn´t show any errors and even with comment disabled the plugin still only work in theme configuration. Any ideas? Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    Hi @geaseeds

    Perhaps you could tell me what theme you are using and the configurator. It sounds to me that either a filter is required to locate the templates for the content or the repeater template needs to be modified to match the theme structure.

    Have you checked the documentation provided?

    Thread Starter geaseeds

    (@geaseeds)

    Hello Sebastien thanks for your support,

    I am using the theme Cuckoo.
    Yes i have checked the docs, and it says that you have to set the filter if the template content is not in parent folder of my theme so since the template for my post “single.php” is in parent directory of the theme i avoided this step. Any ideas what is the problem and why is only showing the comments sections in live?

    Plugin Author Sébastien Dumont

    (@sebd86)

    If the WordPress theme is well structured then there should be content-single.php

    The repeater template looks for this file to include only the content of the single post and not the entire page, meaning the header and footer of the site.

    If the theme does not have content-single.php then the repeater template will need to be customised to include the content directly while still matching the theme structure.

    You may also find that this file is not in the parent folder. Some themes like to put these in another folder.

    Hope that helps.

    Thread Starter geaseeds

    (@geaseeds)

    Nope, my theme doesn´t have the file content-single,
    can i just create that file in theme directory and only add the code from single.php that i want to show? Or what i ill have to do?

    Plugin Author Sébastien Dumont

    (@sebd86)

    can i just create that file in theme directory and only add the code from single.php that i want to show?

    Yes you can. To help you know what to create, see this file as an example.

    Just so you know Auto Load Next Post does look for a fallback content.php if content-single.php does not exist.

    Thread Starter geaseeds

    (@geaseeds)

    Ok, i have created the folder auto-load-next-post and in the content-partial.php i have added only what i want to display.

    Now the post is loading with ajax, but with no content. It shows the new h1 correctly, it change the url to the new post correctly but <?php the_content(); ?> doesn´t display the main content text. Any idea?

    And seriusly, thanks for your time helping me!

    Thread Starter geaseeds

    (@geaseeds)

    Ok now is working!! The_content() have to be inside a loop or ill not display nothing.

    Thanks a lot Sebastian for your help i ill let u know if this plugin reduces my bounce rate 🙂

    Plugin Author Sébastien Dumont

    (@sebd86)

    Great

    Thread Starter geaseeds

    (@geaseeds)

    Is possible to display post only from the same category?

    Plugin Author Sébastien Dumont

    (@sebd86)

    Support for that will be provided in the coming pro version of Auto Load Next Post.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Plugin only working in theme configurator’ is closed to new replies.