I have added a couple of pages to our WordPress installation and want to exlude these pages from appearing in the pages list. So as usual, I’ve added the pages to the wp_list_pages section of code in the header.php but they are still appearing.
I’ve not done anything different than I usually would and I don’t know why they are still appearing.
The page IDs are 11389 and 11432. Below is the code.
<?php wp_list_pages(‘title_li=&depth=1&exclude=573,823,842,872,1167,1960,2070,2133,3550,3723,4133,4516,4956,4957,8899,8928,11389,11432’); ?>
- The topic ‘wp_list_pages exclude stopped working’ is closed to new replies.