Tagged: read more link
-
AuthorPosts
-
May 24, 2017 at 8:46 pm #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
May 24, 2017 at 8:57 pm #799134Hey galpinr,
Are you referring to the Read More button of Post Slider?
Best regards,
NikkoMay 24, 2017 at 9:03 pm #799142I 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
May 24, 2017 at 9:05 pm #799144We 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 8 years, 5 months ago by
galpinr.
May 25, 2017 at 12:00 am #799259Hi,
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,
NikkoMay 25, 2017 at 2:41 pm #799583Thank you. That worked. Much appreciated.
-
This reply was modified 8 years, 5 months ago by
-
AuthorPosts
- The topic ‘Change text in READ MORE link’ is closed to new replies.
