Dynamically generating tabs

I’m currently building a hobby site based on a generatepress theme and I’ve been customizing the site by creating elements in GP using generateblocks, greenshift blocks, ACF pro and some custom blocks. Right now I’m trying to create an element with dynamic tabs, so what I’m trying to do is for each related custom field I would like a tab generated with data from that field. For example, if I had a teacher and they had 3 subjects assigned to them in a custom field, 3 tabs would be generated each with the subject name in the grade. Another teacher might only have 2 subjects and would only need 2 tabs generated.

Before I sink time into custom coding that out, has anybody found a good solution for a similar situation? It wasn’t clear the pro versions of generate blocks or greenshift could do that (seemed unlikely) and just looking for a spot to get me started.

Thanks!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer