Download the PHP package greenpeace/planet4-child-theme-nordic without Composer

On this page you can find all versions of the php package greenpeace/planet4-child-theme-nordic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package planet4-child-theme-nordic

c# Greenpeace Planet 4 Nordic Child Theme

The Planet 4 Nordic Child Theme is a child theme built for the Planet 4 project. It customizes the parent theme by adding unique features and styles specific to the Nordic region. This child theme customisez the Planet4 Master Theme following this Design System.

Table of Contents

Prerequisites

Make sure you have the following tools installed on your machine:

Installation

To install and set up the theme locally, follow these steps:

  1. Clone the repository:

  2. Navigate to the theme directory:

  3. Install the npm dependencies:

    Run npm install to install all necessary Node.js packages:

  4. Install Composer dependencies:

    Run composer install to install PHP dependencies (like coding standards):

  5. Activate the theme:

    • Upload the child theme to your WordPress /wp-content/themes directory.
    • Activate the theme from the WordPress admin dashboard (Appearance > Themes).

Usage

Once installed, the theme can be customized and extended as per the needs of the Nordic campaign. The child theme inherits most of its functionality from the parent theme, but you can add custom styles, templates, and features as needed.

To modify or add features to the theme, navigate to the planet4-nordic-child-theme directory, make changes to the appropriate files, and use the provided npm scripts for development.

Development

Available npm Scripts

Composer Scripts for PHP Code Standards

File Structure

Here's a brief overview of the key directories and files in the project:

Customization

To override parent theme styles, place your custom SCSS files in the assets/src/scss/ directory. These files are automatically compiled and output to assets/build/ when running the build scripts.

Coding Standards

We follow WordPress Coding Standards to ensure clean, readable, and maintainable code.

The coding standards are enforced through phpcs (PHP CodeSniffer) and can be automatically corrected using phpcbf. Composer handles both tools.

To check for coding standard violations:

To automatically fix issues:

Contributing

We welcome contributions! To contribute to this project:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feat/my-feature).
  3. Make your changes.
  4. Push your branch (git push origin feat/my-feature).
  5. Open a Pull Request.

Please ensure that your code follows the project's coding standards. Use npm run lint:css for CSS and composer run sniffs for PHP.

License

This project is licensed under the GNU License. See the LICENSE file for details.


All versions of planet4-child-theme-nordic with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package greenpeace/planet4-child-theme-nordic contains the following files

Loading the files please wait ....