plugin Ajax Load More and Previous Post Add-on

Posted in: Newspaper
Post count: 25

Hi,
I recently installed the Ajax Load More plugin and purchased the Previous Post Add-on.
I would like to know if you have encountered any problems with this plugin, and what you suggest to install this shortcode inside the single template .php file (or if it should also be installed in the single loop or elsewhere).
Thank you

——- example ——-
<? php get_header (); ?>
 
<main id = “page-content”>
   <div class = “post-container”>
     <? Php
     // The loop
     if (have_posts ()):
       while (have_posts ()): the_post ();
         // replaced with Ajax Load More shortcode
         echo do_shortcode (‘[ajax_load_more post_type = “post” repeater = “default” previous_post = “true” previous_post_id = “‘. get_the_ID (). ‘” posts_per_page = “1” button_label = “Previous Post”]’);
       endwhile;
     endif;
     ?>
   </ Div>
</ Main>
 
<? php get_footer (); ?>

Post count: 22421

Hello,

Unfortunately we have not tested these particular plugins so we do not know of their implementation requirements. Maybe some of our users have recommendations in this regard.

Thanks.

Post count: 25

thanks for your advice.

regards

Post count: 32

Hi Margherita,
Did you solve your problem?

I’m planing to use same plugin + add-on to have same effect as QZ.com has: load previous post as soon as user scrolls down to the bottom.

Post count: 26

anybody have any luck with this? or another Infinite Load plugin to go with Newspaper?

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.