added resources for pages and posts