For every website project, i make the wordpress admin custom for the client. Right now, i want that the client only has access to add subpages.
I have a main navigation on the website. I want that the main navigation is fixed, so the client can not add pages to the navigation. But the client can add subpages to the current pages in the fixed main navigation.
I googled it, but i can't find a solution. I know i can show menu items on a specific id. So i can make the main navigation fixed.
<?php wp_list_pages('include=7,13,26,35&title_li=<h2>' . __('Pages') . '</h2>' ); ?>
But, does it show the subpages id's thats below the page id? And is there not a cleaner way? Because with this solutation the client has still access to create pages. I only hide the created pages on the front website.
Hope someone can help me.