mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 10:33:44 +03:00
![]() This broadly enables & styles the pledge forms across the frontend and wp-admin. - Switches field `readonly` control to a variable called `$readonly` - Create `PledgeMeta\get_pledge_meta()` which will fetch data from `$_POST`, a pledge post, or defaults. - Add Number of Employees field - Update form content to match mockup: - fields now have help text - success message uses content from mockup - logo field is moved to the "org info" section - Style form in theme, add some similar styles to the admin Fixes #7, fixes #28 |
||
---|---|---|
.. | ||
css | ||
images | ||
js | ||
template-parts | ||
404.php | ||
archive.php | ||
footer.php | ||
functions.php | ||
Gruntfile.js | ||
header.php | ||
index.php | ||
package-lock.json | ||
package.json | ||
page.php | ||
README.md | ||
screenshot.png | ||
search.php | ||
searchform.php | ||
single.php | ||
style.css |
WordPress.org Five for the Future theme
WordPress theme for the Five for the Future subsite.
Developing
npm install
grunt watch
Make CSS changes in the css/
folder, and css/style.css
will be rebuilt automatically.
Committing
Before committing changes to css/
, please run grunt build
to keep the file size down.
Miscellaneous
The canonical source for this project is github.com/WordPress/five-for-the-future. The contents are synced to the dotorg SVN repo to run on production, because we don't deploy directly from GitHub, for reliability reasons.
The production copy lives in themes/
instead of themes/pub
, because it's already open in GitHub, and we don't want to clutter the Meta repo logs and Slack channels with noise from "Syncing w/ Git repository..." commits.