Fixed gallery not working on Post Types without Featured Image