Added more adaptive design, and added support for the rest of the major post types.