Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #587572

    Hi!

    Awesome theme!!

    I want to change the green text that says ‘Read more’ on the blog exerpt to read ‘More »’. I searched the forum and tried several things and I know the code should go in the functions.php file, but am unable to get the code correct. Can you help?

    This is the link to the page on my dev site: http://hriver.roxcap.com/

    Thanks!! Jennifer
    ps-can you tell me where to look to figure this out? I tried the code provided on WordPress.org for customizing the read more link text but it didn’t work for this theme.

    #587578

    Hey jenlioness!

    The link is defined under the class
    .main_color a

    please do let us know if you need more help around that.

    Regards,
    Basilis

    #587583

    Hi Basilis,

    I need to change the TEXT not the color. I want it to say: ‘More »’ NOT ‘Read more’.
    I tried putting this code from the forum in my functions.php file, but it didn’t work:

    function change_excerpt( $text )
    {

    return ‘ ID) . ‘”>’ . ‘More »’ . ‘‘;
    }
    add_filter(‘get_the_excerpt’, ‘change_excerpt’);

    Thanks for your help!!

    #588177

    Hi Jennifer,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #588571

    Thanks, Rikard, details below:

    #590185

    Hi!

    Edit the includes > loop-index.php file then look for this code:

    $current_post['content'] 	= $blog_content == "excerpt_read_more" ? $current_post['content'].'<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>' : $current_post['content'];
    	$current_post['before_content'] = "";
    

    Replace the “Read more” text.

    Regards,
    Ismael

    #684205

    I need this same thing. No easy way to change the actual ‘Read more” text without editing a theme file?

    #684362

    Hey!

    Please follow the instructions that are been provided, we are afraid there is no other solution for that.

    Thanks a lot for your understanding

    Cheers!
    Basilis

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.