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?
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?
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.
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?
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.
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!
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 🙂
Is possible to display post only from the same category?
Support for that will be provided in the coming pro version of Auto Load Next Post.