Walker class that converts WP nav menus to amp-accordion in amp-sidebar This small code/plugin only works if you have official AMP Wordpress plugin installed. Make sure to change the nav menu name in amp-sidebar.php Make sure to import style-child.php into amp templates.