humanmade/amf-unsplash

Bring Unsplash directly into your WordPress media library.

Installs: 3 357

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 25

Forks: 2

Open Issues: 2

Type:wordpress-plugin

0.3.0 2021-09-27 14:31 UTC

This package is auto-updated.

Last update: 2024-05-08 13:09:34 UTC


README

Bring Unsplash directly into your media library.

About

AMF Unsplash uses the Asset Manager Framework to directly integrate Unsplash into your media library. This allows you to insert images anywhere they're used in WordPress, including Gutenberg, featured images, and the Customiser.

All the interesting functionality is provided by AMF, and this plugin essentially acts as a demo of how to implement the framework.

Installation

Install via Composer:

composer require humanmade/amf-unsplash

Alternatively, download this plugin and Asset Manager Framework, and activate both.

API Keys

Unsplash doesn't allow bundling API keys in open source software unfortunately, so you'll need to register your own application.

(This isn't a great user experience, sorry!)

Once you have an API key, you can set it in Settings > Media.

Alternatively, you can set the AMFUNSPLASH_API_KEY constant to your API key. This allows network admins or hosts to set the API key automatically.

License

Copyright 2020 Human Made. Licensed under the GPLv2 or later.