dividing pages and posts