About Us

At Radevic, we’ve been turning good ideas into great work since 2007. Whether it’s a website, campaign or completely new brand, we thrive on challenges that call for smart thinking and a little elbow grease.We work with a wide range of partners and clients, but really, we’d rather do the work than talk about it.

Yootheme Support

Disable srcset in WP

Lately i noticed that pictures i uploaded are a bit blurry and when i checked my code using firebug i noticed some srcset in my images
This is a new feature in WP used for responsive images but i guess they need to work on it a bit. If you wish to disable it

Add the following to your functions.php in the root of your theme folder
/* Show future posts */
function disable_srcset( $sources ) {
return false;
}
add_filter( ‘wp_calculate_image_srcset’, ‘disable_srcset’ );

Disable srcset, srcset, wordpress tutorial


Nemanja Radevic

Wordpress expert Joomla expert Front end development expert Warp Framework expert Responsive design