• tviggy

    (@tviggy)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ulfben

    (@ulfben)

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

    Thread Starter tviggy

    (@tviggy)

    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.

    Plugin Author ulfben

    (@ulfben)

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

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

    Thread Starter tviggy

    (@tviggy)

    yes!!!!!!!!!

    Sorry, I do not speak English.

    Plugin Author ulfben

    (@ulfben)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP-dTree] add argument wpdt_list_categories()’ is closed to new replies.