• Resolved WandererLLC

    (@wandererllc)


    Seems like the “sort_column” option is only honored within a parent/child relationship. I am trying to list all of my pages which have different parent/child relationships. The entire list is not sorted as a whole, but only within a parent relationship. In other words, one set of pages sharing a common parent is sorted. The others are not.

    http://ww.wp.xz.cn/extend/plugins/list-pages-shortcode/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ben Huson

    (@husobj)

    Could you post an example to illustrate exact what is sorted and what is not, and what you think it should be doing?

    Thanks 🙂

    Thread Starter WandererLLC

    (@wandererllc)

    Sure thing. Here’s a sample list of pages (can’t make this an image attachment so I’ll just paste in a subset of what the plugin outputs):


    Quality
    Questioning
    Strategy
    Success
    Talent
    Thinking
    Time Management
    Truth
    Winning
    Wisdom
    Work <– Here is the end of a set of pages with a particular parent page. They are correctly ordered.
    Change Management <– Another set of pages with a different parent page starts here. They are ordered too.
    Entrepreneur
    Financial Management
    Leadership
    Management
    People Management
    Sales & Marketing

    What I expect is that all pages are ordered within the set, not broken down into individual groups based on parent page and ordered by those subsets. There’s no indication of this parent page relationship in the short code.

    Thanks!

    Plugin Author Ben Huson

    (@husobj)

    I’m guessing that it is being output as a structured list, pages with their subpages.

    Try adding depth=”-1″ to your shortcode. This should force the list to show all the pages in a non-structured format. Let me know if that works.

    If not please provide the exact shortcode you are using.

    Thread Starter WandererLLC

    (@wandererllc)

    Good guess! That works. Thanks for the suggestion and the support. 😀

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: List Pages Shortcode] "sort_column" not working’ is closed to new replies.