• Hi everyone.

    Im using default shortcode [ajax_load_more] but it load posts just 1 time. After initial load I have to click on load more button to load more ones.

    I want to use it as infinity scroll.

    Anyone can help me with this? Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    @fernandorigotti – Sounds like an issue with the CSS, possibly a float issue.

    Can you share a link?

    Hi Dcooney and thanks for the plugin,
    I have the same problem but I’ve just started with ajax load more so I can’t say it was working before.I don’t want to interfere with the previous post but the problem is the same: First batch of post are loaded and then I need to manually hit the invisible “load” more button.
    I’m using the plugin with masonry and infinitescroll on a CPT. Here is the shortcode I’m using

    [ajax_load_more
    	post_type="work"
    	orderby="menu_order"
    	preloaded="true"
    	preloaded_amount="5"
    	images_loaded="true"
    	css_classes="infinite-scroll"
    	pause="false"
    	pause_override="true"
    	scroll="true"
    	max_pages="0"
    	posts_per_page="5"
    	transition="masonry"
    	masonry_selector=".work"
    ]

    And the repeater template:

    <article id="post-<?php the_ID(); ?>" class="work">
    	<a href="<?php the_permalink() ?>">
    		<?php the_post_thumbnail(); ?>
    		<div class="title"><?php the_title(); ?></div>
    	</a>
    </article>

    I don’t have any float in the css.

    Thanks
    Nico

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘default shortcode issue’ is closed to new replies.