Skip to content

Instantly share code, notes, and snippets.

@xyzulu
Last active March 31, 2025 23:52
Show Gist options
  • Save xyzulu/3f3f808b15f43eadd7a41657ce14ae60 to your computer and use it in GitHub Desktop.
Save xyzulu/3f3f808b15f43eadd7a41657ce14ae60 to your computer and use it in GitHub Desktop.

Revisions

  1. xyzulu revised this gist Mar 31, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup-wordpress.sh
    Original file line number Diff line number Diff line change
    @@ -8,5 +8,5 @@ wp option set blog_public 0
    wp theme install hello-elementor
    wp theme install https://github.com/elementor/hello-theme-child/archive/refs/heads/master.zip --activate
    wp plugin install postmark-approved-wordpress-plugin --activate
    wp plugin install mainwp --activate
    wp plugin install mainwp-child --activate
    wp plugin install litespeed-cache --activate
  2. xyzulu revised this gist Feb 24, 2025. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion setup-wordpress.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    #!/bin/bash

    wp site switch-language en_au
    wp language core install en_AU
    wp site switch-language en_AU
    wp rewrite structure '/%postname%/'
    wp option update timezone_string "Australia/Sydney"
    wp option set blog_public 0
  3. xyzulu revised this gist Feb 24, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup-wordpress.sh
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    #!/bin/bash

    wp site switch-language en_AU
    wp site switch-language en_au
    wp rewrite structure '/%postname%/'
    wp option update timezone_string "Australia/Sydney"
    wp option set blog_public 0
    wp theme install hello-elementor
    wp theme install https://github.com/elementor/hello-theme-child.git -- activate
    wp theme install https://github.com/elementor/hello-theme-child/archive/refs/heads/master.zip --activate
    wp plugin install postmark-approved-wordpress-plugin --activate
    wp plugin install mainwp --activate
    wp plugin install litespeed-cache --activate
  4. xyzulu revised this gist Feb 24, 2025. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion setup-wordpress.sh
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,7 @@ wp rewrite structure '/%postname%/'
    wp option update timezone_string "Australia/Sydney"
    wp option set blog_public 0
    wp theme install hello-elementor
    wp theme install https://github.com/elementor/hello-theme-child.git -- activate
    wp theme install https://github.com/elementor/hello-theme-child.git -- activate
    wp plugin install postmark-approved-wordpress-plugin --activate
    wp plugin install mainwp --activate
    wp plugin install litespeed-cache --activate
  5. xyzulu created this gist Feb 24, 2025.
    8 changes: 8 additions & 0 deletions setup-wordpress.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    #!/bin/bash

    wp site switch-language en_AU
    wp rewrite structure '/%postname%/'
    wp option update timezone_string "Australia/Sydney"
    wp option set blog_public 0
    wp theme install hello-elementor
    wp theme install https://github.com/elementor/hello-theme-child.git -- activate