WordPress.org

Support

Support » Plugins and Hacks » mPress Custom Feed Excerpts » [Resolved] Change "Continue Reading" Text

[Resolved] Change "Continue Reading" Text

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    @woodent

    Yes. Below is an example of how you would display the blog post title instead of the ‘continue reading’ link:

    add_filter( 'mpress_custom_feed_excerpts_continue_reading_link', 'custom_feed_excerpt_link' );
    
    function custom_feed_excerpt_link() {
    	global $post;
    	$post_title = get_the_title( $post );
    	$permalink = get_permalink( $post );
    	$link = '<a href="'. $permalink .'">'. $post_title .'</a>';
    	return $link;
    }

    You can place that code in your active theme’s functions.php file.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Change "Continue Reading" Text’ is closed to new replies.
Skip to toolbar