Displaying Sub Pages in Two Columns
-
I am creating a community directory with pages.
Currently I have 26 subpages (and sub sub pages) displaying within their parent page.
However I want to display this array within a table. I have tried splitting it into two using the exclude and include functions but I cannot get it to work.
`
<table>
<tr>
<td width=”40%”>-
<?php
wp_list_pages(‘exclude=124,125,126,127,128,129,130,131,132,80,54,102,55,83,66’ ); ?></td>
<td width=”40%”>-
<?php
wp_list_pages(‘include=124,125,126,127,128,129,130,131,132&title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?></td>
</tr>
</table>Someone’s help in what is going wrong with this code would be greatly appreciated. I should note that I can get the arrays to display just not within the table.
Thanks so much
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Displaying Sub Pages in Two Columns’ is closed to new replies.