greenpeace / planet4-child-theme-switzerland
Planet 4 Wordpress项目的瑞士网站子主题
Requires (Dev)
- wp-coding-standards/wpcs: ^3.0
- dev-master
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.156
- v1.0.155
- v1.0.154
- v1.0.152
- v1.0.151
- v1.0.150
- v1.0.149
- v1.0.148
- v1.0.147
- v1.0.146
- v1.0.145
- v1.0.144
- v1.0.143
- v1.0.142
- v1.0.141
- v1.0.140
- v1.0.139
- v1.0.138
- v1.0.137
- v1.0.136
- v1.0.135
- v1.0.134
- v1.0.133
- v1.0.132
- v1.0.131
- v1.0.130
- v1.0.129
- v1.0.128
- v1.0.127
- v1.0.126
- v1.0.125
- v1.0.124
- v1.0.123
- v1.0.122
- v1.0.121
- v1.0.120
- v1.0.119
- v1.0.118
- v1.0.117
- v1.0.116
- v1.0.115
- v1.0.114
- v1.0.113
- v1.0.112
- v1.0.111
- v1.0.110
- v1.0.109
- v1.0.108
- v1.0.107
- v1.0.106
- v1.0.105
- v1.0.104
- v1.0.103
- v1.0.102
- v1.0.101
- v1.0.100
- v1.0.99
- v1.0.98
- v1.0.97
- v1.0.96
- v1.0.95
- v1.0.94
- v1.0.93
- v1.0.92
- v1.0.91
- v1.0.90
- v1.0.89
- v1.0.88
- v1.0.87
- v1.0.86
- v1.0.85
- v1.0.84
- v1.0.83
- v1.0.82
- v1.0.81
- v1.0.80
- v1.0.79
- v1.0.77
- v1.0.76
- v1.0.75
- v1.0.74
- v1.0.73
- v1.0.72
- v1.0.71
- v1.0.70
- v1.0.69
- v1.0.68
- v1.0.67
- v1.0.66
- v1.0.65
- v1.0.64
- v1.0.63
- v1.0.62
- v1.0.61
- v1.0.60
- v1.0.59
- v1.0.58
- v1.0.57
- v1.0.56
- v1.0.55
- v1.0.54
- v1.0.53
- v1.0.52
- v1.0.51
- v1.0.50
- v1.0.49
- v1.0.48
- v1.0.47
- v1.0.46
- v1.0.45
- v1.0.44
- v1.0.43
- v1.0.42
- v1.0.41
- v1.0.40
- v1.0.38
- v1.0.37
- v1.0.36
- v1.0.34
- v1.0.33
- v1.0.32
- v1.0.31
- v1.0.30
- v1.0.29
- v1.0.28
- v1.0.27
- v1.0.26
- v1.0.25
- v1.0.24
- v1.0.23
- v1.0.22
- v1.0.20
- v1.0.19
- v1.0.18
- v1.0.17
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.1.39
- v0.1.35
- v0.1.34
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.29
- v0.1.28
- 0.1.27
- v0.1.26
- 0.1.25
- v0.1.24
- v0.1.23
- 0.1.22
- v0.1.21
- v0.1.20
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- 0.1.4
- v0.1.3
- v0.1.1
- v0.1
- dev-develop
- dev-release/v2.0.6
- dev-release/v2.0.5
- dev-feature/P4-52-improve-form-alignments
- dev-feature/P4-50-form-validation-message
- dev-feature/P4-46-fix-header-in-print
- dev-release/v2.0.4
- dev-feature/P4-49-gravity-pdf
- dev-release/v2.0.3
- dev-feature/P4-41-action-boxout-in-pages
- dev-feature/P4-31-filter-html-tags-in-forms
- dev-feature/P4-38-resize-post-header-image
- dev-feature/P4-36-remove-categories-from-search
- dev-feature/P4-40-show-related-post-types
- dev-release/v2.0.2
- dev-feature/P4-18-fix-editor-column-styles
- dev-feature/P4-21-404-page-styles
- dev-feature/P4-26-group-block-styles
- dev-release/v2.0.1
- dev-feature/675-migrate-form-event
- dev-release/v2.0.0
- dev-feature/663-visual-identity-update
- dev-feature/673-fix-header-images
- dev-feature/672-diable-auto-translate-wpml
- dev-feature/671-sendgrid-sending-address
- dev-feature/669-event-data
- dev-feature/668-enable-comments
- dev-feature/667-tag-renamed
- dev-feature/666-fix-sentry-issues
- dev-feature/664-links-color-bugfix
- dev-feature/657-image-choice-styles
- dev-feature/660-visual-identity-changes
- dev-feature/644-remove-inxmail-api
- dev-feature/656-remove-sextant-setting
- dev-feature/661-hubspot-feed-fix
- dev-feature/658-form-link-color
This package is auto-updated.
Last update: 2024-09-28 08:04:42 UTC
README
Planet 4 Wordpress项目的子主题。相关主主题的代码位于
https://github.com/greenpeace/planet4-master-theme.
请查看主主题代码以获取更多信息。
开发
编码规范
主要使用WordPress编码规范,有一些例外。
PHPCS已配置。使用composer sniffs
显示错误,使用composer fixes
自动修复。
样式表
使用SCSS生成三个样式表
sass src/scss/style.scss style.css --style=compressed
sass src/scss/editor-style.scss admin/css/editor-style.css --style=compressed
自动加载器
使用Composer自动加载器。在添加新类后,使用composer dump-autoload
。
PHPStorm设置
SCSS文件监视器
文件 > 设置 > 工具 > 文件监视器
主style.css
文件类型: SCSS样式表
作用域: 创建一个包含
src/scss
- 排除
/src/scss/editor-style.scss
程序: sass
参数: --no-cache --update $FileName$:$ProjectFileDir$/$FileNameWithoutExtension$.css --style compressed
刷新输出路径: $ProjectFileDir$/$FileNameWithoutExtension$.css
editor-style.css
文件类型: SCSS样式表
作用域: 创建一个包含
src/scss
- 排除
/src/scss/style.scss
程序: sass
参数: --no-cache --update $FileName$:$ProjectFileDir$/admin/css/$FileNameWithoutExtension$.css --style compressed
刷新输出路径: $ProjectFileDir$/admin/css/$FileNameWithoutExtension$.css