Method 1: Edit wp-config.php (if admin is limited)

  1. Log in to cPanel → File Manager.
  2. Go to your WordPress root folder (public_html or your site folder).
  3. Open wp-config.php for editing.
  4. Make sure there is no line disabling plugin installation, like:

    define('DISALLOW_FILE_MODS', true);
    • If this line exists, delete it or set it to false:
    define('DISALLOW_FILE_MODS', false);
  5. Save the file. Now WordPress Admin users should be able to add plugins.

Method 2: Give Admin Access via Database

  1. In cPanel → phpMyAdmin, open your WordPress database.
  2. Go to the table: wp_usermeta.
  3. Find your user ID and look for the key wp_capabilities.
  4. Make sure it includes:

    a:1:{s:13:"administrator";b:1;}
  5. This ensures the account is full Admin and can install plugins.