• Resolved CRE8

    (@cre8gr)


    Hello,

    I have installed your plugin in my site and also created the necessary content-partial.php file to include my theme’s while loop.

    The theme that is being used is the MetroStyle: http://demo.olevmedia.net/metro/

    The thing is that it loads the next post but then after that it loads it again and again and again. It doesn’t load one post after another.

    Also it seems to load it so many times, that after some seconds the browser stuck and says to stop the script from running.

    Did I do something wrong?

    I can give you admin access or even FTP if you want to check it yourself.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    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.

    Plugin Author Sébastien Dumont

    (@sebd86)

    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;
    Plugin Author Sébastien Dumont

    (@sebd86)

    Changing the query appears to cause an issue with the post navigation. I have not found a solution for this modification as of yet.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘A few problems with the plugin’ is closed to new replies.