Change text on "View Post" link
-
Topic
-
I have watched the video and tried to figure out how to change the text on the “View Post” link on the list page, but I cannot figure out how. Please help me to explain how I shall write the code if I want the text to be “Read more” instead of “View Post” and where I shall put the snippet. I have managed to find this snippet in the theme-functions.php and I understand that this is where it should happen.
// Text String Overwrites
function swagger_frontend_locals( $locals ) {
$locals[‘read_more’] = __( ‘View Post’, TB_GETTEXT_DOMAIN_FRONT );
return $locals;
}
add_filter( ‘themeblvd_frontend_locals’, ‘swagger_frontend_locals’ );
- The forum ‘Swagger Responsive WordPress Theme’ is closed to new topics and replies.