MITLibraries / MITLibraries-child

A Wordpress child theme that descends from MITLibraries-parent
GNU General Public License v3.0
1 stars 1 forks source link

Conditional image on sticky posts #65

Closed frrrances closed 8 years ago

frrrances commented 8 years ago

If a post does not have an image and is set to sticky, it shows a broken image:

screen shot 2016-06-29 at 11 07 17 am

The image should have a conditional so the img tag doesn't get written if there is no src.