WordPress.org

Forums

Fold Page List: subpages displaying incorrectly (7 posts)

  1. LockeAG4
    Member
    Posted 6 years ago #

    Hi everyone, I have a problem with displaying subpages well in the sidebar I use FOLD PAGE LIST to display in drop down the subpages, but i have the problem tha the subpages appearing a top of the main page link. I mean one on top of the other...

    this is the code i use:

    <div id="sidebar">
    		<ul>
            	<li><a href="index.php">Home</a></li>
    			<?php $g_page_id = $wp_query->get_queried_object_id();
    $ancestorIDs = _wswwpx_page_get_ancestor_ids($g_page_id);
    $grandParent = $ancestorIDs[0];
    wswwpx_fold_page_list("title_li=&sort_column=menu_order&child_of=".$grandParent);
    ?>
    		</ul>
    	</div>

    DOes this has to do with the css??

    hope somebody can give me a hand.

    Thanks

  2. LockeAG4
    Member
    Posted 6 years ago #

    there is no way to put a <p> </p> between child?? or something like that !

  3. LockeAG4
    Member
    Posted 6 years ago #

    any idea? sorry , but I don't get with the solution.

  4. iridiax
    Member
    Posted 6 years ago #

    I'd check with the plugin site's support forum since it appears to be an issue with the plugin's functionality.

  5. LockeAG4
    Member
    Posted 6 years ago #

    Thanks I think you're right. let's see if the developers can give me a Hand , and I will came back to post the solution if the is one.

    see'a

  6. Kalessin
    Member
    Posted 6 years ago #

    It sounds like a CSS problem. Any chance of a link?

    In the meantime, try putting this at the end of your CSS:

    #sidebar li {
    	margin-bottom: 2em;
    }

    and see if that makes a difference.

  7. LockeAG4
    Member
    Posted 6 years ago #

    oh! thanks very much that really do the job, but it separates the parent pages to much, but also check this out :

    We should have:

    Productos
    |_ Pisos Flotantes
    |_ Pisos Laminados
    Galeria

    But it show like:

    Productos
    |_ Pisos Flotantes
    Galeria
    |_ Pisos Laminados

    I think now is problem of the code I'm using for the Fold Pages List isn't?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic