Excluding Multiple Pages with (exclude_tree)
-
I am using the wp_list_pages function in (Version 2.8.4) and having issues excluding multiple post IDs. I read documentation and ‘fixes’ all over the place for 2.7 and tried a couple that supposedly sove the problem in 2.8, to no avail. At this point I can only exclude one ID at a time using the exclude_tree argument.
Anyone else have this problem or know of a fix?
My Code:
$args = array( 'depth' => 0, 'show_date' => "", 'date_format' => get_option('date_format'), 'child_of' => 0, 'exclude' => "", 'include' => "", 'title_li' => __(''), 'echo' => 1, 'authors' => "", 'sort_column' => 'menu_order, post_title', 'link_before' => "", 'link_after' => "", 'exclude_tree' => 31,33,18,74,); wp_list_pages( $args );
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Excluding Multiple Pages with (exclude_tree)’ is closed to new replies.