WordPress.org

Ready to get started?Download WordPress

Forums

List Pages Shortcode
[resolved] sort_order not defined (3 posts)

  1. jwheck
    Member
    Posted 3 years ago #

    Problem: Using sort_order="DESC" in the shortcode does not work.

    Workaround:
    Edit list-pages-shortcode.php. You will need to add sort_order to the default array.

    Replace lines 27 and 28 change to:

    27      'exclude_tree'=> '',
    28      'sort_order'=> ''
    29   );

    http://wordpress.org/extend/plugins/list-pages-shortcode/

  2. Ben Huson
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for pointing that out although I just missed it for the 1.1 release. Will update it in the next release.

  3. Ben Huson
    Member
    Plugin Author

    Posted 3 years ago #

    Here's the changeset for the next release:

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic