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: http://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!
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://ww.wp.xz.cn/plugins/wp-post-navigation/
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.
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 );
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
@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.