Anyone know a way to hide a specific page from the page menu? For example if I create a page with content for the main home page (index.php) and call it home, how can i get the 'home' link to be hidden from the page menu.
Alternatively
The 'home' page is a url of mydomain.com/page/home - how would I set that to be index.php or just mydomain.com/ (I was going to just hard code it but if there is a way... please let me know)
Cheers all
Ok if I unpublish it - it still shows in the page menu in the sidebar but does not show on the page where I have printPageContent for that page. I know I can get it to print unpublish by using the selector false (will have to read that again) - but how do I hide it from the menu?
Cheers
If you are logged in as an administrator unpublished pages (as are unpublishedimages and album in Zenphoto) are shown. Your not logged in visitor will not see them.
printPageContent() has an option for unpublished pages: printPageContent( "home",false) should print the zenpage page "home" it. Just put that on your theme's index.php page.