How to install WordPress plugins


WordPress plugin installation using wp-cli

Before diving into details I would like to clarify that using wp-cli for extension installation is method for more advanced users because it requires at least basic SSH skills and of course SSH service enabled on the server. Apart of this wp-cli needs also to be enabled on the server, so if you are not sure whether wp-cli exists, just get in touch with your support team and ask for assistance.

In my case I have wp-cli installed and enabled on the server level, so I am ready to start working with it. My first steps is login to the account using SSH and navigate to wp-content/plugins folder of my WordPress instance. Then upon typing ls –la command, which will list the content of that folder I see the existing plugins. Currently I have the following ones:

Jetpack and Akismet

Following the course of this tutorial I will install WP Super Cache   using wp-cli. To do so I just type this command:

wp plugin install wp-super-cache

which will generate the following output:

Installing WP Super Cache (1.4.7)

Downloading install package from https://downloads.wordpress.org/plugin/wp-super-cache.1.4.7.zip…

Unpacking the package…

Installing the plugin…

Plugin installed successfully.

Success: Translations updates are not needed for the ‘English (US)’ locale.

Then upon typing ls –la command I see WP Super Cache in the list. At this point the plugin is installed, but not activated. To turn it on I need to execute this command wp plugin activate wp-super-cache. Its output is placed below:

# wp plugin activate wp-super-cache

Success: Plugin ‘wp-super-cache’ activated. 

Now the plugin is installed and activated. To configure it to my needs I need to go wp-admin section -> Settings -> WP Super Cache and apply the necessary changes.

Of course wp-cli comes with great manual page. If you are not sure that the correct command for plugin installation is, just type wp plugin and you will see the following output:

usage: wp plugin activate [<plugin>…] [–all] [–network]

    wp plugin deactivate [<plugin>…] [–uninstall] [–all] [–network]

   wp plugin delete <plugin>…

   wp plugin get <plugin> [–field=<field>] [–fields=<fields>] [–format=<format>]

   wp plugin install <plugin|zip|url>… [–version=<version>] [–force] [–activate] [–activate-network]

   or: wp plugin is-installed <plugin>

   or: wp plugin list [–<field>=<value>] [–field=<field>] [–fields=<fields>] [–format=<format>]

   or: wp plugin path [<plugin>] [–dir]

   or: wp plugin search <search> [–per-page=<per-page>] [–field=<field>] [–fields=<fields>] [–format=<format>]

   or: wp plugin status [<plugin>]

   or: wp plugin toggle <plugin>… [–network]

   or: wp plugin uninstall <plugin>… [–deactivate] [–skip-delete]

   or: wp plugin update [<plugin>…] [–all] [–format=<format>] [–version=<version>] [–dry-run]

See ‘wp help plugin <command>’ for more information on a specific command.

The same applies for the rest of the command, for example wp theme.

Summary
Install wordpress plugins - detailed installation tutorial
Article Name
Install wordpress plugins - detailed installation tutorial
Description
WordPress plugin installation guide. Standard and advanced plugin installation techniques and practices. Manual plugin installation. Advanced installation using wp-cli
Author
Publisher Name
wppotion


Do you want to share your opinion?

Your email address will not be published. Required fields are marked *


*

Рязане и пробиване на бетон Сканиране на бетон Безвзривно разрушаване на бетон
We are not industry specific. We are WordPress specific. We work with everyone to help find solutions for the troubles.
If you show us the problem you are experiencing, we will show you how to fix it. It is that simple.

Easy WordPress automation

Switching from human control to automation is an essential step in increasing the efficiency of website development or maintenance. During the past decade, WordPress advanced a lot and became a fully functional Content Management System. Thanks to some of its internal features a large portion of its functionality could be easily automated. The following articles give ideas on how to apply successful automation:

Speed up WordPress

Speed is an important matter when it comes to website success. In order to appear on the first page except for applying the well-known SEO techniques, you will also have to pay special attention to the performance of your website. We have reviewed a number of options and prepared articles for the most important aspects that include database management and dealing with different types of content:

Extend WordPress features

Extending the standard WordPress functionality by building new features was always a hot topic. Developing themes that provide next-level User Experience could also be described similarly. Thanks to the established standards WordPress developers could create standardized extensions that can be downloaded from the official repository. In the following articles, we described some simple techniques that would help start developing your own extensions:

wppotion - powered by persistence and passion