Tagged: read more link
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
Hey galpinr,
Are you referring to the Read More button of Post Slider?
Best regards,
Nikko
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
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.
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
Thank you. That worked. Much appreciated.