• Hi all,

    just another little question: is tehre a way to change the defaul text at the end of the articles preview (displayed in the homepage)?
    In other words I’d like to edit the “read more”… can you help me?

    Thanks!
    giuliagenuina

Viewing 1 replies (of 1 total)
  • Hi giuliagenuina,

    Thank you for your question.

    You can change it by adding the following code in the functions.php file of activello child theme or developing small WordPress plugin and adding the code in it.

    function colorlib_change_translate_text( $translated_text, $text, $domain ) {
    	if ( trim($translated_text) == 'Read More' ) {
    		$translated_text = 'New text';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'colorlib_change_translate_text', 20, 3 );

    Please change the text ‘New text’ in the above code to whatever you want to display in place of ‘Read More’.

    Best Regards,
    Vinod Dalvi

Viewing 1 replies (of 1 total)
  • The topic ‘Change default text "read more"’ is closed to new replies.