Post walker menu (Bootstrap Affix)

I’m interested in adding a post walker menu/outline, similar to what roots 101 page has, as well as what bootstrap itself has on their website. It looks like those menus are static - is there anything out there that allows you to basically parse all the H1 and H2 tags and create a 2-tier fixed nav menu that selects various rows as the user scrolls through the page? I’m having a hard time finding relevant examples.

Look at the bootstrap affix documentation as well as creating a custom walker class. Honestly, you’ll probably need to build a custom function if you’re trying to parse any content coming out of the WP WYSIWYG editor. I might try using an ACF Repeater or something like that if you need it to be dynamic…

Either way, this isn’t directly Roots related so I’m closing up.