Customize your feed excerpts by simply using the <!--more--> tag in posts.
The mPress Custom Feed Excerpts plugin allows to you customize your WordPress feed excerpts by simply using the <!– more –> tag in WordPress.
Everyone who uses feeds in WordPress wants to be able to control what shows up for their readers. There is a fine line between an excerpt that is too short to capture interest and a full post that never brings your readers to your actual website. At the same time, WordPress strips out all the HTML on feed excerpts and none on full posts. Now, you can customize the feed excerpt on a post-by-post basis and maintain the HTML as seen by visitors on your site.
Using this plugin is simple:
If you don’t meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host
that supports a more recent version of PHP.
/wp-content/plugins/
directory and unzipOnce the plugin is installed and activated, go to ‘Reading’, which is under ‘Settings’ in the WordPress admin menu. Make sure you are using the ‘Full text’ option for your WordPress feeds. Now, just use the <!–more–> tag in any post to create the cut-off point for the feed excerpt!
NOTE: To customize the link text, just add your text to the more tag, like this: <!–more My custom text…–>
All filters have access to the current post via the get_post()
function.
mpress_custom_feed_excerpts_default_link_text
– Filters the default link text. Single parameter is a string containing the default link text.mpress_custom_feed_excerpts_continue_reading_link
– Filters the entire link. Single parameter is a string containing the link markup.If you don’t meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host
that supports a more recent version of PHP.
/wp-content/plugins/
directory and unzipOnce the plugin is installed and activated, go to ‘Reading’, which is under ‘Settings’ in the WordPress admin menu. Make sure you are using the ‘Full text’ option for your WordPress feeds. Now, just use the <!–more–> tag in any post to create the cut-off point for the feed excerpt!
NOTE: To customize the link text, just add your text to the more tag, like this: <!–more My custom text…–>
All filters have access to the current post via the get_post()
function.
mpress_custom_feed_excerpts_default_link_text
– Filters the default link text. Single parameter is a string containing the default link text.mpress_custom_feed_excerpts_continue_reading_link
– Filters the entire link. Single parameter is a string containing the link markup.mpress_custom_feed_excerpts_default_link_text
filter for easily customizing the default link text.