AMF Unsplash
Bring Unsplash directly into your media library.
★ 5stars
7.6kcomposer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/humanmade/amf-unsplash/archive/refs/heads/master.zipAlso on Packagist as humanmade/amf-unsplash:
composer require humanmade/amf-unsplashFrom the readme
AMF Unsplash
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:
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 AMFUNSPLASHAPIKEY 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.
Read the full README on GitHub →