Pagination Amend
This commit is contained in:
parent
be25a1fea4
commit
779c351f2d
|
@ -53,7 +53,7 @@ function understrap_pagination() {
|
||||||
|
|
||||||
/** Previous Post Link */
|
/** Previous Post Link */
|
||||||
if ( get_previous_posts_link() ) {
|
if ( get_previous_posts_link() ) {
|
||||||
printf( '<li class="page-item"><span class="page-link">%1$s</span></li> ' . "\n",
|
printf( '<li class="page-item page-item-direction page-item-prev"><span class="page-link">%1$s</span></li> ' . "\n",
|
||||||
get_previous_posts_link( '<span aria-hidden="true">«</span><span class="sr-only">Previous page</span>' ) );
|
get_previous_posts_link( '<span aria-hidden="true">«</span><span class="sr-only">Previous page</span>' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ function understrap_pagination() {
|
||||||
|
|
||||||
// Next Post Link.
|
// Next Post Link.
|
||||||
if ( get_next_posts_link() ) {
|
if ( get_next_posts_link() ) {
|
||||||
printf( '<li class="page-item"><span class="page-link">%s</span></li>' . "\n",
|
printf( '<li class="page-item page-item-direction page-item-next"><span class="page-link">%s</span></li>' . "\n",
|
||||||
get_next_posts_link( '<span aria-hidden="true">»</span><span class="sr-only">Next page</span>' ) );
|
get_next_posts_link( '<span aria-hidden="true">»</span><span class="sr-only">Next page</span>' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue