• Resolved aspringny

    (@aspringny)


    Hi – Great work on this plug-in. I’m having a weird issue where no matter what I do, the next post loads great under the first post. The URL changes and everything is fine. But scroll down some more and the whole thing goes nuts… I get four more posts and then a mix of post summairies and excerpts…

    I’m using a theme from ThemeMeme called Cassie, which i know is not a supported theme. Here is the theme link: https://www.themememe.com/cassie

    Thanks for any thoughts in advance

    Also, here is my content-partial.php:

    <?php
    /**
     * This file loads the content partially.
     */
    
    $remove_comments = get_option( 'auto_load_next_post_remove_comments' );
    
    // Load content before the loop.
    do_action( 'alnp_load_before_loop' );
    
    // Check that there are more posts to load.
    while ( have_posts() ) : the_post();
    
    	$post_format = get_post_format(); // Post Format e.g. video
    	if ( false === $post_format ) {
    		$post_format = 'standard';
    	}
    
    	// Load content before the post content.
    	do_action( 'alnp_load_before_content' );
    
    	// Load content before the post content for a specific post format.
    	do_action( 'alnp_load_before_content_type_' . $post_format );
    
    	// Include the content
    	get_template_part( 'content-single', get_post_format() );
    
    	// If comments are open or we have at least one comment, load up the comment template.
    	if ( comments_open() || get_comments_number() ) :
    		if ( $remove_comments != 'yes' ) { comments_template(); }
    	endif;
    
    // End the loop.
    endwhile;

    https://www.ads-software.com/plugins/auto-load-next-post/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Next post loads fine but then falls apart’ is closed to new replies.