Hi @kghugo2000
I am working with the theme author to support Auto Load Next Post with OceanWP but it may take some time. The theme requires a few changes besides just the theme selectors for this theme to work.
The default theme selectors for OceanWP are the following:
Content Container: div.site-content
Post Title: h1.entry-title
Post Navigation: nav.post-navigation
Comments Container: div#comments
If you follow Auto Load Next Post on Twitter I will keep you up to date with the progress.
Thank you for your help! I will be waiting for your good news there.
OceanWP theme will be supported in a coming update @kghugo2000
@kghugo2000 Support for OceanWP is now available.
I think because you had attempted to setup ALNP before the theme was supported that it did not apply the correct theme selectors.
Try pressing the Reset button under the Misc section of the settings page please. It will re-initialize the settings and apply for you the theme selectors for OceanWP.
You can see that OceanWP is working here: https://demo.autoloadnextpost.com/oceanwp/
If you have any further issues, please get back to me.
Thank you.
After I have reset it…Boom it is working now!! Painfree and beautiful!!
https://www.staging4.howtostudycantonese.com/unit-3-lesson-3-preposition-%E5%90%8C-and-%E5%B9%AB/
But one last problem I have spotted is that, there are two reply box at the end of those auto loaded posts (except the first auto loaded post). How can I remove the extra reply box?
Thank you so much for your effort and your help and I am going to give you a 5 star! Awesome!!!
That is rare to see. Most likley because the comments template was applied to content template.
You can remove the one ALNP adds by applying the following to your functions.php file. Or if you prefer, you can use a plugin like My Custom Functions to apply it without modifying your files.
remove_action( 'alnp_load_after_content', 'auto_load_next_post_comments', 1, 5 );
Thank you for the review and I’m glad ALNP is now working for you.
I have inserted your code and it is working properly now. Thank you so much!
I have spotted some other issues when I test the plugin. It seems like that the autoloading would stop working if the user comments on the original or the autoloaded post. #comment will be added to the end of the url like this
https://www.staging4.howtostudycantonese.com/u7l4-particle(喎)/#comment-117
Also, how can I change the order of autoload from loading older post to loading newer post?
Thank you so much for your help!
ALNP does not run when a user wants to view the comments or reply to a post.
No option to change the order of the posts. It will be available in the Pro version when released.
I see any timetable for the pro version to be release right now?