Skip to content

A5hleyRich/wp-cli-unsplash-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

WP-CLI Unsplash Command

Download and import images from Unsplash into your Media Library. Useful for generating demo data.

Usage

Basic usage, which will import 10 images:

wp unsplash

count=<number>

Import 100 images:

wp unsplash --count=100

media_date=<yyyy-mm-dd|random>

Import images with a specific attachment date:

wp unsplash --media_date=2016-01-25

Import images with random attachment dates:

wp unsplash --media_date=random

media_dimensions=<dimensions>

Import images with specific dimensions:

wp unsplash --media_dimensions=1080x720

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages