Hi! Unfortunately, you can’t make it work automatically if the links to child pages are not in the menu tree since there is no way the script to know the page relations in that case.
So you are left with the option to manually set the “current” class to the appropriate menu items on child pages. You will need to check server-side which are the parent items of the current page and output the “current” class accordingly.