About 25% of the time I come across a theme that does not have a post navigation including some theme frameworks such as Genesis or is not using the proper WordPress theme code standards and has placed a custom post navigation of their own that does not have the proper HTML attributes that I need to detect the previous post link.
About 50% of the time I come across a theme that requires a template loop override because the theme structure to get the templates are also not WordPress theme standard but with the recent release of WordPress 4.7 it has been brought to my attention that this is possibly going to be changing.
For example the past three core WordPress default themes have the same or similar template structure that follows the WordPress theme standards. However, when looking at the template structure of Twenty Seventeen, it is completely different.
It is this template structure architecture that I am struggling to support out of the box because every theme developer handles the templates differently.
Everything else (most of the time) is followed by the WordPress theme standards and the plugin works great.
Now I am wanting to improve support for both those scenarios. At the moment I am doing all of the development and although it does not have that many active installs, I strongly believe that I have a great product that can compete against JetPack`s infinite scroll module.
There is no CSS required or applied on the front-end and if I can get the support or feedback I need to make the plugin work out of the box more then the base of the plugin is complete and I can then expand on it for further features.
I have already had two contributors so far. One found a bug that supports Google Analytics and another added a developer feature that allows them to trigger an event once the next post has loaded. They will be both coming out in an update soon along with other minor corrections and adjustments.
After this update I will be looking into supporting themes that are not WordPress theme code standard but I need the help of theme developers to do that.
At the moment the plugin works once you have added “add_theme_support” for the plugin and made sure that the theme selectors match the active theme. It is after this stage that the plugin may still not work because of the themes template structure so the plugin is unable to locate and get the correct templates to load the post content.
So if anyone can guide me or share a list of template structures that theme developers, use I could perhaps solve this issue without the need of theme developers needing to provide support for the plugin and it would work out of the box.
The project is open-source and is available on GitHub. All contributors are welcome.