Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    Sounds like the template is incomplete. Have you made a custom template for my plugin?

    Thread Starter Tnace

    (@radiocure1)

    No, I haven’t made any custom template. I just installed and configured the settings.

    Thread Starter Tnace

    (@radiocure1)

    I’m not able to get it to work. I think maybe I have the wrong containers. Do you mind helping me set it up? Here’s a post for example: https://wheresmyirstaxrefund.com/wheres-my-refund-phone-number-talk-real-person/

    I have the following code:
    Content Container: .content
    Post Title Selector: .entry-title
    Post Navigation Container: .wp-post-navigation
    Comments Container: #comments

    Would you please take a look and tell me what I’m doing wrong? I’ve added in post navigations so that shouldn’t be the issue. Thanks!

    Plugin Author Sébastien Dumont

    (@sebd86)

    I got myself a copy of the theme and I don’t see a post navigation on single posts. Did you apply it yourself and if so, how?

    In order for me to help you, I need to reproduce the same environment in order to analyse.

    Thread Starter Tnace

    (@radiocure1)

    Sorry, I forgot to mention I have this plugin installed to insert post navigation on single posts: https://www.ads-software.com/plugins/wp-post-navigation/

    Plugin Author Sébastien Dumont

    (@sebd86)

    The WP Post Navigation plugin does not work for me. A bunch of errors upon activation and does not show on the post.

    What version of WordPress are you using and what other configurations do you have applied on your site?

    The containers you shared are correct.

    Plugin Author Sébastien Dumont

    (@sebd86)

    Also, the WP Post Navigation is two years old. Would it not be better to apply this to your functions.php file.

    /** Add post navigation (requires HTML5 support) */
    add_action( 'genesis_after_entry_content', 'genesis_prev_next_post_nav', 5 );
    Plugin Author Sébastien Dumont

    (@sebd86)

    Actually, the code above is no good. Try adding this instead.

    // Previous/next post navigation.
    add_action( 'genesis_after_entry_content', 'auto_load_next_post_compatible_post_nav', 5 );
    function auto_load_next_post_compatible_post_nav() {
    	if ( is_single() ) {
    		the_post_navigation( array(
    			'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next', 'twentyfifteen' ) . '</span> ' .
    				'<span class="screen-reader-text">' . __( 'Next post:', 'twentyfifteen' ) . '</span> ' .
    				'<span class="post-title">%title</span>',
    			'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous', 'twentyfifteen' ) . '</span> ' .
    				'<span class="screen-reader-text">' . __( 'Previous post:', 'twentyfifteen' ) . '</span> ' .
    			'<span class="post-title">%title</span>',
    		) );
    	}
    }

    Then change the post navigation container to nav.post-navigation

    Plugin Author Sébastien Dumont

    (@sebd86)

    @radiocure1 Did it work?

    Plugin Author Sébastien Dumont

    (@sebd86)

    @radiocure1 We have a Genesis Child-Theme you can buy. Works with the latest release and is ready for future updates for Auto Load Next Post.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Infinite Scroll on Genesis’ is closed to new replies.