This PHP code enables you to modify the page navigation links in Genesis child themes.
The code gives you the flexibility to:
- Remove pagination from specific archive pages using conditional tags
- Remove the pagination for logged out users
- Reposition the pagination to a different hook position conditionally
- Use Numeric or Previous/Next pagination on any type of archives including custom post types & custom txonomy types regardless of your themes Content Archive settings
Here’s the 6 different code snippets for logged in members: