Support » Theme: Akyl » Suggestion for previous/next post link

  • Hi.
    I noticed that, when in a single post you can’t navigate to the previous/next post.
    So, here is the code I used in /single.php line 108 to add the links.

    	<div class="nav-links">
    							<div class="nav-previous">
    								<span><i class="fa fa-arrow-circle-left"></i><?php previous_post_link( '  %link', '%title', true ); ?></span>
    							</div>
    							<div class="nav-next">
    								<span><?php next_post_link(' %link', '%title', true); ?>  <i class="fa fa-arrow-circle-right"></i></span>
    							</div>
    						</div>	

    Bests
    Lena

  • You must be logged in to reply to this topic.