Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Tim D

    (@tim-d)

    Plugin Author Tony Archambeau

    (@funnycat)

    Hello Tim,
    sorry for the late reply. I just release a new version of the plugin with a functionality to sort the result by different way.
    Hope it will help you to get exactly what you what.
    Sincerely,
    Tony

    Hi there,

    I see that as of v1.5.6 we can sort lists with:

    [wp_sitemap_page only=”page” sort=”menu_order”] To display the pages sorted by menu order. Possible values are: ‘post_title’, ‘menu_order’, ‘post_date’, ‘post_modified’, ‘ID’, ‘post_author’, ‘post_name’.

    Now i’d like to use post_title to sort alphabetically, but when i do, the list goes from Z-A (top-bottom). How can this be reversed?

    Thanks, Ed’

    Well you can add
    $args[‘order’] = “ASC”;

    just under every $args[‘orderby’]
    in wp-sitemap-page.php file

    according to me its on line 637,679,805,908,1149

    Hope it helps

    Thanks

    Bingo, that works nicely.

    not sure what i missed as i CMD-F’d my way through all $args afaik

    Thanks for the reply! Cheers, Ed’

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Alphabetical order, Custom Posts ie projects, separated by category’ is closed to new replies.