WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_pages "include" parameter causing formatting issues, nesting problem (1 post)

  1. llamaman
    Member
    Posted 5 years ago #

    Hello!
    I am using the Suckerfish drop-down menu (http://pixopoint.com/suckerfish-wordpress-plugin/), and have encountered a peculiar problem.

    For some reason, the children stopped nesting all of a sudden. I installed the "Page Links To" plugin recently, and then reordered the pages using the "My Page Order" WordPress plugins. I don't know if those plugins had anything do do with the issue, but I uninstalled them and doing so did nothing to correct the problem.

    Here's what SHOULD be happening:
    Parent
    > Child
    > Child
    Parent
    Parent
    > Child

    And here is what is happening:
    Parent
    Child
    Child
    Parent
    Parent
    Child

    I am using the following function: <?php wp_list_pages('title_li=&include=78,86,88,90,92,94,96,98,100,102,104,106,123,125,229'); ?>

    When I use <?php wp_list_pages('title_li='); ?>, everything works properly!

    ALSO, when I substitute "exclude" for "include" in the wp_list_pages parameters, the menu formats properly (but the links aren't what I want). So, is this a problem related to the "include" parameter??

    Any thoughts?

    The webpage is http://gbssa.org/website/learn-more

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic