WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Line Break for Continue Reading link from excerpts

[Resolved] Line Break for Continue Reading link from excerpts

  • databell96
    Participant

    @databell96

    Have a question regarding the Continue Reading link that appears on excerpts in my blog. I know that link is created in functions.php of my theme like this:

    /**
     * Returns a "Continue Reading" link for excerpts
     */
    function twentyeleven_continue_reading_link() {
    	return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) . '</a>';
    }

    What I want to know is if there is a way I can add a line break to the text so Continue Reading appears on it’s own line? Right now, by default, it appears as part of the overall paragraph.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Line Break for Continue Reading link from excerpts’ is closed to new replies.