Forums

List Pages Shortcode
[resolved] "sort_column" not working (5 posts)

  1. WandererLLC
    Member
    Posted 10 months ago #

    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://wordpress.org/extend/plugins/list-pages-shortcode/

  2. Ben Huson
    Member
    Posted 10 months ago #

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

    Thanks :)

  3. WandererLLC
    Member
    Posted 10 months ago #

    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!

  4. Ben Huson
    Member
    Posted 9 months ago #

    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.

  5. WandererLLC
    Member
    Posted 9 months ago #

    Good guess! That works. Thanks for the suggestion and the support. :-D

Reply

You must log in to post.

About this Plugin

About this Topic