Add retina "2x" in attribute "srcset" Pixeldust WordPress Developer 9 years ago I need to add the “2x” to the url attribute srcset in wordpress 4.4.2. Maybe you can do so using a function in the functions.php file?