How to Add Read More Link in Genesis Theme to Replace […] After Excerpts

While using a Genesis child theme for a blog, I noticed that upon choosing excerpt from the Content Archives Display settings, a […] is placed at the end of the excerpt instead of a read me link. The […] is not linked to the full post either. This article will discuss how to add a read more link to Genesis child theme to replace the […] at the end of the excerpt. The child theme I am using is News Pro.

add read more link to genesis

How to Add Read More Link to Genesis

After performing some searches on Google, the simplest way to add the read more link was by adding a snippet of code to the functions.php file. I personally don’t like to modifying the functions.php file directly, so I use a plugin called My Custom Functions to add extra codes without editing functions.php. So, the first step you want to follow is install the My Custom Functions plugin. If you are comfortable editing the functions.php file which can be found by going to Appearance > Editor, you don’t have to install additional plugins.

Here are the steps to follow to add read more link to Genesis child theme:

  1. Open functions.php file through admin dashboard. Alternatively, open settings for the My Custom Functions plugin.
  2. Enter the code given below.
  3. Save the changes.

The code to add to your functions.php file or inside My Custom Functions setting is:
// Add Read More Link to Excerpts
add_filter('excerpt_more', 'get_read_more_link');
add_filter( 'the_content_more_link', 'get_read_more_link' );
function get_read_more_link() {
return '... [Read More]';
}

 

Thanks to WPATCH.com for the above code.

2 thoughts on “How to Add Read More Link in Genesis Theme to Replace […] After Excerpts”

  1. Hi David, thanks for sharing what you tried. I tested your method (because I also don’t want to enter my code files), but I failed, even with the plugin and the code you provided. Perhaps it is because I am using the genesis sample theme (for a while) and not one of the child themes.
    I also tried the code snippet on the studiopress site, but that also didn’t work. After many attempts I discovered that there are also ‘read more’ button plugins or read more excerpt link plugins. I installed one of those and it finally worked! I know plugins are never a good solution, but temperary they can be. Maybe it’s worth to add the possibility of the read more plugin to the article as a last resort for some of us? :))) It would have saved even more time if this was also included in your article. 🙂 Anyway, your article helped me. Thanks a lot and good luck with your blog! Klara

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top