It certainly is! WordPress has filters called the_excerpt_rss
and the_content_feed
which filter the posts’ content and excerpts for the RSS feed. The filter is called in the loop, so you can use get_the_ID()
and get_the_content()
(and other loop functions) to fetch information about the post.
add_filter( 'the_excerpt_rss', 'wpse151603_rss_post_excerpt' );
function wpse151603_rss_post_excerpt( $excerpt ) {
$content = get_the_content();
if ( strlen( $content ) < 200 ) {
$excerpt = get_the_content(); // Get full content for use in feed
}
return $excerpt;
}
Related Posts:
- Individual rss feed entry length for categories?
- Allow users to create their own feed from selected categories?
- How to create category index table out of wordpress site or on other website?
- How do I view a feed consisting of posts from multiple categories?
- How Can You Exclude Categories From Your RSS Feeds?
- Need Category RSS Feed that shows all posts
- RSS/XML of all Categories and/or Tags
- Full text articles in the rss feed (i.e. without the more tag)
- Custom User-Created RSS Feed
- Show only first category name in RSS?
- Category RSS feed doesn’t show category name
- Failing in_category or has_category in the_content_feed
- How replace individual elements in the RSS feed with a single string
- How to fetch common posts from two feeds?
- WP url to get rss with full text of post
- Change rss title of individual feeds?
- Reversing the order of items in a category rss feed?
- How can I offer different RSS-Feeds by category?
- Replace category titles inside RSS feed
- How would I get a taxonomy/category list inside a Gutenberg block?
- Gutenberg editor add a custom category as wrapper for custom blocks
- Rewrite rule page url with category
- WP_Query not looking at child category
- Deleting default category in wordpress
- Excluding posts from a category but only if they’re not in multiple categories
- Most recent post from every category/taxonomy but sorted by date
- Showing all the posts in one page?
- How to order categories in Woocommerce that are spread over multiple pages? [closed]
- Script to duplicate categories as tags
- Check if post belongs to any category
- How to sort categories by id in wordpress admin
- How to override Category rendering mechanism
- Can paginate_links() be customized for a specific category or tag?
- Add Product categories to WordPress menu without losing hierarchy
- How to set up Author archives with sub category URL
- How to change number of items on add new pluggins page from backend?
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- Do I have to use categories?
- get_the_category and echo out link to child-most/deepest category
- Categorising posts/pages into years published
- How can I duplicate categories and tags?
- Display category description instead of “nothing found” page
- Subcategories with the same name
- Link Attachment Image to Category
- Removing post category base giving Error 404
- posts_nav_link(); picks up index.php instead of category.php as template
- Category name field strips HTML tags. How can I reverse this?
- Check IF category_description exists
- How to show a list of only categories (exclude subcategories)
- How to list categories in reverse alphabetical order?
- I want to show category name when using [category] shortcode
- Category list with postcount
- What Must to Display the “mysite.com/category” URL?
- How to hide some categories in dashboard
- How to choose the content from a post which is in the right category?
- How to display product with two condition, category and brand taxonomy
- How to get category id’s which are added in main menu?
- List all posts of certain category which share some tags
- Search form options group categories
- Natural sort / ordering wp_dropdown_categories
- Make wp_dropdown_categories into a variable that persists until changed?
- show category in woocommerce
- Can I define multiple paginations on a single page?
- Echo Category Nicename
- How can I exclude a category from the main loop with the category name & not ID?
- Explode() expects a string
- How to add meta description, keywords, custom title to a category template
- User level categories
- how to remove alphabetical order of category in WordPress?
- How can i add service category here? [duplicate]
- How to exit out of delete_categories and stop action?
- Meta Query | Compare category name and meta value
- How to filter tags by category?
- Programmatically Create Category and sub Category and sub sub Category
- How Can I Display the Category Description in a Theme with no Category.php or Archive.php?
- How to get the_category(‘, ‘) with link “title” attribute
- omit categories from main navigation menu
- How to test if the post is in a primary category
- How to get the term id inside the start lvl method of category walker?
- Most efficient way to display current post subcategories?
- How to relocate images
- Category next page link not working
- How to display the past events in one of the category?
- How to Query the Top 5 Posts of a specific category?
- How to add a post with new Taxonomy without assigning to default category?
- Page Type with Category Link
- Using wp_list_pages to create 2 lists of pages and include and exclude some of them depending on their category
- How to create default categories in new installs?
- If I change the taxonomy of a post will it get a new time stamp?
- Check if value is a custom taxonomy category name
- Tracking multiple tags or categories
- 2 loops in archive.php (one for each category)
- How to load jquery tag-it plugin into admin?
- not empty categories don’t show in menu [closed]
- How do I add and display a custom image field to a category? [duplicate]
- Show parent-child relationship for categories in the wordpress admin
- Category pagination not working in category.php please help me
- Print the associated categories of the current post starting with parent (with option to remove href)
- Add category image before post title on homepage
- Function to reference post meta in place of category Woocommerce