Read more links in Excerpt on Genesis Sample

Community Forums Forums Design Tips and Tricks Read more links in Excerpt on Genesis Sample

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  amplifiedsteve 7 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #84152

    amplifiedsteve
    Member
    Post count: 12

    I’ve customised the Genesis Sample theme, still have work to do in it but I’ve hit a stumbling block.

    I want to add a Read More link (i’ll style it to be a button with CSS), I have added the following to the themes functions.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 ‘… [Read More]‘;
    }

    But it is not showing up in my blog archive – http://britesocial.com/blog/

    Any ideas?

    Thanks in advance

    Steve


    Steve Mullen – owner Brite Social – find me on Twitter and G+
    Digital marketing consultant, WordPress builder with focus on leisure, destination and entertainment.

    http://britesocial.com/blog/
    #84165

    nutsandbolts
    Moderator
    Post count: 3125

    Check your Genesis theme settings. Excerpts will only display the [...] with no link, but if you switch to displaying a content limit, you’ll get the Read More link.


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #84192

    amplifiedsteve
    Member
    Post count: 12

    Ah, got it! Thanks :)


    Steve Mullen – owner Brite Social – find me on Twitter and G+
    Digital marketing consultant, WordPress builder with focus on leisure, destination and entertainment.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.