Learn how to modify the text of the links to the next or previous article in the footer of the posts in Genesis Framework with a code snippet.
By default, when you activate the navigation that shows the previous and next entries at the end of an article, the text associated with the link is the title of each post.
Therefore, if this title is too long, its dimensions can take up more space than you want and result in an aesthetic effect that can be improved by far.
Would you like to replace this text with a more concise, personalised fragment? With Genesis Framework you can do it:
Snippet to modify the text in the navigation links between entries
Add this code at the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
By using this snippet, you can make “Previous Entry” and “Next Entry” appear instead of showing the links with the title of the posts.
Of course, you can change these phrases to your or your customer’s liking.
Conclusions
As you can see, it is simple to customize the text of the navigation links to the articles before and after the end of the entries in Genesis.
Any questions? I read you 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. 😉