WordPress.org

Forums

Serene
Read more! (3 posts)

  1. Karminowy
    Member
    Posted 1 year ago #

    How can I add 'Read more' text to all posts? Right now it's only cutting the post without any link.

  2. Karminowy
    Member
    Posted 1 year ago #

    I found this part of code in functions.php

    function serene_excerpt_more( $more ) {
    	return sprintf( '...<a class="read-more" href="%s">%s</a>',
    		get_permalink( get_the_ID() ),
    		esc_html__( 'Read more', 'Serene' )
    	);
    }
    add_filter( 'excerpt_more', 'serene_excerpt_more' );

    Any help?

  3. kovac1274
    Member
    Posted 1 year ago #

    Bump! I don't see any Read-More by using the short code note the Exceprts (and setting my reading options to summary).

    Any help?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.