It sounds like you don’t have the post navigation setup correctly in your content-partial.php file.
Is the post navigation inside the query or outside the query?
Thread Starter
CRE8
(@cre8gr)
OK you were right. I didn’t have the navigation inside the loop at the content-partial file. Now it works I think.
One last question though. Is there a way to tell the plugin to load only the next 10 posts and not all of them?
Because if you scroll down it never ends fetching new articles with their pictures, and this causes the browser to stuck as it loads content, so the ram usage is getting pretty high causing the browser to crash afterall.
I’m glad you got it to work. If you want to only load 10 posts I suggest you alter the query in your content-partial.php file.
Thread Starter
CRE8
(@cre8gr)
Although I got it to work, I tried to alter the template to change the look of the post page -change from my client- and for the life of me I can’t get it to work properly after that.
Could you please help me to make it work?
The site is: http://unfollow.cre8.gr and a sample post page is: http://unfollow.cre8.gr/articles/metafrasi/. It’s in Greek but I have the containers painted with a border to get an idea.
If it requires more work from you, I’m willing to do whatever you think is necessary to make it work.
Thank you in advance!
Thread Starter
CRE8
(@cre8gr)
OK I finally fixed it but now I’m having a new issue. Autoload next post seems to load articles based on date DESCENDING from every category, without looking in which category the post is and then load the previous one (in this category). Is there a way to fix this?
Also how can I alter the query in the content-partial.php file? When I write (outside the loop) the code below it always shows the first article in every scroll:
query_posts( 'posts_per_page=5' );
while (have_posts()) : the_post();
content goes here
endwhile;
Changing the query appears to cause an issue with the post navigation. I have not found a solution for this modification as of yet.