Adding multiple arguments in WP List Pages?
-
Hi! I’m wondering how one goes about putting multiple arguments into one WP List Pages tag.
The basic tag:
<?php wp_list_pages(‘arguments’); ?>I need to figure out how to simultaneously use page depth (which my site currently has) and also exclude a page. I’ve tried various combinations and can’t figure out how to use them both at once.
The two I need to combine are:
<?php wp_list_pages(‘depth=-1&title_li=’); ?>
<?php wp_list_pages(‘exclude=47&title_li=’ ); ?>I tried putting both inside the parentheses, keeping both in parentheses and separating them by a semicolon, and various other things, but nothing I tried worked. ??
I hope I’m not overlooking the answer somewhere. I searched for several minutes and couldn’t find another post about it. Someone help! ??
Heather
37report.net
- The topic ‘Adding multiple arguments in WP List Pages?’ is closed to new replies.