Use the following code snippet to introduce the text link to “Keep reading” or “Read more” in Genesis Sample child theme.
Of all the ways to customize a Genesis template, we almost always focus on the aesthetic side only.
However, it is worth making small changes to the theme texts so that they are also aligned with the brand.
Many of the Genesis child themes show a “Read more” link or similar after the excerpt on the archive pages; such as tags, categories or the blog.
But Genesis Sample is not one of them.
If you want to add this text link to the post so the reader would only has to click on it, you can do it so with a Genesis filter.
Code to insert the “Read more” link in Genesis Sample
Add this snippet at the end of the functions.php file:
With this code you enter the text “Read more”.
Of course, you can modify it according to your needs.
Although this snippet is created for Genesis Sample, it should work in any Genesis child theme.
If you prefer, instead of a simple link, you can insert the text under the excerpt in the form of a button.
Now you know how to add a text link that invites to “Read more” in Genesis Sample and any other Genesis child theme by code.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂