WordPress.org

Ready to get started?Download WordPress

Forums

Hierarchical Pages Widget
[resolved] Formatting broken on widget (6 posts)

  1. mattblackham
    Member
    Posted 2 years ago #

    function widget does not correctly call $args['after_widget']. This means there is no closing </div> tag, causing formatting of all subsequent content to be incorrect. It is easy to fix and the plug-in is fine otherwise. Looks like a minor typo in version 1.1 (v1.0.3 is fine).

    http://wordpress.org/extend/plugins/hierarchical-pages/

  2. wlindley
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you; this is corrected in version 1.2.

    There were also some errors in handling arguments for Pages; these are corrected as well.

  3. mattblackham
    Member
    Posted 2 years ago #

    Works for me. Thanks.

  4. w_barnes
    Member
    Posted 2 years ago #

    I just downloaded 1.2 and it looks like the typo is still there:

    print "</ul>{$after_widget}";

  5. wlindley
    Member
    Plugin Author

    Posted 2 years ago #

    Line 205 in version 1.2 is:

    print "</ul>{$args['after_widget']}";

    Are you sure the header in the active hierpage.php shows version 1.2?

  6. w_barnes
    Member
    Posted 2 years ago #

    As a sanity check, I downloaded it again and unpacked into a local folder. It does say version 1.2 and I found the typo on line 441 within the class for the Categories widget.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic