I have running WP-dTree 3.4.1 on WP 2.6.1
To sort posts within a category by title instead of date, I found
and changed the lines 74 and 88 in wp-dtree_cat-functions.php as shown:
//.” ORDER BY “.$wpdb->posts.”.post_date DESC”;
.” ORDER BY “.$wpdb->posts.”.post_title ASC”;
The I deactivated the plugin an activated the plugin.
But within a category, the posts remain sorted by date. But I want to have them sorted by title alphabetically.
- The topic ‘WP-dTree: sort posts within a category’ is closed to new replies.