Change 'Read More' to 'Çontinue Reading'
-
Although I managed to rename post excerpt ‘Read More’ link to ‘Çontinue Reading’ with the code below in functions.php for child theme, I’m getting a white screen on post update/preview. Is there an error in the coding?
<?php // Change 'Read More'link from excerpt function change_io_excerpt_more() { function new_io_excerpt_more($more) { return '<span class="continue-reading"> <a href="' . get_permalink() . '">Continue Reading »</a></span>'; } add_filter('excerpt_more', 'new_io_excerpt_more'); } add_action('after_setup_theme', 'change_io_excerpt_more');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Change 'Read More' to 'Çontinue Reading'’ is closed to new replies.