Adds pagination to the index.php post loop. The functions ucfwp_get_the_posts_pagination() and ucfwp_the_posts_pagination() have been added as opinionated alternatives to WP's built-in pagination functions (e.g. the_posts_pagination()), though we do add a baseline set of styles for the markup WP generates out-of-the-box.
Adds markup and style overrides to style pagination using Athena-y styles and FontAwesome icons.
Motivation and Context
Pagination will be necessary for various archives on the Today Child Theme, but it's also a feature that's missing and should be present in the UCF WordPress Theme's index.php.
How Has This Been Tested?
Reviewable on the demo site in Dev.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires an update to the documentation.
Description
ucfwp_get_the_posts_pagination()
anducfwp_the_posts_pagination()
have been added as opinionated alternatives to WP's built-in pagination functions (e.g.the_posts_pagination()
), though we do add a baseline set of styles for the markup WP generates out-of-the-box.Motivation and Context
Pagination will be necessary for various archives on the Today Child Theme, but it's also a feature that's missing and should be present in the UCF WordPress Theme's index.php.
How Has This Been Tested?
Reviewable on the demo site in Dev.
Types of changes
Checklist: