{"id":135428,"date":"2021-01-22T02:00:35","date_gmt":"2021-01-22T02:00:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/make-featured-image-link-to-blog-post\/"},"modified":"2025-12-03T21:59:10","modified_gmt":"2025-12-03T21:59:10","slug":"make-featured-image-link-to-blog-post","status":"publish","type":"plugin","link":"https:\/\/si.wordpress.org\/plugins\/make-featured-image-link-to-blog-post\/","author":17716736,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.17","stable_tag":"1.17","tested":"6.9.4","requires":"6.0","requires_php":"8.0","requires_plugins":null,"header_name":"Make featured image link to blog post","header_author":"Voordelig ICT","header_description":"Adds a function to the function.php file of your current active theme. This function will make the featured image link back to the blog the images was inserted.","assets_banners_color":"0b529c","last_updated":"2025-12-03 21:59:10","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/voordeligict.nl","header_plugin_uri":"","header_author_uri":"https:\/\/voordeligict.nl","rating":5,"author_block_rating":0,"active_installs":20,"downloads":2315,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.15":{"tag":"1.15","author":"voordeligict","date":"2024-10-28 11:16:36"},"1.16":{"tag":"1.16","author":"voordeligict","date":"2025-04-08 09:20:44"},"1.17":{"tag":"1.17","author":"voordeligict","date":"2025-12-03 21:59:10"}},"upgrade_notice":{"1.17":"<p>Updated the plugin for use with WordPress version 6.9. Please update the plugin so you always have the latest version.<\/p>","1.16":"<p>Updated the plugin for use with WordPress version 6.8. Please update the plugin so you always have the latest version.<\/p>","1.15":"<p>Updated the plugin for use with WordPress version 6.7. Please update the plugin so you always have the latest version.<\/p>","1.14":"<p>Updated the plugin. Please update the plugin so you always have the latest version.<\/p>","1.13":"<p>Updated the plugin. Please update the plugin so you always have the latest version.<\/p>","1.12":"<p>Updated the plugin for use with WordPress version 6.6. Please update the plugin so you always have the latest version.<\/p>","1.11":"<p>Updated the plugin for use with WordPress version 6.5. Please update the plugin so you always have the latest version.<\/p>","1.10":"<p>Updated the plugin for use with WordPress version 6.4. Please update the plugin so you always have the latest version.<\/p>","1.9":"<p>Updated the plugin for use with WordPress version 6.3. Please update the plugin so you always have the latest version.<\/p>","1.8":"<p>Updated the plugin for use with WordPress version 6.2. Please update the plugin so you always have the latest version.<\/p>","1.7":"<p>Updated the plugin for use with WordPress version 6.1. Please update the plugin so you always have the latest version.<\/p>","1.6":"<p>Updated the plugin for use with WordPress version 6.0. Please update the plugin so you always have the latest version.<\/p>","1.5":"<p>Updated the plugin for use with WordPress version 5.9. Please update the plugin so you always have the latest version.<\/p>","1.4":"<p>Updated plug-in for use with WordPress version 5.8. Please update the plug-in so you always have the latest version.<\/p>","1.3":"<p>Please update to newest version.<\/p>","1.2":"<p>Please update to newest version due to minor changes.<\/p>","1.1":"<p>Please update to newest version due to minor changes.<\/p>","1.0":"<p>plugin is live and ready to use.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3410174,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3410174,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":3410174,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3410174,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":3410174,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3410174,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.15","1.16","1.17"],"block_files":[],"assets_screenshots":{"screenshot-1.JPG":{"filename":"screenshot-1.JPG","revision":2460723,"resolution":"1","location":"assets","locale":"","width":1134,"height":159}},"screenshots":{"1":"Example of the php code used."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2968,323,838,133,229581],"plugin_category":[50],"plugin_contributors":[180087],"plugin_business_model":[],"class_list":["post-135428","plugin","type-plugin","status-publish","hentry","plugin_tags-add-link","plugin_tags-blog","plugin_tags-featured","plugin_tags-image","plugin_tags-voordelig-ict","plugin_category-media","plugin_contributors-voordeligict","plugin_committers-jbruijs","plugin_committers-voordeligict"],"banners":{"banner":"https:\/\/ps.w.org\/make-featured-image-link-to-blog-post\/assets\/banner-772x250.png?rev=3410174","banner_2x":"https:\/\/ps.w.org\/make-featured-image-link-to-blog-post\/assets\/banner-1544x500.png?rev=3410174","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/make-featured-image-link-to-blog-post\/assets\/icon-128x128.png?rev=3410174","icon_2x":"https:\/\/ps.w.org\/make-featured-image-link-to-blog-post\/assets\/icon-256x256.png?rev=3410174","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/make-featured-image-link-to-blog-post\/assets\/screenshot-1.JPG?rev=2460723","caption":"Example of the php code used."}],"raw_content":"<!--section=description-->\n<p>Adds a function to the function.php file of your current active theme. This function will make the featured image link back to the blog the image was inserted.\nThis way you do not have to change your themes files and your changes will not be gone after a theme update.<\/p>\n\n<p><strong>Make sure your theme doesn't allready have this function. Some themes allready have this function by default.<\/strong><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plug-in files to the &#092;\\'\/wp-content\/plugins\/&#092;\\' folder, or install from the WordPress plugin library.<\/li>\n<li>Activate the plug-in from the WordPress plug-in menu.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='q%3A%20how%20does%20this%20plug-in%20work%3F'><h3>Q: How does this plug-in work?<\/h3><\/dt>\n<dd><p>A: It just adds a simple code to the function.php file of you active theme. This will add a link to the featured image which is added to a blog.<\/p><\/dd>\n<dt id='q%3A%20which%20code%20is%20added%3F'><h3>Q: Which code is added?<\/h3><\/dt>\n<dd><p>A: function wpb_autolink_featured_images( $html, $post_id, $post_image_id ) {$html = '<a href=\"' . get_permalink( $post_id ) . '\" title=\"' . esc_attr( get_the_title( $post_id ) ) . '\">' . $html . '<\/a>'; return $html;} add_filter( 'post_thumbnail_html', 'wpb_autolink_featured_images', 10, 3 );<\/p><\/dd>\n<dt id='q%3A%20do%20i%20need%20to%20change%20anything%20in%20my%20settings%3F'><h3>Q: Do I need to change anything in my settings?<\/h3><\/dt>\n<dd><p>A: Nope. Just activate the plug-in and add a featured image to a post. That is it.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.17<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.9.<\/li>\n<\/ul>\n\n<h4>1.16<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.8.<\/li>\n<\/ul>\n\n<h4>1.15<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.7.<\/li>\n<\/ul>\n\n<h4>1.14<\/h4>\n\n<ul>\n<li>Update: code update.<\/li>\n<\/ul>\n\n<h4>1.13<\/h4>\n\n<ul>\n<li>Update: code update.<\/li>\n<\/ul>\n\n<h4>1.12<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.6.<\/li>\n<\/ul>\n\n<h4>1.11<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.5.<\/li>\n<\/ul>\n\n<h4>1.10<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.4. Changed Stable tag to version number.<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.3.<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.2.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.1. Changed minimal required PHP version to 7.0.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 6.0<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 5.9<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 5.8<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Minor code change<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Updated and tested up to WordPress version 5.7<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Minor changes in the tags and description<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Adds a function to the function.php file. This function will make the featured image link back to the blog the image was inserted.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/135428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=135428"}],"author":[{"embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/voordeligict"}],"wp:attachment":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=135428"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=135428"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=135428"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=135428"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=135428"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=135428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}