Hi @jmstr
Documentation can be found at https://autoloadnextpost.com/documentation/
I am currently re-writing the documentation to be better for users to understand as it was originally written from a developers perspective.
You can find the updated documentation here: https://github.com/autoloadnextpost/alnp-documentation
Please note that the new documentation is not yet finished. Appreciate any feedback.
Thank you.
Thread Starter
jmstr
(@jmstr)
Hello Sebastien,
Thank you for the docs you sent me.
Unfortunatly, that’s not enough 🙁
I don’t understand how your plugin is working.
I get your selecting the dom and replacing/injecting the previous post content in the current page.
But I don’t understand when this replacement is started (where/what is the trigger)
I guess I’ve correctly defined the selectors but It’s like your code is never called. I added some alert in the js but no one appeared !
Can you help me please ?
Regards,
From what I can see your theme does not have a post navigation on single posts. Auto Load Next Post requires a post navigation in order to know which post to load next. That is why nothing is happening.
See documentation on post navigation.
Thread Starter
jmstr
(@jmstr)
Thank you Sebastien for your answer.
It’s just i’m working on a dev environement and I added the Rel=”prev”.
I run into a few little problems but it’s ok I fixed them.
Now, I can load the next article after the current post.
My current issue is the second post is displayed with the header and the footer.
I tried to use my own template (using https://autoloadnextpost.com/documentation/how-to-customize-your-own-template/) but I simply don’t understand how I can setup my own template.
I also tried to change the content selector ( main#main or div#primary or div#content)
Can you help me please ?
Regards,
The repeater template should not be loading a header and footer. Just the content.
I can help you further via my professional configuration service.
Thread Starter
jmstr
(@jmstr)
That’s fine, thank you !
I’ll wait for the rebranded documentation for developer 🙂