Hi, I've cruised the forum and came up with nil on how to answer this. Hopefully someone knows of a solution.
I have a collection of pages (ie. not posts) that are organized as children of a parent page. I then use wp_list_pages() to call the pages and format them into a main navigation menu on the site.
This works beautifully, but the pages' permalinks all contain their parent page's slug. ie.:
Where what I want is:
The only solutions I've been able to think up are:
1. Free float all the pages as parent pages, and link to them directly - problem is, when done in this way no CSS is added to allow for separate styling of "current_page_item", and it's pretty fugly in the backend - using child pages keeps everything more organized.
2. Change the parent page's slug to something other than "mainnav" - this would work, but I'd much prefer to not have it at all.
Anyone have any ideas on how to remove the parent's slug from the child page's permalink?