Directory / plugin

Kenter2909 Embed Viewer Fixer

v1.1.6 · by kenter2909

Finds Embed Any Document shortcodes that use local uploads and adds the browser viewer attribute without changing the document URL.

View on WordPress.org

About this plugin

Kenter2909 Embed Viewer Fixer is a small administrative maintenance tool for WordPress sites using the [embeddoc] shortcode.

It finds shortcode content containing download="all"] for documents stored under /wp-content/uploads/ and changes only that exact fragment to:

download="all" viewer="browser"]

The plugin does not replace document URLs and does not modify unrelated shortcode attributes.

The document URL host can be configured in the plugin screen. By default, the current WordPress site’s host is used.

Features

  • Counts posts requiring a change.
  • Counts exact shortcode occurrences requiring a change.
  • Shows the WordPress posts table used by the installation.
  • Lets an administrator review the number of changes before running the update.
  • Requires a nonce and an additional confirmation before changing the database.
  • Verifies the result after the update.
  • Does not contact external services.
  • Does not create custom database tables.

Plugin tags