jQuery Categories List Widget
[resolved] Feature Request: be open to the category archive i'm on (4 posts)

  1. This is a cool idea for a widget - thanks.

    My only gripe is that after drilling down into some categories and their children, and clicking on a category - I wish that the widget would already be expanded as much as needed be so the current category would be displayed (and probably indicated as the current category).

    Additionally, it would be nice if when viewing a post that's in category foo, this widget would be expanded far enough to see category foo as well.

    Does that make sense? Thoughts?


  2. Miguel Useche
    Plugin Author

    Posted 5 years ago #

    Yes, i know. I tried to do it but it was difficult, maybe in the next release i'll be able to implement it.

  3. paulyss10
    Posted 5 years ago #

    En IE no funciona. Cuando hago clic para que se expanda, no sucede nada.
    En Chrome y Firefox funciona perfecto.

  4. johnji
    Posted 5 years ago #

    I would also really like to see the current category / post enabled for this plugin, together with custom classes per category & post.

    This may not be the most elegant way of doing it, but the following tweak enables each list item to have a unique class:

    Line 142 in jquery-catagories-list.php


    $html .= '<li class="jcl_category"';


    $html .= '<li class="'.$category->cat_name.' jcl_category"';

    Likewise to add classes to parent category <ul> tags:

    Line 155 in jquery-catagories-list.php


    $html .= '<ul>'.$child_html.'</ul>';


    $html .= '<ul class="'.$category->cat_name.'">'.$child_html.'</ul>';

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Categories List Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic