WP Smith

Creating WordPress & Genesis Websites Since 2010

  • Home
  • About
  • Services
  • Blog
  • Contact

Apr 15 2011

How to Add Read More Link to Excerpts in your Genesis Child Theme

Here's how to add the Read More... link to the Excerpts for your Genesis Child Themes.

[php]// 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 '...&nbsp;<a href="' . get_permalink() . '">Read More...</a>';
}[/php]

Written by Travis Smith · Categorized: WordPress

StudioPress Premium WordPress Themes     WP Engine Managed WordPress Hosting

What can I do for you!?

Custom Development

We develop plugins by determining both business/functional and technical requirements, following WordPress development best practices, and using agile methodology to ensure you get the best solution.

Consulting

Have questions? Need a reliable developer to consult? Please contact us today!

Customized Theme

We can customize your theme or child theme, or create a child theme for you based on your needs while enhancing the performance of every individual attribute.

Customized Plugin

We can customize your plugins, extend plugins (e.g., Gravity Forms, Jetpack, Soliloquy) based on your needs ensuring security, performance, and positive business impact.

Contact Us

About Travis Smith

As a WordPress enthusiast, developer, and speaker, Travis writes about what he learns in WordPress trying to help other WordPress travelers, beginners and enthusiasts with tutorials, explanations, & demonstrations.

Comments

  1. Gil Namur says

    April 27, 2012 at 11:09 pm

    Hey Travis,

    Just a quick note to thank you for posting this! Excellent fix!
    THANK YOU!
    Cheers,
    Gil

    Reply
  2. Greater Vancouver SEO says

    May 16, 2012 at 7:02 pm

    Thanks so much for sharing this bit of code for excerpts. I’m surprised that StudioPress hasn’t included this option in the Genesis framework so we don’t have to do it within the functions.

    Reply
  3. Rob Cubbon says

    June 27, 2012 at 8:31 am

    Same as Gil above, Travis, many thanks for putting is here. Saved me a lot of time and it worked a treat! Thanks. 🙂

    Reply
  4. Mark Corpuz says

    August 23, 2012 at 12:38 pm

    Thank you Travis. I also added a “read more” class selector on your code so I can modify how it’s displayed. Then I placed the class selector on the stylesheet and assigned it to display: block plus I text-aligned it to display on the right section. Now my read more link looks like a button.

    Reply
  5. kingsley says

    February 4, 2013 at 7:07 am

    thanks it worked

    Reply
  6. Upendra Shrestha says

    May 12, 2013 at 7:44 am

    Hi,
    After adding the Read More… link to the Excerpts, How to float it at the Bottom Right Corner with style.css?
    Can you help? I have added the Read More… and its showing up just after the excerpts.

    Reply
  7. alisajjad160 says

    May 10, 2015 at 5:31 am

    How i can customize in CSS this Read More button?

    Reply

Leave a Reply Cancel reply

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.

  • Twitter
  • Facebook
  • LinkedIn
  • Google+
  • RSS

Copyright © 2025 � WP Smith on Genesis on Genesis Framework � WordPress � Log in