Better late than never I guess.
You have several options, first and easiest, you can install a plugin that searches for images in posts and the attach them as featured if no featured is found. This plugin can help you, but there are plenty more.
If you prefer not to rely in plugins, you can add a snippet in your functions.php
file that searches for the first image in the post attachments and then features it. You have a tutorial here on how to accomplish this.
Lastly, you need to include the featured image in your RSS feed:
// display featured post thumbnails in WordPress feeds
function wcs_post_thumbnails_in_feeds( $content ) {
global $post;
if( has_post_thumbnail( $post->ID ) ) {
$content="<p>" . get_the_post_thumbnail( $post->ID ) . '</p>' . $content;
}
return $content;
}
add_filter( 'the_excerpt_rss', 'wcs_post_thumbnails_in_feeds' );
add_filter( 'the_content_feed', 'wcs_post_thumbnails_in_feeds' );
Hope this helps.
Related Posts:
- Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- Update Multiple Post Meta for the Same Post In One call?
- How do you remove plugin edit option?
- WooCommerce get_price returning wrong price when used via ajax
- Open Post Thumbnail in New Child Theme File in WordPress
- wp_get_post_terms is difference obj model than the one in rest api response
- What are the specifics of WordPress development I need to know? [closed]
- WordPress shows error related to allow_url_fopen
- Redirect to another page using contact form 7? [closed]
- How to show the number of website visitors in my theme
- Redeclare function after plugin activation
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- Theme Functions run a function upon activation or preview
- Code for unique user visit count on every page WordPress
- woocommerce remove coupon link does not work
- need to find duplicated meta value in custom filed and view the posts that have the same value
- how to display recent post by category on home page
- Newbie problem with adding include wp_footer
- How can I find related learndash course id from woocommerce product object?
- Submitting form to PHP
- Rename a folder via HTML POST request
- How to get a post views count using ‘WordPress popular posts’ plugin
- How can I see $post object in frontend from functions.php?
- How much PHP and MySQL or MariaDB knowledge should I know to start writing WordPress themes and plug-ins and whatever else a beginner can edit?
- Change Jobs for WordPress templates
- How to copy data from user profile page (profile.php) to theme customizer
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- How to create post comparison in wordpress
- How to get the active theme’s slug?
- Function to activate WordPress theme inside a plugin
- Get info (url) from already enqueued styles
- Errors while using ajax from external wordpress page
- shortcode doesn’t work
- post expire after x days
- How to get all events from ‘All in one Events calender’ plugin in JSON format?
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- WordPress logo upload option in theme panel
- WP Post Template – Templates in own folder
- Apple push notification doesn’t work
- Why does my functions.php cause white-screen and media-library issues?
- Override Plugin Script Fucnction in WordPress
- Conditional attributes and logic per product category
- Using Wishlist Member and I need to access a user’s status
- Why namespaces are rarely used in WordPress plugins?
- Subdomains with almost the same content
- How to include this jQuery File in wordpress?
- WordPress premium theme development [duplicate]
- PHP Error When a plugin is active
- Include a php file from another plugin
- Getting taxonomy images to display on single-post with their terms
- wp-mail attachment is not sent for no reason?
- How can I fetch data from another website to my wordpress website with mysql database
- Save user total active time after login in wordpress [closed]
- Switch from wp-cron to a server cron job
- Add the_post_thumbnail_url to a shortcode in function.php
- Polldaddy doesn’t show up on own theme
- Adding a Tag Parameter / Filter to My Shortcode
- Modify pages widget and make a plugin?
- Warning: Attempt to read property “ID” on null in C:\xampp\htdocs\Nnamdi1\wp-content\plugins\elementor\core\base\document.php on line 250 [closed]
- Ajax call not working in wordpress through a plugin
- i need to make custom cron_schedule with custom interval time as a parameter into a custom payment gateway plugin wordpress
- Redirect unloggedin users
- How to add custom plugin data to the cart in woocommerce using custom button on product page?
- WP Function does not trigger on Webhook API Call
- Cookie value changes back to previous value after changing
- Allowed memory size of 134217728 … wp-includes/wp-db.php on line 1989
- Undefined offset: 0 in WordPress after latest version upgrade [closed]
- Can you add a shortcode to a custom post type that gets the post_title, post_content, etc. and then passes that to a plugin function?
- How to create algorithm for ordering posts in WordPress?
- How to use WordPress header function and footer function and not load word press database
- wp-admin/admin-ajax.php 400 (Bad Request) plugin
- How to echo a PHP Code After the Content
- Show custom taxonomy in theme
- Flexslider empty slide
- Can you develop themes and plugins while using the hosting services BlueHost? [closed]
- Update (a function) post’s featured image as soon as $image_url changes
- Social sharing plugin directing to blank page after post sharing
- How to add wordpress plugins in along with my standalone theme
- How to order users alphabetically by name? in plugin UPME
- Media Playlist Plugin
- WordPress Background Audio – Continous AutoPlay
- Replace Dash (-) and Underscore ( _ ) with Space
- How can I add different menus (different style menu) on each page?
- How use Dynamic hyperlink on each wordpress post?
- How to execute init or woocommerce_init only for checkout page
- how to restore wordpress backup(.rar) manually?
- White Screen When Includding A Folder With PHP Files
- wordpress jquery is not defined because the head tag is empty
- Two sites one PC
- PHP if url extension action=discussion condition use [closed]
- how to show selected options drop down menu values in attributes field in after saving post.php
- Can’t use updated variables in handle function
- How to get URL param for pagination in shortcode?
- Make plugin admin page visible to other roles
- Is there any WordPress Plugin that provides video editing from front end side? [closed]
- How Create LastMod and Update Date Only on Taxonomy Category and Tags
- Accessing Correct Database to Create REST API Endpoint
- How do I replace a logo image that’s hard-coded into a plugin’s logo.php file?