• Resolved ter282

    (@ter282)


    How do you change the “continue reading” link to say “read more”? I’m using a child theme.

    Thank you. Great theme!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    In CPanel, you have to go to public_html/wp-content/themes/tiny-framework/inc/template-tags.php

    There you can find all codes that contain “continue reading” and instead write whatever you want.

    Theme Author Tomas Mackevicius

    (@tomasm)

    The only thing – this will be overwritten with the next theme update.

    Copy function:

    /**
     * Display post content with "more" link when applicable
     *
     * @since Tiny Framework 2.0.1
     */
    function tinyframework_post_content() {
    	/* translators: %s: Name of current post */
    	the_content( sprintf(
    		__( '...continue reading<span class="screen-reader-text"> "%s"</span>', 'tinyframework' ),
    		get_the_title()
    	) );
    }

    to your child theme’s functions.php and change the wording.

    You might need to copy also the tinyframework_new_excerpt_more function.

    Thank you Tomas. As you can see, I am a complete newbie into WP.

    Can you share what should I write if I want “continue reading” link to be visible on a new line and not immediately after the article?

    Thread Starter ter282

    (@ter282)

    Thank you. I’ll give it a try.

    Theme Author Tomas Mackevicius

    (@tomasm)

    Hirtos, just in the editor you can drop <-- more --> to a new line, but if you want to make it standard, you can try using CSS rule:

    .more-link {
    display: block;
    }

    Great, it works. Thank you Tomas.

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

The topic ‘Change "continue reading" link to "read more"’ is closed to new replies.