Added ordering, fixed mobile layout, added logic for post type.