Ready to get started?Download WordPress


Fold Page List Plugin - Separate parent and child into different Lists (1 post)

  1. malinky
    Posted 6 years ago #

    Hi there,

    I am using the Fold Page List plugin (http://www.webspaceworks.com/resources/wordpress/30/) and have run into a problem I can't solve with my meager PHP skills so I need your help please.

    I am trying to separate the parent nav and the child nav into different lists. My navigation is horizontal and whenever you click on a parent with children the parent item expands to the width of the children below...hence my need to put them in different ULs.

    Here's what I have so far in my header.php

    <ul class="nav">
    <?php wswwpx_fold_page_list ('sort_column=menu_order&title_li&parent='.$arglist); ?>
    <ul class="subnav">
    <?php wswwpx_fold_page_list ('sort_column=menu_order&title_li&child_of='.$arglist); ?>

    Any help would be greatly appreciated.


Topic Closed

This topic has been closed to new replies.

About this Topic