WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Toolbox] Change more-link (2 posts)

  1. Ottens
    Member
    Posted 1 year ago #

    I want to change the more-link in my Toolbox theme. It currently displays "(more...)" I want it to be "Read more".

    Can't find it in functions.php though. Tried adding this:

    function toolbox_more_text($content) {
    
    	$content = 'Read more';
    
    	return $content;
    
    }
    add_filter('more_text', 'toolbox_more_text');

    But that didn't change anything. Can anyone help?

  2. Ottens
    Member
    Posted 1 year ago #

    I'm terribly sorry, should have looked here before I asked.

    In case you need to know, replace:

    <?php the_content(); ?>

    With:

    <?php the_content('Read more'); ?>

    That simple!

Topic Closed

This topic has been closed to new replies.

About this Topic