All you have to do is add this code to the end of your theme’s functions.php file: add_filter( ‘post_thumbnail_html’, ‘wps_post_thumbnail’, 10, 3 ); function wps_post_thumbnail( $html, $post_id, $post_image_id ) { $html = ‘<a href=”‘ . get_permalink( $post_id ) . ‘” title=”‘ . esc_attr( get_post_field( ‘post_title’, $post_id ) ) . ‘”>’ . $html . ‘</a>’; return […]
Tag: thumbnail
How to fix blank thumbnails in the WordPress Media Library
Mostly that problem is about the persmission for uploads folder of your wordpress website. So first, please check the permissions for your uploads folder. Start by navigating in your WordPress dashboard to Settings -> Media. Make sure that the option Organize my uploads into month- and year-based folders is checked. Next go into your Cpanel for your domain, […]
How to use Map Mode for Vertical Scroll Mode in Visual Studio
Are you still scrolling through thousands of lines of code like it’s 1999? If you are using Visual Studio, there is a powerful navigation tool hidden in your settings that can turn your scrollbar into a miniature map of your entire file. It’s called Map Mode, and once you try it, you’ll never go back […]

