Hi @roymckrank
That is something that alot of users have requested and is something I am working on for Auto Load Next Post Pro.
Please follow the social links to be notified of updates.
Twitter: https://twitter.com/autoloadnxtpost
Facebook: https://www.facebook.com/autoloadnextpost/
and sign up for the release of Auto Load Next Post Pro for a special promotion.
https://autoloadnextpost.com/pro/
You can edit the function auto_load_next_post_navigation in the core functions file inside the includes folder and replace the post navigation by the original function the_post_navigation and customize your posts navigation to get posts in the same category: https://developer.ww.wp.xz.cn/reference/functions/the_post_navigation/#comment-1662
@guillorrr That is not the best way to do it. Making any changes to the plugin directly will only end up being lost when I provide a plugin update.
I have provided documentation for the post navigation. See here.
If you want to replace the compatible post navigation then all you need to do is use this line of code.
remove_action( 'alnp_load_after_content', 'auto_load_next_post_navigation', 1, 10 );
I am close to completing ALNP Pro with the ability to load posts in the same category and will be requiring beta testers so if you are interested, please sign up on my site.
Thank you.