display content of pages and categories