https://github.com/itsamoreh/unsplash-random-image
WordPress Gutenberg block that will get a random photo from Unsplash. Requires an Unsplash API access key.
https://github.com/itsamoreh/unsplash-random-image
gutenberg-blocks unsplash-api wordpress wordpress-plugin
Last synced: about 2 months ago
JSON representation
WordPress Gutenberg block that will get a random photo from Unsplash. Requires an Unsplash API access key.
- Host: GitHub
- URL: https://github.com/itsamoreh/unsplash-random-image
- Owner: itsamoreh
- License: gpl-3.0
- Created: 2020-07-28T14:19:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T20:43:31.000Z (over 3 years ago)
- Last Synced: 2025-07-21T05:42:15.501Z (12 months ago)
- Topics: gutenberg-blocks, unsplash-api, wordpress, wordpress-plugin
- Language: JavaScript
- Homepage:
- Size: 1.87 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Unsplash Random Image
A 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](https://github.com/WebDevStudios/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](https://github.com/WebDevStudios/wds-block-starter) - Gutenberg block starter project
* [unsplash-js](https://github.com/unsplash/unsplash-js) - JavaScript wrapper for the Unsplash API
## License
This project is licensed under the GPL-3.0 License - see the [COPYING](COPYING) file for details.