Oscura is an elegant and modern block-based theme especially designed for photographers, artists and all other creatives who want to showcase their work. See the Oscura theme in action at alexandrebuffet.fr/themes/oscura.
Download the latest stable release: oscura-1.0.2.zip
You can download the latest stable release of Oscura using the link above. Alternatively, install the entire repository for development purposes:
- Set up a local WordPress development environment, I recommend using Local.
- Ensure you are using WordPress 5.9 or version 5.9+ with the Gutenberg plugin active.
- Clone or download this repository into the
/wp-content/themes/
directory of your new WordPress instance. - In the WordPress admin, use the Appearance > Themes screen to activate Oscura.
- Gutenberg plugin (latest)
- WordPress 5.9+
- PHP 5.6+
- License: GPLv2 or later
Coding Standards
Oscura adheres to the WordPress coding standards. To optionally test standards locally, you will need Node.js and Composer on your machine. Run npm install && composer install
to install test-specific development dependencies. The following commands are available:
npm run lint:css
Lints and autofixes where possible the CSScomposer run analyze [filename.php]
Statically analyzes PHP for bugscomposer run lint
Checks all PHP files for syntax errorscomposer run standards:check
Checks all PHP files for standards errorscomposer run standards:fix
Attempts to automatically fix all PHP standards errors