Align next and previus in single post

This commit is contained in:
Fabiano Alencar 2018-10-04 14:54:33 -03:00
parent 881e0aa898
commit f7fb0dd69d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<div class="mt-3 tainacan-single-post"> <div class="mt-3 tainacan-single-post">
<?php get_template_part( 'template-parts/single-post' ); ?> <?php get_template_part( 'template-parts/single-post' ); ?>
</div> </div>
<div class="row margin-one-column justify-content-between"> <div class="row justify-content-between">
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'tainacan-interface' ) ); ?></span> <span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'tainacan-interface' ) ); ?></span>
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'tainacan-interface' ) ); ?></span> <span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'tainacan-interface' ) ); ?></span>
</div> </div>