AMP Open Link in New tab.
Open all the links into new tab on AMP page.
by milindmore22 · github.com/milindmore22/amp-link-new-tab · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/milindmore22/amp-link-new-tab/archive/refs/heads/main.zipAMP Open all links into new tab.
Plugin just opens all the links into new tab.
Notes
- this guys needs it I don't know why?
Plugin Structure
.
├── sanitizers
│ ├── class-sanitizer.php
└── amp-skeleton-compat.php
Sanitizers
The plugin uses amp_content_sanitizers filter to add custom sanitizers, to add attribute to links
Need a feature in plugin?
Feel free to create a issue and will add more examples.