Look at using the template tag, wp_list_pages(), and the exclude= argument.
Thread Starter
eddyj
(@eddyj)
Hi MichaelH thankyou I will go do that now and update you on how things go
Thread Starter
eddyj
(@eddyj)
It worked, thankyou my friend.
Just for other peoples benefit. Basically you have to go into editor find the .php file probably header.php and then the part which says
<?php $exclude = obwp_get_meta(SHORTNAME.’_exclude_page’); wp_list_pages2(‘title_li=&sort_column=menu_order&depth=0&exclude=X’.$exclude) ?>
Now where i have put X is what you change for the number of the page
to find the number of the page go to pages and mouse over the page link and you will see it
HI Eddy, what if I have three pages I would like to exclude? how do I write it correctly? I dont know php
Here is the code that worked a treat:
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=232,263'); ?>