Support » Plugin: Kwayy HTML Sitemap » Doesn't show pages in alphabetical order

  • I wanted to give this a 5 because it is so easy and I am able to exclude pages I don’t want included. However, it lists the pages in a random order. I looked in the support forums and found one person who reported that the php is set to sort on menu order but that isn’t the order show either in my site. That forum post did have a solution, though and the developer indicated he would add the sort option to it. But that was in July 2013 and it hasn’t been updated.

    Meanwhile, if you want to sort alphabetically, edit the
    kwayy-html-sitemap.php file and edit Line 417 to replace ‘menu_order’ with ‘title’ for the $orderby, as shown:

    function kwayyhs_get_post_by_post_type( $postype , $title , $orderby = ‘title’ , $order = ‘ASC’ ){

  • The topic ‘Doesn't show pages in alphabetical order’ is closed to new replies.