{"id":35971,"date":"2015-04-27T05:33:06","date_gmt":"2015-04-27T05:33:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-feed-post-thumbnail\/"},"modified":"2024-11-18T14:40:50","modified_gmt":"2024-11-18T14:40:50","slug":"wp-feed-post-thumbnail","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/wp-feed-post-thumbnail\/","author":14108394,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.0","stable_tag":"3.0.0","tested":"6.7.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Feed Post Thumbnail","header_author":"required","header_description":"","assets_banners_color":"1a1a1a","last_updated":"2024-11-18 14:40:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/required.com\/services\/wordpress-plugins\/wp-feed-post-thumbnail\/","header_author_uri":"https:\/\/required.com","rating":5,"author_block_rating":0,"active_installs":2000,"downloads":21766,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"wearerequired","date":"2015-04-27 05:33:19"},"2.0.1":{"tag":"2.0.1","author":"wearerequired","date":"2016-09-01 09:24:22"},"2.1.0":{"tag":"2.1.0","author":"wearerequired","date":"2017-06-02 07:34:42"},"2.1.1":{"tag":"2.1.1","author":"wearerequired","date":"2019-05-07 06:25:25"},"2.1.2":{"tag":"2.1.2","author":"wearerequired","date":"2023-03-27 07:45:26"},"3.0.0":{"tag":"3.0.0","author":"wearerequired","date":"2024-11-18 14:40:50"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2887120,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1582767,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1582767,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3191365,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/options-reading.php#wp-feed-post-thumbnail\",\"preferredVersions\":{\"php\":\"8.1\",\"wp\":\"latest\"},\"features\":{\"networking\":true},\"steps\":[{\"step\":\"login\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"wp-feed-post-thumbnail\"},\"options\":{\"activate\":true}},{\"step\":\"setSiteOptions\",\"options\":{\"blogname\":\"Feed Post Thumbnail Demo\"}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"wp-feed-post-thumbnail\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["2.0.0","2.0.1","2.1.0","2.1.1","2.1.2","3.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2887394,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Reading Settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1795,252,12829,9527,1326],"plugin_category":[50],"plugin_contributors":[80561,84031,80418,83475],"plugin_business_model":[],"class_list":["post-35971","plugin","type-plugin","status-publish","hentry","plugin_tags-featured-image","plugin_tags-feed","plugin_tags-mrss","plugin_tags-rss-feed","plugin_tags-thumbnail","plugin_category-media","plugin_contributors-grapplerulrich","plugin_contributors-neverything","plugin_contributors-swissspidy","plugin_contributors-wearerequired","plugin_committers-wearerequired","plugin_support_reps-ocean90"],"banners":{"banner":"https:\/\/ps.w.org\/wp-feed-post-thumbnail\/assets\/banner-772x250.png?rev=1582767","banner_2x":"https:\/\/ps.w.org\/wp-feed-post-thumbnail\/assets\/banner-1544x500.png?rev=1582767","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/wp-feed-post-thumbnail\/assets\/icon.svg?rev=2887120","icon":"https:\/\/ps.w.org\/wp-feed-post-thumbnail\/assets\/icon.svg?rev=2887120","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-feed-post-thumbnail\/assets\/screenshot-1.png?rev=2887394","caption":"Reading Settings"}],"raw_content":"<!--section=description-->\n<p>With this plugin, an MRSS namespace is added to the site\u2019s RSS feed to include each post\u2019s thumbnail.<\/p>\n\n<p>WP Feed Post Thumbnail is very lightweight and only adds two small options under Settings -&gt; Reading.<\/p>\n\n<h3>Contribute<\/h3>\n\n<p>If you would like to contribute to this plugin, report an issue or anything like that, please note that we develop this plugin on <a href=\"https:\/\/github.com\/wearerequired\/required-wp-feed-post-thumbnail\">GitHub<\/a>.<\/p>\n\n<p>Developed by <a href=\"https:\/\/required.com\/\" title=\"Team of experienced web professionals from Switzerland &amp; Germany\">required<\/a><\/p>\n\n<!--section=installation-->\n<h3>Manual Installation<\/h3>\n\n<ol>\n<li>Upload the entire <code>\/wp-feed-post-thumbnail<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate WP Feed Post Thumbnail through the 'Plugins' menu in WordPress.<\/li>\n<li>Enjoy more awesome RSS feeds<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20the%20rss%20feed%20still%20validate%20with%20this%20plugin%20enabled%3F'><h3>Does the RSS feed still validate with this plugin enabled?<\/h3><\/dt>\n<dd><p>Yep, we add the proper XML namespaces for that. Everything just works as expected!<\/p><\/dd>\n<dt id='any%20way%20to%20force%20the%20plugin%20to%20always%20add%20a%20certain%20thumbnail%20size%3F'><h3>Any way to force the plugin to always add a certain thumbnail size?<\/h3><\/dt>\n<dd><p>Yes, the plugin has two filters available for this:<\/p>\n\n<pre><code>\/\/ Filters the size on media:content tag. Defaults to 'full'.\nadd_filter( 'wp_feed_post_thumbnail_image_size_full', function( $size ) {\n    return 'large'; \/\/ Return any registered image size.\n}, 10, 1 );\n\n\/\/ Filters the size on the media:thumbnail tag. Defaults to 'thumbnail'.\nadd_filter( 'wp_feed_post_thumbnail_image_size_thumbnail', function( $size ) {\n    return 'medium'; \/\/ Return any registered image size.\n}, 10, 1 );\n<\/code><\/pre><\/dd>\n<dt id='can%20i%20change%20which%20images%20are%20shown%3F'><h3>Can I change which images are shown?<\/h3><\/dt>\n<dd><p>Yes, the plugin has two filters available for this:<\/p>\n\n<pre><code>\/\/ Filters the featured image attachment post object.\nadd_filter( 'wp_feed_post_thumbnail_image', function( $thumbnail ) {\n    return ''; \/\/ Return an empty string or another attachment post object.\n}, 10, 1 );\n\n\/\/ Filters the array of attachment post objects. Defaults to featured image post object if exists.\nadd_filter( 'wp_feed_post_thumbnail_images', function( $images ) {\n    $attachment_id = '123';\n    $images[] =  get_post( $attachment_id ); \/\/ Additional attachment post object.\n    return images;\n}, 10, 1 );\n<\/code><\/pre><\/dd>\n<dt id='can%20i%20change%20the%20title%2C%20description%20or%20author%20shown%20with%20the%20image%3F'><h3>Can I change the title, description or author shown with the image?<\/h3><\/dt>\n<dd><p>Yes, there is a filter for each of these things:<\/p>\n\n<pre><code>\/\/ Filters the title on the media:title tag. Defaults to attachment title.\nadd_filter( 'wp_feed_post_thumbnail_title', function( $title ) {\n    return 'Override title'; \/\/ Return any plain text.\n}, 10, 1 );\n\n\/\/ Filters the text on the media:description tag. Defaults to attachment description.\nadd_filter( 'wp_feed_post_thumbnail_description', function( $description ) {\n    return 'Same description for all images'; \/\/ Return any plain string.\n}, 10, 1 );\n\n\/\/ Filters the name of the author on the media:copyright tag. Defaults to attachment author.\nadd_filter( 'wp_feed_post_thumbnail_author', function( $author_name ) {\n    return 'Matt'; \/\/ Return any plain string.\n}, 10, 1 );\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>3.0.0 -2023-03-27<\/h3>\n\n<ul>\n<li>Enhancement: Add setting to disable adding Media RSS namespace.<\/li>\n<li>Fixed: Prevent errors when unchecking all settings.<\/li>\n<li>Changed: Requires at least PHP 7.4 and WordPress 6.0.<\/li>\n<\/ul>\n\n<h3>2.1.2 - 2019-03-11<\/h3>\n\n<ul>\n<li>Enhancement: Minor code improvements.<\/li>\n<li>Enhancement: New filter <code>wp_feed_post_thumbnail_images<\/code> to list multiple images<\/li>\n<li>Changed: minimum PHP version 5.4 &amp; minimum WP version 4.7<\/li>\n<\/ul>\n\n<p>For previous updates see <a href=\"https:\/\/github.com\/wearerequired\/wp-feed-post-thumbnail\/blob\/master\/CHANGELOG.md\">Changelog.md<\/a>.<\/p>","raw_excerpt":"Adds MRSS namespace to the feed and uses post-thumbnail as media element in the feed. Settings available under Settings -&gt; Reading.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/35971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=35971"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wearerequired"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=35971"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=35971"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=35971"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=35971"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=35971"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=35971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}