[wp-hackers] Script to add testdata to WordPress via commandline?

scribu mail at scribu.net
Fri Aug 10 03:49:04 UTC 2012


You can create posts programatically using wp-cli [1]:

many at a time:

$ wp generate posts --count=1000

or one by one:

$ wp post create --post_type='page' --post_title='Some Page'

[1] https://github.com/wp-cli/wp-cli

-- 
http://scribu.net


More information about the wp-hackers mailing list