Open randomfreeform opened 11 years ago
Any thoughts here??
Yeah. If you were to write a F4 menu, but not using the WP core menu. The nav-bar supports the data-reveal call, but WP core doesn't. You could take the generated version from your front-end site, copy the HTML source, and put it back in your header.php with the custom menu and reveal call. Or, just look at the F4 docs and write one yourself.
It's not necessarily the best way to do it for a WP site or theme in scale, but entirely doable.
Thanks postphotos!.. I ended up just putting my custom 'menu' at the top of my page (since there was only 2 pages anyways)... I thought about what you suggestted also but apreciate the tips! R
(Wanted to ask this at the help forum but it's down.) Does anyone know how to attach a Reveal 'a href' trigger to a menu item?
Menus in WP seem to only allow a URL link, but I want to trigger this code when one clicks the menu item:
<a href="#" data-reveal-id="myModal"></a>
thanks for any tips!! R