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

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.

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.