• Resolved b-717

    (@b-717)


    Hello,

    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
    https://www.ads-software.com/support/topic/202502
    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.

    Please help.

    Greetings,
    Josef

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter b-717

    (@b-717)

    Hello,

    I have running WP 2.6.1, and I updated WP-dTree to 3.5
    The categories are well sorted alphabetically, but within a category, the posts are sorted by date. To get them sorted alphabetically, I changed the WP-dTree settings to:

    List posts by Title Ascending
    and updated settings (and deactivated and activated the plugin).

    Bad result:
    within a category, the posts remain sorted by date.

    (good result: within the monthly archives, the posts are sorted bay date).

    What can I do? Which php-file must I change in what manner?

    Please help / thx for your help
    Josef

    Thread Starter b-717

    (@b-717)

    Problem solved as follows:
    WP-dTree 3.5 deactivated. Instead of this plugin: https://codex.www.ads-software.com/Alphabetizing_Posts

    Josef

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-dTree: sort posts within a category’ is closed to new replies.