An open API service indexing awesome lists of open source software.

https://github.com/humanmade/amf-wordpress

Use another WordPress site as source for your media library.
https://github.com/humanmade/amf-wordpress

Last synced: about 1 year ago
JSON representation

Use another WordPress site as source for your media library.

Awesome Lists containing this project

README

          

# AMF WordPress

Use another WordPress site as source for your media library.

## About

AMF WordPress uses the [Asset Manager Framework](https://github.com/humanmade/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](https://getcomposer.org):

```
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.