Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Font Awesome Posts Pagination for WordPress
the_posts_pagination (
'prev_text' => '<i class="fa fa-arrow-left" aria-hidden="true"></i><span class="screen-reader-text">' . __( 'Previous Page', 'textdomain' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next Page', 'textdomain' ) . '</span><i class="fa fa-arrow-right" aria-hidden="true"></i>',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment