WordPress init like a PRO
--self-update
- Update the WPI from github to latest version
-
setup
workflow
- Set project workflow: bedrock; cdk-comp/bedrock; cdkrock; wp-cli;wordpress
- Set custom WordPress version to installenv
- Enable .env file initshell
- Enable before_install/after_install shell scripts runningplugins
- Enable plugins installtheme
- Enable theme installchild_theme
- Enable child theme install/generatesettings
- Enable WordPress setupextra
- Enable extra scripts running for license etc
-
env
db_name
- Database namedb_user
- Database userdb_pass
- Database passwordapp_host
- Database hostdb_prefix
- Database prefix
-
shell
before_install
- Install custom scripts via urlafter_install
- Install custom scripts via url
-
plugins_single
name
- Plugin name in: WordPress repository; wpackagist repository; git repository;package
- Install plugin via: wp-cli; wpackagist; wp-pro-club;ver
- Set plugin versionzip
- Set URL for plugin zip distbranch
- (only for package=composer) Set git branch, thever
must be dev-master
-
theme
name
- Theme name in: WordPress repository; wpackagist repository; git repository;rename
- Rename the theme - supported only with composer_bitbucket, remove if not used;package
- Install theme via: wp-cli; wpackagist; composer_bitbucket;ver
- Set theme versionbranch
- Set theme git branch, thever
must be dev-masterzip
- Set URL for theme zip dist
-
child-theme
generate_scaffold
- Generate child theme via wp cli scaffoldname
- Child theme name in: WordPress repository; wpackagist repository; git repository;package
- Install theme via: wp-cli; wpackagist; composer_bitbucket;ver
- Set theme versionzip
- Set URL for theme zip dist
-
settings - for more details take a look - WP-CLI
comment_moderation
comment_registration
default_comment_status
default_pingback_flag
default_ping_status
blogdescription
date_format
time_format
timezone_string
start_of_week
large_size_h
large_size_w
medium_size_h
medium_size_w
thumbnail_crop
thumbnail_size_h
thumbnail_size_w
convert_smilies
uploads_use_yearmonth_folders
permalink_structure
blog_public
frontpage_name
page_on_front
show_on_front
admin_email
admin_password
admin_user
first_name
last_name