thank you
idially i would like to only add : <?php echo $children; ?>
but
this is my mark up:
<ul class=”menu”>
<?php if (function_exists(‘wswwpx_fold_page_list’)) : ?>
<?php wswwpx_fold_page_list(‘sort_column=menu_order&title_li=’); ?>
<?php else : ?>
<?php wp_list_pages(); ?>
<?php endif; ?>
<?php echo $children; ?>
—
the sub pages e.g. <?php echo $children; ?>
come up to be within the ul of the main pages even tho i put it put site the main ul tag; basically i need to have the sub page display in another diver below the main one with a scroll bar
any help please?
There are solutions on the page I suggested.
i have tried them. but what they do is create a duplicate of the sub pages, one in the the main pages ul and another below. Basicaly they duplicate the sub pages into 2 different position.
What happens is the when i try each of the codes given as an example, it echoes to me teice the sub pages, one in the main menu and one in another div.
<ul class=”menu”>
<?php if (function_exists(‘wswwpx_fold_page_list’)) : ?>
<?php wswwpx_fold_page_list(‘sort_column=menu_order&title_li=’); ?>
<?php else : ?>
<?php wp_list_pages(); ?>
<?php endif; ?>
<?php echo $children; ?>
</div>
this will give me a list of the main menu with a sub menu displayed below the main page which has a sub page..but below the ul it will repeat the sub page once again for some reason; i did try all the solution there; it just seem to repreat the sub page echo for some reason.. i need to be able to place the WHATEVER SECOND ( OR IN FUTRE THIRD) below the main ul
the solution i have taken was to set display:none in the first sub ul it creates within the main page sul; this si fine as now it only shows the ul i want, but it is not accesible not a good mark up