• The plugin didn’t work in version 2.0.3 that we are using because th wp_enqueue_script function does not exist in this version – so please change the minimum version required to reflect this (the codex page does not say when this function was added)

    Anyway after manually adding the javascript to the theme’s head element the plugin almost worked fine – links didn’t take our folder structure into account.

    works:
    joeblogs.com</dir specified in post or page>
    doesn’t work:
    allblogs.com/blogs/joebloggs</dir specified in post of page>

    fix is to replace line 231 to
    $files .= '<li class="wplf-file"><a href="'.get_bloginfo('wpurl').$item['link'].'">'.$itemName.'</a>'.

    The hyperlink created for the item didn’t have the complete blog url in it it assumed the blog was installed in the root of the domain.

    http://wordpress.org/extend/plugins/wp-list-files/

  • The topic ‘[Plugin: WP List Files] Fix: links don’t work when blog not installed in root of site’ is closed to new replies.