mPress Custom Feed Excerpts
Change "Continue Reading" Text (2 posts)

  1. sarahsbakestudio
    Posted 2 years ago #

    I would like to change the continue reading text to either include the blog post title, or remove it all together. Is this something that can easily be done?

    Thank you!


  2. Micah Wood
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • mPress Custom Feed Excerpts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.