How to install WordPress plugins and themes on localhost?

Posted by w3diy - 1 year ago

You can add the following code to your WP-config.php to let WordPress use the direct Filesystem Method (FS_METHOD).

This will easily let you install and update plugins and themes from the repository on your local server.

define('FS_METHOD', 'direct’);