Yep, thanks I’ve been doing that, but I would love to be able to customize the widget php itself. Working with utility classes and also would like to modify some markup (for example adding subtitle etc).
I’m a using dynamic widget in my template to output the TOC and adding some markup and custom js (slideover on mobile etc.), but then I’ll be unable to make use of some options like ‘hide if less than x number of topics etc. Perhaps there is a function I can grab for that, but all in all having templates is always the easiest way.