• Resolved graphicfighter

    (@graphicfighter)


    This might be just me but when activated with the default theme (Kubrick), there’s an empty root category appearing at the top of the category tree which moves forward all the supposed root categories as if they were sub ones.

    If I change the original container <div id=”sidebar”> of sidebar.php to <ul id=”sidebar”> instead, it seems to fix the issue but then it messes up all the original css (meant for a <div> code) and since I am not the author of the theme, I am not skilled/knowledgeable enough to fix it. 😡

    Also, under the classic theme, the empty root line does not appear but the root categories are still shifted right as if they were sub categories.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Not seeing that, at least on a 2.3.2 new installation. Maybe you have a blank category that for some reason is acting as a ‘category parent’. Might use phpMyAdmin and look at your terms tables to look at the term_taxonomy table and the parent column on your categories.

    Thread Starter graphicfighter

    (@graphicfighter)

    Thanks for your answer Michael. There shouldn’t be a blank category or I would be able to see it under manage > categories and I also don’t get why if I change the sidebar container to <ul> instead of <div> the bug goes away… but I took a look at phpMyAdmin and there, it counted 47 categories when I have only 46 under manage > categories. I’m a complete newbie in database stuffs so could you tell me please how am I supposed to fix that? ^^;

    I missed that you were using the folding category widget. If you just use the WordPress Categories Widget with an unmodified, WordPress Default 1.6 theme, do you see the problem.

    Thread Starter graphicfighter

    (@graphicfighter)

    The default WP categories widget works just fine with me. It doesn’t show an “extra” blank category unlike the folding category widget. :/

    Thread Starter graphicfighter

    (@graphicfighter)

    Fixed the glitch. In the wp23_folding_cats.php file (plugin directory), you have to change this (line 27 to 29):

    <ul id='folding_category_list'>
    <li><?php lonewolf_FoldingCategoryList(); ?></li>
    </ul>

    into this:

    <?php lonewolf_FoldingCategoryList(); ?>

    In other words, the <ul> and <li> tags were creating a conflict with the structure of the default theme sidebar.

    Sorry about this glitch.

    I’m starting to regret using recursion now, it causes far too many problems than it fixed… oh well. Many thanks for pointing it out. I have fixed the bug and will issue an update shortly (0.4.4)

    Lonewolf

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Pugin Folding Category Widget] bug with default & classic theme’ is closed to new replies.