Change "Read More" text on blog post button

Hi, I want to change the “Read More” text on the blog post button found on the home page to “Read Full Post”.

I’ve looked through X-Theme customization but there isn’t an option for this.

I tried the suggestion in this forum question by adding it to functions.php of the child theme but it did not work.

Any help would be appreciated. Thanks!

Hello @ssiwebdev,

Thanks for writing to us.

I would suggest you please add this custom code to the active child theme functions.php file.

function custom_text_translate($translated) {
  $translated = str_ireplace('Read More', 'YOUR TEXT', $translated); return $translated;
}
add_filter('gettext', 'custom_text_translate' );

Please feel free to change “YOUR TEXT” to match your design. Please note that the code provided above serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope and for further maintenance for new possible versions of the theme that may cause the customization to break, you will need to hire a developer. In case you have no idea about PHP code you need to contact a developer or subscribe to One where customization questions are answered since custom development is out of the support scope.

Thanks for understanding

That worked! Thank you!

Hey @ssiwebdev,

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.