humanmade/amf-wordpress

Use another WordPress site as source for your media library.

Installs: 122 788

Dependents: 2

Suggesters: 0

Security: 0

Stars: 41

Watchers: 22

Forks: 6

Type:wordpress-plugin

0.3.0 2021-09-27 14:26 UTC

This package is auto-updated.

Last update: 2024-11-27 21:52:43 UTC


README

Use another WordPress site as source for your media library.

About

AMF WordPress uses the Asset Manager Framework (AMF) to use another WordPress site as media source for your WordPress installation. This allows you to insert images anywhere they're used in WordPress, including the Block Editor, featured images, and the Customiser, all from the same media library.

Installation

Install with Composer:

composer require humanmade/amf-wordpress

Settings

URL

By default the plugin will use the current site's media library. This should be changed at Settings > Media by providing the URL of the WordPress site you'd like to use as media source. This could be an external WordPress site or another site in a multisite installation.

This URL can also be defined at the code level in the AMF_WORDPRESS_URL constant. If this constant is defined then the setting on the Media settings screen will not be shown.

License

Copyright 2021 Human Made. Licensed under the GPLv3 or later.