virtualMachinewordpress

Install plugins

Using WP-CLI

To install a plugin using WP-CLI, follow the steps below:

  • Log in to the server console. Learn how to connect to the server through SSH.

  • Search for the plugin you wish to install using the command below. This example assumes you wish to install the WP Maintenance Mode plugin.

      $ sudo wp plugin search "WP Maintenance Mode"
    

    The result is a table like the one below:

      Success: Showing 10 of 350 plugins.
      +-----------------------------------------+-------------------------------------------+--------+
      | name                                    | slug                                      | rating |
      +-----------------------------------------+-------------------------------------------+--------+
      | WP Maintenance Mode                     | wp-maintenance-mode                       | 84     |
      | ...                                     | ...                                       | ...    |
    
  • Once you know the plugin slug, install it using the command below:

      $ sudo wp plugin install wp-maintenance-mode
    

For more information about installing and managing plugins, such as Full API Access, refer to the WordPress documentation. If you run into issues related to server or application permissions, refer to our troubleshooting guide for permission errors.

Using the WordPress administration panel

You can install any plugin or theme from the WordPress administration panel. Follow these steps:

  • Browse to the “Plugins” menu page and then click the “Add New” button to search for plugins.

    WordPress plugin installation

  • Once you find a plugin, click the “Install Now” button to download and install it.

    WordPress plugin installation

  • Once the plugin is installed, activate it from the “Install Plugins” page. You can also deactivate it later if you wish.

    WordPress plugin installation

Last modification April 5, 2023