WordPress.org

Ready to get started?Download WordPress

Forums

Kwayy HTML Sitemap
Doesn't show pages in alphabetical order (1 post)

4 stars
  1. sleeplessinDC
    Member
    Posted 4 months ago #

    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' ){

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.