This is sunflower, a WordPress-Theme for the german green party. It is based on the starter theme _s.
This repo is for development only, it is not usable out of the box within WordPress. See Installation -> Setup for the required steps to start developing.
There is also a chat-channel (access for green party members only) https://chatbegruenung.de/channel/sunflower-wordpress
sunflower
requires the following dependencies:
sunflowers
theme folder:
composer install
npm install
npm run compile:css
npm run composer-lib
npm run copy-node-modules
npm run build
sunflower
in WordPress-Backendcomposer lint:wpcs
: checks all PHP files against PHP Coding Standards.composer lint:php
: checks all PHP files for syntax errors.composer make-pot
: generates a .pot file in the languages/
directory.vendor/bin/rector
: run rector with provided rector.php
.vendor/bin/ecs
: run ecs with provided ecs.php
.npm run compile:css
: compiles SASS files to css.npm run compile:rtl
: generates an RTL stylesheet.npm run watch
: watches all SASS files and recompiles them to css when they change.npm run lint:scss
: checks all SASS files against CSS Coding Standards.npm run lint:js
: checks all JavaScript files against JavaScript Coding Standards.npm run bundle
: generates a .zip archive for distribution, excluding development and system files.npm run start
: start watcher for js-filesnpm run build
: build javascriptsee Makefile for tasks
see Documentation in mkdocs/docs for more details
see Documentation in mkdocs/docs for more details