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 '... <a href="' . get_permalink() . '">Read More...</a>';
}[/php]
Gil Namur says
Hey Travis,
Just a quick note to thank you for posting this! Excellent fix!
THANK YOU!
Cheers,
Gil
Greater Vancouver SEO says
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.
Rob Cubbon says
Same as Gil above, Travis, many thanks for putting is here. Saved me a lot of time and it worked a treat! Thanks. 🙂
Mark Corpuz says
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.
kingsley says
thanks it worked
Upendra Shrestha says
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.
alisajjad160 says
How i can customize in CSS this Read More button?