Hi there, I just made a new site where I have some private pages in the menu which worked perfectly yesterday, but today when I logged into my site to continue my work, the privat pages didnt work and all I get is this message: Parse error: syntax error, unexpected T_ENDIF in /home/.lili/reisedilla/alt-om-brasil.com/wp-content/themes/talian-10/404.php on line 11 Anyone have any idea of what might be wrong? Its only affecting the sites Ive marked as private..
Oh, I just realised that I have to be logged in to see the private pages. So that leads me to my next questions: Is it possible to make a public page that wont be listed in the menu?
you can just make the page unpublished and give the link somewhere. as long people know the link, they can view it. another method is by using exclude tag on your menu listing. Get your page id at put them there. <?php wp_list_pages('depth=2&title_li=<h2>Pages</h2>&exclude=7,8,9'); ?> Code (markup):