wp_list_pages exclude does not work
-
Hello
I have implemented the following code into my header.php
<div id="navmenu"> <ul> <li><a href="<?php echo get_settings('home'); ?>">START</a></li> <?php $arguments = array('depth' => '1', 'title_li' => '', 'exclude=90'); wp_list_pages($arguments); ?> </ul> </div>
I am facing the problem that the exclude argument does not work, the page wie the corresponding ID is nevertheless displayed in the list.
EDIT: Resolved, had to be:
<?php $arguments = array('depth' => '1', 'title_li' => '', 'exclude' => '269'); wp_list_pages($arguments); ?>
- The topic ‘wp_list_pages exclude does not work’ is closed to new replies.