Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/milindmore22/amp-clean-mega-menu/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
The demo plugin to remove the child form elements of amp-mega-menu.
Notes
- Install and Check Tweak if needed.
Plugin Structure
.
├── sanitizers
│ ├── class-sanitizer.php
└── amp-clean-mega-menu.php
Sanitizers
The plugin uses amp_content_sanitizers filter to add custom sanitizers, we have added a two examples which add simple toggle for menu and search using amp-state and amp-bind.
Need a feature in plugin?
Feel free to create a issue and will add more examples. https://amp-wp.org/