Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #799129

    I need to change the Read More link because it is not compliant with accessibility scans on the site. It needs to be more specific. I want to change the link text to “Read the full article”

    Can I do that in the CHILD THEME so that it doesn’t get trashed every time I update Enfold?

    Thanks

    #799134

    Hey galpinr,

    Are you referring to the Read More button of Post Slider?

    Best regards,
    Nikko

    #799142

    I am referring to the link at the bottom of each blog post when displayed as a partial post with the READ MORE link under it to open the full article. Thanks

    #799144

    We are using Default Blog Styling setting in Enfold Child Theme Options. The READ MORE links appear under each blog post displayed on the BLOG page.

    We use the Single Author, small preview Pic option.

    • This reply was modified 7 years, 5 months ago by galpinr.
    #799259

    Hi,

    Try to copy loop-index.php found in includes folder of the Enfold theme, create a new folder in your child theme and name it includes and paste loop-index.php file. Edit it (line 56):

    $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"></span></a></div>' : $current_post['content'];

    and replace it with 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 the full article','avia_framework').'<span class="more-link-arrow"></span></a></div>' : $current_post['content'];

    Hope this helps :)

    Best regards,
    Nikko

    #799583

    Thank you. That worked. Much appreciated.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change text in READ MORE link’ is closed to new replies.