ok – I figured it out
open theme's
header.php`
find this code
<div id="nav">
<?php function get_the_pa_ges() {
global ;
if ( ! = wp_cache_get('these_pages', 'pages') ) {
= ('select ID, post_title from '. .' where post_status = "publish" and post_type = "page" order by ID');
}
replace with this code
<div id="nav">
<?php function get_the_pa_ges() {
global ;
if ( ! = wp_cache_get('these_pages', 'pages') ) {
= ('select ID, post_title from '. .' where post_status = "publish" and post_type = "page" and ID != "##" order by ID');
}
where you see the #
signs, replace with your page id
to exclude multiple pages use this
<div id="nav">
<?php function get_the_pa_ges() {
global $wpdb;
if ( ! $these_pages = wp_cache_get('these_pages', 'pages') ) {
$these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" and ID != "3" and ID != "5" order by ID');
}
replace the id’s with your real id’s of course
tested and works on my local install