WordPress.org

Ready to get started?Download WordPress

Forums

Collapsing Categories
Javascript error (1 post)

  1. 3dolab
    Member
    Posted 2 years ago #

    Hello, in latest version (2.0.1) I had to replace

    echo "addExpandCollapse('widget-collapscat-$number-top'," .
              "'$expandSym', '$collapseSym', " . $accordion . ")";

    with

    if (!empty($accordion))
          echo "addExpandCollapse('widget-collapscat-$number-top'," .
              "'$expandSym', '$collapseSym', " . $accordion . ")";
    else
          echo "addExpandCollapse('widget-collapscat-$number-top'," .
              "'$expandSym', '$collapseSym')";

    in file collapscat.php
    in order to avoid a javascript error because of the missing parameter

    http://wordpress.org/extend/plugins/collapsing-categories/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic