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
You can get to this area by going to Tools | Options | Text Editor | All Languages | Scroll Bars To see a preview of code using the scroll bar change the behavior from “Use bar mode for vertical scroll bar” to “Use map mode for vertical scroll bar”