Support » Plugin: Page-list » pagelist_ext sorting by given page_id

  • kiezkickerde

    (@kiezkicker)


    Hi,

    I would like to sort the output of pagelist_ext by the page_IDs which I provide by include – option but can´t find the nessessary sort_column for it.

    Currently my shortcode was the following:
    [pagelist_ext limit_content="400" image_width="250" image_height="200" show_image="1" class="page-list-cols-2" depth="0" include="59719,59735,25,26,27,28,29,58399"]

    Which option do I have to chose for the “sort_column”-option?
    It seemed like I can´t sort it by the order which I set in the “include” option?

    Could you please provide such an option if it does not exist? Or – if it exist – which would it be?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webvitalii

    (@webvitaly)

    Oh, that is weird.
    I would expect the order to be the same as in include list.
    The pagelist_ext shortcode is based on the WordPress core get_pages() function and you may ask that question on the general WordPress forum if you want.

    kiezkickerde

    (@kiezkicker)

    I would expect the order to be the same as in include list.

    Yes, just like me, I would expect the same. 😉

    But for real it wasn´t sorted as given in include list, even if I set it to “Sort by numeric Page ID”. In this case the first item would be ID 25 (or 59735 if I chose opposite order), but not the post which I added at first (with ID 59719).

    Did you see any chance to implement such a function so the items would be outputted as requested, in the given (by ID) order?

    Plugin Author webvitalii

    (@webvitaly)

    I am thinking about implementing this feature in future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pagelist_ext sorting by given page_id’ is closed to new replies.