Unsplash Random Image
WordPress Gutenberg block that will get a random photo from Unsplash. Requires an Unsplash API access key.
★ 0stars
0forks
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/itsamoreh/unsplash-random-image/archive/refs/heads/master.zipA WordPress Gutenberg block that will get a random photo from Unsplash. Requires an Unsplash API access key.
This block was created using wds-block-starter.
Installing
Clone the repo into your WordPress plugins directory.
cd wp-content/plugins
git clone https://github.com/itsamoreh/unsplash-random-image.git
Install dependencies.
npm install
Build for production or watch files for changes.
npm run build
npm start
Built With
- wds-block-starter - Gutenberg block starter project
- unsplash-js - JavaScript wrapper for the Unsplash API
License
This project is licensed under the GPL-3.0 License - see the COPYING file for details.