WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
[Plugin: Infinite Scroll] Double Post Column (5 posts)

  1. zubair04
    Member
    Posted 2 years ago #

    Hi, i seem to be having trouble integrating infinite scroll as my site splits the posts in two seperate divs in order to have a column of 2

    example. http://thecypher.co.uk

    i was wondering if anyone could take a look at the code, and suggest the best way to integrate the plugin code.

    as temporary measure i have had to increase the number of posts shown on the homepage, as there is no pagination

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. beaver6813
    Member
    Plugin Author

    Posted 2 years ago #

    Cool looking site, first thing is that you need to have pagination in order for infinite-scroll to work. No way around it! (Its not difficult to do, WordPress does all the pagination stuff for you, just look at the default themes if you're not sure how to do it).
    Once infinite-scroll loads it hides the pagination stuff.

    Secondly, in your theme you have posts with classes either:
    column-left
    column-right
    I would add another class to those divs like "post" so for example you would end up with:
    class="column-left post"
    (then we can identify all the posts really easily later)

    Thirdly, I would really reduce the post count, it slows down my browser a lot so I dread to think how much Google hates it!

    Let me know when you've made those changes and post back if you need any more help.

  3. zubair04
    Member
    Posted 2 years ago #

    hey thanks very much for your reply, appreciate the feedback.

    Im gonna try out these changes, the only reason i have all the posts loading is because the layout messes when i reduce the number of posts shown on the homepage. i was hoping that if i got this plugin to work, i would avoid the error.

    il try out these changes in the next day, and see how they come along.

    again, thanks for the reply.

  4. zubair04
    Member
    Posted 2 years ago #

    could someone check http://thecypher.co.uk to see the problem im having now ?

    i have the pagination working, however the posts which should be displayed in the subsequent pages are being shown after the pagination , with a messed up layout

  5. zubair04
    Member
    Posted 2 years ago #

    okay, i have deactivated the infinite scrolls plugin, which has ensured that there are only 16 posts per page.

    what should be the next stage in trying to integrate the infinite scroll plugin ?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic