No internet connection
  1. Home
  2. Support

How to install, activate and run the latest version of plugin from WP-CLI

By Leon Stafford @leonstafford2018-12-05 12:59:05.131Z

details below

  • 1 replies
  1. Leon Stafford @leonstafford2018-12-05 12:59:12.242Z2018-12-05 18:00:27.615Z
    • remove previous version, while preserving settings.
    • wp plugin deactivate --uninstall wordpress-static-html-plugin
    • install latest development version
    • wp plugin install https://github.com/leonstafford/wp2static/archive/master.zip
    • rename folder for correct plugin slug
    • mv wp-content/plugins/wp2static wp-content/plugins/wordpress-static-html-plugin
    • activate the renamed plugin
    • wp plugin activate wordpress-static-html-plugin
    • generate an archive
    • wp wp2static generate
    • test deploy
    • wp wp2static deploy --test
    • deploy (to folder "/mystaticsite/" if no existing options set)
    • wp wp2static deploy