Hi, after switching to 2.8, wp_list_pages('exclude=2,3,50...') is not working any more. I can use the include command which works fine.
When I try to use the exclude command, all the pages get shown.
Has anyone come across this or got a fix?
Thanks
Hi, after switching to 2.8, wp_list_pages('exclude=2,3,50...') is not working any more. I can use the include command which works fine.
When I try to use the exclude command, all the pages get shown.
Has anyone come across this or got a fix?
Thanks
that works fine on several of my sites
your theme must have a problem doing it
The odd thing is, it works on the footer, just not anywhere else so I have to use the include statement. The site is http://www.sandbanksproperty.co.uk -
Any ideas?
(thanks for your help btw! :) )
Could it be a problem that I'm calling it several times on the same page?
Why don't you try just using it once on a page and see what happens?
Apparently i noticed that it doesn't work on my site too. Happened after the wordpress update to 2.8.1.
Same here -
<?php wp_list_pages('exclude=4690&title_li=&depth=3&sort_column=menu_order'); ?>
does NOT exclude page ID 4690. PageID 4690 appears in the HTML (but doesn't appear on the screen because it is the last element in a div which does not display overflow).
This has been the case since WP 2.8.1 for me; I can not see how the theme I'm using (StudioPRess' "Magazine 1.0") could possibly cause it.
Cheers
GT
MarketMentat
Having same problem.
wp_list_pages('exclude=23,54,2');
any solutions?
This topic has been closed to new replies.