Skip to content

Instantly share code, notes, and snippets.

@finalwebsites
Created December 1, 2025 09:46
Show Gist options
  • Select an option

  • Save finalwebsites/387a0e8848967e96c116647bc88eaaee to your computer and use it in GitHub Desktop.

Select an option

Save finalwebsites/387a0e8848967e96c116647bc88eaaee to your computer and use it in GitHub Desktop.
Cleavr Quick Script - Configure WordPress after site installation
user={{ serverUser }}
site={{ siteName }}
cd /home/$user/$site/current/
wp language core install nl_NL
wp site switch-language nl_NL
wp theme install hello-elementor
wp theme install https://github.com/finalwebsites/hello-elementor-child/archive/refs/heads/master.zip
wp theme activate hello-elementor-child
wp theme delete twentytwentyfour twentytwentythree twentytwentytwo
wp plugin install elementor wp-seopress google-site-kit simple-smtp-by-maileroo ninjafirewall cleavr-clear-cache worker honeypot all-in-one-wp-migration
wp plugin activate elementor wp-seopress simple-smtp-by-maileroo ninjafirewall cleavr-clear-cache worker honeypot elementor-pro
wp plugin delete hello akismet
wp option update timezone_string "Europe/Amsterdam";
wp option update blogdescription "";
wp option update date_format "d/m/Y";
wp option update time_format "H:i";
wp option update default_pingback_flag "";
wp option update default_ping_status "";
wp option update default_comment_status "";
wp option update permalink_structure "/%postname%/";
wp option update blog_public 0;
@finalwebsites
Copy link
Author

I use this quick script after every new installation of a WordPress website in Cleavr. What does the script do?

  • Setting up the Dutch version of WordPress
  • Installing the default and child themes
  • Installing the plugins I use for each website
  • Various default settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment