Im currently working on a Theme for a WordPress website. The theme affectively splits the website up into three sections.
http://url.com/section1 http://url.com/section2 http://url.com/section3
I need to be able to split up Pages in the backend into these sections. So in the menu it appears:
- Pages - Section 1 - Section 2 - Section 3
And when you go into the relevant section the "Add New Page" button would set the pages parent to be the corresponding section.
I realise this is very complicated,I currently have divided the menu but need to provide functions for each menu item.
Is there anyway to do this with action hooks? Or will I have to edit the core files new-post.php and edit.php?