updated to work with all StudioPress themes with post formats