Tagged: read more link
Could you please tell me how to change the ‘Read more’ link to say ‘Learn more’. ?
I am using a child theme and so would like to change it there so will not have to redo every update.
Thanks so much. Enfold is the best theme ever!
Hi!
Can you specify on which element you want to change this? a link would be helpful.
Best regards,
Josue
Hi,
Open /enfold/config-templatebuilder/avia-shortcodes/postslider.php and look for line 311:
$permalink = '<div class="read-more-link"><a href="'.get_permalink($the_id).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>';
Replace it by this:
$permalink = '<div class="read-more-link"><a href="'.get_permalink($the_id).'" class="more-link">'.__('ANOTHER TEXT','avia_framework').'<span class="more-link-arrow"> →</span></a></div>';
Regards,
Josue
Hi!
Check your website, i found a better way, added this to Quick CSS:
a.more-link:before{
content: "Learn more";
font-size: 12px;
}
a.more-link {
font-size: 0;
}
span.more-link-arrow {
font-size: 12px;
}
Best regards,
Josue
Hehe, not necessary but thanks, glad to help :)
Regards,
Josue
Is there another way to do this? Using the CONTENT attribute in CSS violates ACCESSIBILITY requirements. Is there a way to add a filter to functions.php?
Hi,
Please try: https://kriesi.at/support/topic/how-to-change-read-more/#post-369455
or you can change the read more text by opening up includes/loop-index.php, includes/helper-templates.php and includes/loop-archive.php and replace all occurrences of “read more” with your custom text.
Best regards,
Mike