GenerateBlocks “Tab” Tutorial
My buddy Jonathan over at Permaslug recently posted a video on how to create a “tabs” component using GeneratePress & GenerateBlocks.
I was super stoked to have this (and it works great!), because I’m often in need of this kind of solution.
However, his tutorial used jQuery and I was curious to know if it could be done with vanilla JS (and if it could, would that improve the performance).
A couple hours of messing around, and I got it figured out!
Just so I don’t forget, and in case it’s helpful to anyone else, I put together a written tutorial over on GenerateTweaks to walk you through the steps.