Conflict with single.php pagination – previous and next not showing
-
Hi,
I am using Portfolio-Press theme, so it is actually about single-portfolio.php, anyway it has a gallery and text and the previous/next link were working fine before I installed Polylang.
If I disable Polylang they’re there again…
Here’s my code for prev/next navigation in single-portfolio.php
<nav id="nav-below"> <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'portfolioplus' ); ?></h1> <div class="nav-previous"><?php previous_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Previous post link', 'portfolioplus', '1000' ) . '</span>' ); ?></div> <div class="nav-next"><?php next_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Next post link', 'portfolioplus', '1000' ) . '</span> %title' ); ?></div> </nav>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conflict with single.php pagination – previous and next not showing’ is closed to new replies.