Disable the Excerpt in RSS Feeds

// Make sure we display the excerpt in the feed. add_filter( ‘pre_option_rss_use_excerpt’, ‘__return_true’ ); // Remove the excerpt content for feeds. add_filter( ‘the_excerpt_rss’, ‘__return_empty_string’ );Continue reading

Change Read More Text for Excerpts

function wpcode_snippets_change_read_more( $read_more, $read_more_text ) { // Edit the line below to add your own “Read More” text. $custom_text = ‘Read the whole post’; $read_more = str_replace( $read_more_text, $custom_text, $read_more ); return $read_more; } add_filter( ‘the_content_more_link’, ‘wpcode_snippets_change_read_more’, 15, 2 );Continue reading