This theme requires a post navigation either before or after the comments section in order for the plugin to detect the next post.
This theme does not have one. You will need to make a modification yourself or hire a WordPress developer to do it for you.
Hi Sebastian,
Thank you for your reply.
I imagine I can do it by adding a plugin like http://codecanyon.net/item/advanced-post-navigator/3700354 or by adding the correct code as pointed here https://codex.wordpress.org/Next_and_Previous_Links
However, the problem seems to be related to some Uncaught exception according to chrome console.
Thank you!
Can you explain the Uncaught exception?
You can see it on any post here http://www.ideas4homes.com. I have included the post navigation code, the plugin is active and still nothing happens.
These are my settings in your plugin:
Content Container: .main-container
Post Title Selector: h1.title.single-title.entry-title
Post Navigation Container: .post-navigation
Comments Container: disqus_thread
It appears your HTML where you have added the post navigation is not closed properly so the plugin is not able to find the post navigation.
Currently it looks like this: <div class="post-navigation" <="">
You need to correct it to be like this: <div class="post-navigation">
That should fix it.
I’ve fixed that HTML typo but still nothing. Not sure what else should I look.
I don’t see the plugin assets loaded in the source code. Have you declared support for the plugin?
That’s weird, I deactivated and re-activated and assets don’t appear now. I’m to understand why, may be I could include the assets manually in my header.php. Any other ideas why assets aren’t loading?
I didn’t declare support anywhere but here, should I?
Thank you so far for your advices.
Sorry, just understood what you meant and yes, I did declare support.
—
[/wp-content/themes]# egrep -R add_theme_support * | grep auto-load
mts_newspaper-child/funtions.php:add_theme_support(‘auto-load-next-post’);
—
If you have the plugin active, support declared and the settings are correct then the only thing that I can think of that is stopping it from loading the plugin assets is your current site issues.
I would suggest hiring a web developer for further support to look into the matter.
Assets are loading now, I had a typo in my functions.php.
You can now see the Uncaught TypeError I mentioned before there in the browser console.
auto-load-next-post.min.js:1 Uncaught TypeError: jQuery(…).scrollSpy is not a function
So, even with all assets loaded, plugin doesn’t work, I’m the developer 🙂
I guess with the javascript error there and all files and frontend rendered you could be guessing what’s going on.
This error is still in question as it is affected by certain themes.
Please see if this comment helps you.
If you wish to contribute to the plugin then please follow the instructions provided. Thank you.
Hi Sebastien,
I wonder it this issue has been resolved. I subscribed to be aware of the premium version since I wanted to implement it in the attachment page too. To be easier for my users to browse between photos of a gallery.
I would appreciate any hint to make it work on my site. I noted the navigation code is in the content-partial, just in case.
I can provide you credentials if you want to take a look too.
Thank you!