You can use SSH to do just about anything you can do in the WordPress admin panel. For instance you can use it to install and activate plugins. For ResellerPanel (LiquidNet) semi-dedicated hosting, the command line would be:
- Log into hosting account with kiTTY or puTTY
- Change directory to your domain you want to upload to:
cd /home/www/example.com/(If WordPress in installed in a subdirectory you need to include that subdirectory, like
/home/www/example.com/blog/ - Use the following command line to install and activate the plugins you want fro the WP repository:
wp plugin install child-theme-configurator classic-editor classic-visual-editor-options classic-widgets wp-dark-mode dracula-dark-mode all-in-one-wp-security-and-firewall wordfence gtranslate insert-php wp-coder shortcoder wp-rollback -wp-super-cache --activate
If you want to install but not activate, you just remove “–activate” from the end of the command”.
The name of the plugin you see is called the slug. It’s the same as the folder it will be installed in. If you don’t already hae the plugin installed somewhere, you can find the slug by looking at the URL of the plugin in the plugin repository. So ACF’s slug is advanced-custom-fields because it’s URL is https://wordpress.org/plugins/advanced-custom-fields/
Same principle for themes…
wp theme install kadence blocksy generatepres