PHPackages                             greenpeace/planet4-child-theme-nordic - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. greenpeace/planet4-child-theme-nordic

ActiveWordpress-theme[Utility &amp; Helpers](/categories/utility)

greenpeace/planet4-child-theme-nordic
=====================================

Planet4 Child theme for GP Nordic

v1.47.13(7mo ago)34.8k[1 PRs](https://github.com/greenpeace/planet4-child-theme-nordic/pulls)GPL-3.0+SCSSCI failing

Since May 15Pushed 6d ago8 watchersCompare

[ Source](https://github.com/greenpeace/planet4-child-theme-nordic)[ Packagist](https://packagist.org/packages/greenpeace/planet4-child-theme-nordic)[ RSS](/packages/greenpeace-planet4-child-theme-nordic/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (9)Versions (117)Used By (0)

c# Greenpeace Planet 4 Nordic Child Theme

The **Planet 4 Nordic Child Theme** is a child theme built for the [Planet 4](https://www.greenpeace.org) 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](https://github.com/greenpeace/planet4-master-theme) following this [Design System](https://zeroheight.com/05f6e9516/p/76cd7b-planet-4-design-system).

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Development](#development)
- [File Structure](#file-structure)
- [Coding Standards](#coding-standards)
- [Contributing](#contributing)
- [License](#license)

Prerequisites
-------------

[](#prerequisites)

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

- [Node.js](https://nodejs.org/en/) (v16 recommended)
- [npm](https://www.npmjs.com/) (comes with Node.js)
- [Composer](https://getcomposer.org/) (for PHP dependencies and coding standards)
- [WordPress](https://wordpress.org/) setup (parent theme and WordPress installation)

Installation
------------

[](#installation)

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

1. **Clone the repository**:

    ```
    git clone https://github.com/greenpeace/planet4-child-theme-nordic.git
    ```
2. **Navigate to the theme directory**:

    ```
    cd planet4-nordic-child-theme
    ```
3. **Install the npm dependencies**:

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

    ```
    npm install
    ```
4. **Install Composer dependencies**:

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

    ```
    composer install
    ```
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
-----

[](#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
-----------

[](#development)

### Available npm Scripts

[](#available-npm-scripts)

- **Build CSS**: Compiles the SCSS files into a minified CSS file.

    ```
    npm run build:css
    ```
- **Build**: Compiles all assets for production using Webpack and outputs them to the `build/` directory.

    ```
    npm run build
    ```
- **Start**: Launches a development server with live reloading and builds assets in development mode.

    ```
    npm run start
    ```
- **Lint CSS**: Lints the SCSS files to ensure coding standards are followed.

    ```
    npm run lint:css
    ```

### Composer Scripts for PHP Code Standards

[](#composer-scripts-for-php-code-standards)

- **Fixes**: Automatically fixes PHP code style issues.

    ```
    composer run fixes
    ```
- **Sniffs**: Runs PHP CodeSniffer (`phpcs`) to check PHP files against coding standards.

    ```
    composer run sniffs
    ```

File Structure
--------------

[](#file-structure)

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

```
planet4-nordic-child-theme/
├── assets/             # Compiled theme assets (CSS, JS)
│   ├── build/          # Output directory for compiled and minified production assets
│   └── src/            # Source SCSS and JS files
├── includes/           # Theme-specific PHP includes
├── page-templates/     # Theme-specific Twig templates
├── vendor/             # Composer dependencies
├── functions.php       # Main theme functions
├── webpack.config.js   # Webpack configuration for asset bundling
├── style.css           # Main stylesheet (import parent theme styles)
├── package.json        # Node.js dependencies and npm scripts
├── composer.json       # PHP dependencies and Composer scripts
└── README.md           # Project documentation (this file)

```

### Customization

[](#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

[](#coding-standards)

We follow [WordPress Coding Standards](https://developer.wordpress.org/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:

```
composer run sniffs
```

To automatically fix issues:

```
composer run fixes
```

Contributing
------------

[](#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
-------

[](#license)

This project is licensed under the [GNU License](LICENSE). See the LICENSE file for details.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 99.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~57 days

Total

62

Last Release

215d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/73b0188184085e27029f0917c76dbc21e87c206c01909c3e931d53adf0bb3b3c?d=identicon)[sagarsdeshmukh](/maintainers/sagarsdeshmukh)

![](https://avatars.githubusercontent.com/u/939357?v=4)[Nikos Roussos](/maintainers/comzeradd)[@comzeradd](https://github.com/comzeradd)

![](https://avatars.githubusercontent.com/u/71187640?v=4)[Planet 4 Bot](/maintainers/planet-4)[@planet-4](https://github.com/planet-4)

![](https://avatars.githubusercontent.com/u/20765672?v=4)[skoleva](/maintainers/skoleva)[@skoleva](https://github.com/skoleva)

---

Top Contributors

[![elncetoo](https://avatars.githubusercontent.com/u/16122851?v=4)](https://github.com/elncetoo "elncetoo (544 commits)")[![comzeradd](https://avatars.githubusercontent.com/u/939357?v=4)](https://github.com/comzeradd "comzeradd (2 commits)")[![lithrel](https://avatars.githubusercontent.com/u/617346?v=4)](https://github.com/lithrel "lithrel (2 commits)")

---

Tags

wordpress-theme

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/greenpeace-planet4-child-theme-nordic/health.svg)

```
[![Health](https://phpackages.com/badges/greenpeace-planet4-child-theme-nordic/health.svg)](https://phpackages.com/packages/greenpeace-planet4-child-theme-nordic)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
