WordPress.org

Forums

[Plugin: Auto Anchor List] Widget fails in IE 6 & 7 (2 posts)

  1. dbohea
    Member
    Posted 5 years ago #

    The widget outputs a list that isn't wrapped in ul or ol tags. Firefox can make sense of this but IE6 and IE7 aren't as keen. Surely this could be fixed quite easily?

    Tried to insert the PHP function directly into my sidebar but it throws an error :(

    Neither of these seem to work:

    output_content_links();

    output_sidebar_links();

    Any suggestions?
    http://wordpress.org/extend/plugins/auto-anchor-links/

  2. dbohea
    Member
    Posted 5 years ago #

    Took a look at the plugin code and have fixed IE list issues which means the widget now behaves itself. Still can't get the php function to behave but don't need it now that the widget is all good. Here's the fix:

    In auto-anchor-list.php, replace the widget() function with this amended version:

    http://pastebin.com/fa392cea

    Then in mwm-all-class.php, replace the output_sidebar_links() function with this amended version:

    http://pastebin.com/f39fd61ee

    If you opt for no widget title, a rogue closing h2 tag gets left behind for some reason - doesn't seem to cause a problem though.

    Can we see these fixes and more get implemented in a future version (soon)? I'm not gonna be able to auto update this plugin now without over writing my amended code.

Topic Closed

This topic has been closed to new replies.

About this Topic