How to display a submenu as a popup when clicking a button? October 21, 2022 by Tarik Billa Make a button and a div on the page template Make the button toggle the visibility of the div When the div is toggled to be visible, have it populated by a WP_Query that fills it with menu items.