Imports Helsinki Design System styles, assets and blocks into Wordpress. Applies integrations to various plugins.
Recommended to be used with Helsinki Theme.
- None
- Complianz – GDPR/CCPA Cookie Consent: Overrides Cookiebanner templates.
- Contact Form 7: Filters form output to apply HDS styles and behaviour, and loads custom scripts to extend form behaviour.
- WP-Matomo Integration: Filters returns for some functions.
- WP RSS Aggregator
- Yoast SEO
Integrations can be found within /integrations
. Script extending behaviour can be found within /src
.
Upload plugin to site and activate it. If used alongside Helsinki Theme all features will be activated automatically upon plugin activation.
With other themes, you will have to specify theme supports to enable desired features:
add_theme_support(
'hds-wp',
array(
'assets' => array(
'scripts' => true,
'styles' => true,
'fonts' => true,
'favicon' => true,
),
'widgets' => true,
'blocks' => true,
'cpt' => array(
'faq' => true,
),
)
);
(S)CSS and JS source files are stored in /src
. Asset complitation is done with Gulp and the processed files can be found in /assets
.
Install dependencies with npm install
. Build assets with gulp scripts
and gulp styles
or watch changes with gulp watch
.
Raise issues for found bugs or development ideas. Feel free to send pull requests for bugfixes and new or improved features.
This plugin is licensed under GPLv3. See LICENSE for the full license text.
The Helsinki Grotesk font license is domain specific. All subdomains of hel.fi are licensed to use the font. If you will be using this plugin on a site that is not a subdomain of hel.fi, you will need to purchase a license for the font. See Camelot Typefaces for more information.