• Resolved itweb

    (@itweb)


    Howdy,

    I am using this plugin with lots of success but there is one thing that bugs me and could use some improvement.

    Config shows option for sorting the top node, being an archive, category, page or link, but it doesn’t do that with posts.

    I wish that where it says list posts, there would be also some sort options and sort by name in particular.

    Since my website isn’t based on chronological posts and rather on logical/series posts, it would be very helpful to have that implemented.

    Is there any quick fix for that? I tried to look for a particular line in a php file, but couldn’t really find it.

    Any help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter itweb

    (@itweb)

    Anyone?

    It shouldn’t be that hard. Just trying to get the posts to be sorted by name, not date in a tree view.

    Thread Starter itweb

    (@itweb)

    Edit:

    Enough whining, here is the fix:

    wp-dtree_cat-functions.php

    line 73 and 85:
    change: .” ORDER BY “.$wpdb->posts.”.post_date DESC”;
    to: .” ORDER BY “.$wpdb->posts.”.post_title ASC”;

    Archives ‘sort order’ and ‘order by’ is options in the development version. Please help me out with testing it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP-dTree – sorting posts by name, not date/id’ is closed to new replies.