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-remove-noscript/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.
AMP Remove duplicate image with noscript fallback.
The Plugin removes duplicate child elements on AMP pages created because of noscript fallback Support topic https://wordpress.org/support/topic/duplicate-image-in-amp-wordpress-plugin/
Plugin Structure
.
├── sanitizers
│ ├── class-sanitizer.php
└── amp-remove-noscript.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.