• Resolved Babbelientje

    (@babbelientje)


    Hi y’all! I’m a bit stuck, hoping you guys can help me out… I’m trying to change the text of the ‘continue reading’ link on my blog list page. I have ofcourse called in Google’s help, and I know it’s a widely discussed topic but I just don’t seem to be doing the right things.

    I do know some CSS and HTML but no PHP whatsoever so that makes this hard. I’m using the Symphony-theme, of which I have created a child theme. The hardest part seems to be overriding the parent functions.php document. I THINK (but not sure) this is the piece of code in the parent that sets the text:

    /**
     * This function returns the more link label for Symphony.
     */
    function symphony_more_link_label( $return_default_only = false ) {
    	// Return default
    	if ( $return_default_only )
    		return __( 'Continue Reading', 'symphony' );
    
    	// Get theme mod
    	$label = get_theme_mod( 'symphony_more_link_label' );
    
    	return ( ! empty( $label ) ) ? $label : __( 'Continue Reading', 'symphony' );
    }

    Now what on earth do I put into my child’s functions.php to override this?! Thanks so much in advance for your help!!

    • This topic was modified 5 years, 11 months ago by Babbelientje.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change ‘continue reading’ text in child theme’ is closed to new replies.