- Download the latest release
.zipfile from GitHub Releases - In WordPress admin panel, go to Appearance → Themes → Add New
- Click Upload Theme and select the downloaded
.zipfile - Click Install Now and then Activate
The release package already includes all necessary dependencies pre-installed.
- Download the latest release
.zipfile from GitHub Releases - Extract the zip file
- Upload the extracted
argon-themefolder to your WordPress installation at:/wp-content/themes/ - In WordPress admin panel, go to Appearance → Themes
- Find Argon theme and click Activate
If you're installing directly from the GitHub repository (not from a release), you need to install PHP dependencies using Composer:
- PHP 7.4 or higher
- Composer (PHP dependency manager)
-
Clone the repository:
cd /wp-content/themes/ git clone https://github.com/solstice23/argon-theme.git argon cd argon
-
Install PHP dependencies:
composer install --no-dev --optimize-autoloader
This will download and install all required PHP packages into the
vendor/directory. -
Activate the theme:
- In WordPress admin panel, go to Appearance → Themes
- Find Argon theme and click Activate
- The
vendor/directory is NOT included in the Git repository (it's in.gitignore) - You MUST run
composer installafter cloning from source - Release packages already have the
vendor/directory pre-installed
This error occurs when the vendor/ directory is missing or incomplete. To fix:
-
Make sure you have Composer installed:
composer --version
-
Navigate to the theme directory:
cd /path/to/wordpress/wp-content/themes/argon -
Install dependencies:
composer install --no-dev --optimize-autoloader
-
Verify the installation:
php -r "require 'vendor/autoload.php'; echo 'Success!\n';"
If you encounter authentication errors during composer install:
- Composer will try to download from cache first
- If cache is available, the installation should complete successfully
- If not, you may need to create a GitHub personal access token:
- Visit: https://github.com/settings/tokens
- Create a token with
public_repoaccess - Run:
composer config -g github-oauth.github.com YOUR_TOKEN
When creating a release package:
- Clone the repository
- Run
composer install --no-dev --optimize-autoloader - Remove development files (
.git,.github, etc.) - Create a zip file of the entire theme directory including the
vendor/folder
The vendor/ directory must be included in release packages so end users don't need to run Composer.
- WordPress 5.0 or higher
- PHP 7.4 or higher
- MySQL 5.6 or higher / MariaDB 10.1 or higher
- Documentation: https://argon-docs.solstice23.top/
- Issues: https://github.com/solstice23/argon-theme/issues
- Discussions: https://github.com/solstice23/argon-theme/discussions