Title: default shortcode issue
Last modified: April 26, 2018

---

# default shortcode issue

 *  [fernandorigotti](https://wordpress.org/support/users/fernandorigotti/)
 * (@fernandorigotti)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/default-shortcode-issue/)
 * 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](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/default-shortcode-issue/#post-10222062)
 * [@fernandorigotti](https://wordpress.org/support/users/fernandorigotti/) – Sounds
   like an issue with the CSS, possibly a float issue.
 * Can you share a link?
 *  [nicolasj](https://wordpress.org/support/users/nicolasj/)
 * (@nicolasj)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/default-shortcode-issue/#post-10226165)
 * 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.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [nicolasj](https://wordpress.org/support/users/nicolasj/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/default-shortcode-issue/#post-10226165)
 * Status: not resolved