Support » Theme: discover » Read more link

  • How can I change the elipises (…) on excerpts into Read more links

    I have tried including the following code

    function excerpt_ellipse($text) {
       return str_replace('[...]', ' <a href="'.get_permalink().'">Click here to read more</a>', $text); }
    add_filter('the_excerpt', 'excerpt_ellipse');

    into the functions.php but it is not working, am I doing something wrong?

    Here is a link to my website calnelions.org

  • The topic ‘Read more link’ is closed to new replies.