WP Manifestindependent plugin directory
manifest / integrations / amp-pdf-embedder-compat

AMP compatibility for PDF Embedder.

Adds AMP Support/ Compatibility for WordPress PDF Embedder plugin.

★ 0stars

Install

Download source zip No release zip yet

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/rtcamp/amp-pdf-embedder-compat/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

AMP support/compatibility for WordPress PDF Embedder Plugin by Lever Technology LLC.

The plugin de-register custom javascripts and replaced embedder link with amp-google-document-embed

Plugin Structure

.
├── css
│   ├── amp-style.css
├── sanitizers
│   ├── class-sanitizer.php
└── amp-pdf-embedder-compat.php

Sanitizers

The plugin uses amp_content_sanitizers filter to add custom sanitizers, the sanitizer search and replaced link with class pdfemb-viewer with amp-google-document-embed component.

Need a feature in plugin?

Feel free to create a issue and will add more examples.