I think that would require quite a bit of custom codes unfortunately.
The plugin route is probably your best bet. Codes are codes, doesn’t really matter if they are in a plugin form or function form. The plugin you linked have really good review so I’d just use that.