List Subpages Update

I ran into another problem with the List Subpages Plugin.

Basically when you uploaded a file to a page the plugin "thinks" there's subpages underneath... while I don't fully understand why this was, I piddled around some more in the code, and by modifying line 42, came up with this workaround (new code is in red):


if ( $subpages > 0 && wp_list_pages("child_of=$parent_id&echo=0"))


Hope this helps somebody. (Maybe I'm just talking to myself? haha) ;)

One Response to “List Subpages Update”

  1. KMFNJ » Blog Archive » List Subpages Says:

    [...] List Subpages Update [...]

Leave a Reply

You must be logged in to post a comment.