Find out how to modify the navigation links to go to the next or previous page in Genesis Framework using code.
Genesis uses default text in the navigation links that appear at the bottom of the archive pages, such as blog, categories, tags or authors.
Do you want to change those words into something more appropriate for your project?
You can do so easily with a pair of Genesis Framework filters.
Code snippet to customize navigation links between pages
Add this fragment to the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
With this code you replace the text “Next Page” that comes by default, with something more minimalist like “Next”.
However, I invite you to modify it according to your needs.
Also, you can do the same for the backward navigation link. In this case, the snippet you should use is:
To see this and another 1097 code snippets of this website, login or subscribe here.
Using this fragment you replace the expression “Previous Page” that comes by default, with “Previous“.
Again, change these words in the code to your liking.
Conclusions
Now you know how to customize the text of the navigation links on the archive pages of the Genesis Framework child themes.
Any questions? Let me know in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉