WordPress.org

Ready to get started?Download WordPress

Forums

WP-dTree
add argument wpdt_list_categories() (6 posts)

  1. tviggy
    Member
    Posted 2 years ago #

    Sorry, I do not speak English.
    Would be nice to introduce the argument "current_category" as implemented in wp_list_categories (). In your function wpdt_list_categories (showselection = 1 & listposts = 0) showselection lost when the transition to the post.

    http://wordpress.org/extend/plugins/wp-dtree-30/

  2. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    So what you're saying is a new argument has been added to the wp_list_categories? I'll have a look at it.

  3. tviggy
    Member
    Posted 2 years ago #

    I'll try to explain with an example.

    Sets the function wpdt_list_categories (showselection = 1 & listposts = 0) as the 100 posts on the blog to display in the list makes no sense to then turn off listposts = 0. To navigate showselection = 1 connect to a visitor of the blog understand where and in what category it belongs. So if I go to the post as the list is minimized, and the visitor does not understand where and in what category it belongs. You can implement in your function, so that when a visitor goes to the post list is not folded, and remained open and the category assigned a class = "nodeSel" belongs to the post.

  4. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    I'm sorry. That doesn't parse at all.

    Are you saying you want to highlight the current category, even if listposts is off?

  5. tviggy
    Member
    Posted 2 years ago #

    yes!!!!!!!!!

    Sorry, I do not speak English.

  6. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    I can have a look at that, but I'm pretty sure it won't work (due to how WP-dTree parses the javascript source output for the current node).

    Anyway; added to my list. Check the changelog when the next version is released.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic