• Resolved antrium

    (@antrium)


    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 &raquo;</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)
  • Theme Author Themonic

    (@themonic)

    Download fresh and find this line in functions.php

    line 61.

    return '… <span class="read-more"><a href="'. get_permalink($post->ID) . '">' . __( 'Read More', 'themonic' ) . ' &raquo;</a></span>';

    Replace it with

    return '… <span class="read-more"><a href="'. get_permalink($post->ID) . '">' . __( 'Continue Reading', 'themonic' ) . ' &raquo;</a></span>';

    Thread Starter antrium

    (@antrium)

    Thank you for your reply.

    I’m using a child theme. If I modify the parent theme with your suggested solution, would the changes be lost when I update the theme? Shouldn’t I be making the changes in functions.php of child theme?

    Theme Author Themonic

    (@themonic)

    Child theme override for read more function will become available in version 1.4.4 by the end of this month. After which you can simply copy the same function in child theme with your edits.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Change 'Read More' to 'Çontinue Reading'’ is closed to new replies.