Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Cannot make it work with 3 across, no div or ul

  • Resolved undergroundnetwork

    (@undergroundnetwork)


    My list of page don’t use DIV or UL/LI so I can’t get the plugin to work for me.

    My posts use the following format:

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<header class="entry-header">
    		<?php if ( has_post_thumbnail()....

    As they are 3 boxes across. Not masonry, I’m using a theme by WordPress’s AUTOMATIC: https://gazettedemo.wordpress.com

    So there is no way for me to clear the button each time, since you require a <div> or a

      If I put a <div> my posts become vertical, not 3 across, if I add my page code, the button moves down the first time, but each time I load after that, the Load More button stays at the top of the new posts.

      I would need some way of perhaps putting a different selector, like <article> not <div>

      Thanks!

      Charles

    https://wordpress.org/plugins/ajax-load-more/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dcooney

    (@dcooney)

    Hi Charles,
    Unfortunately clearing your divs is going to be an issue and this is something im looking to fix in upcoming versions.

    The issue you are facing is those divs are float: left;
    This could be fixed by using some updated css float: none; clear: none; display: inline-block; vertical-align: top;

    Thread Starter undergroundnetwork

    (@undergroundnetwork)

    Here is the page I’m taking about: http://underground.net/latest

    I just need the repeating bit to be article and it would all be good.

    Thanks so much,
    Charles

    Plugin Author dcooney

    (@dcooney)

    Looks like you are not using ALM anymore?

    Thread Starter undergroundnetwork

    (@undergroundnetwork)

    No.. I had to hack together a solution. Which works pretty well as it changes the page URL so that users can go back to where they were when the look at an article.

    It looks like you may have updated your playing though to perhaps solve the problem I was having?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot make it work with 3 across, no div or ul’ is closed to new replies.