mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
![]() * Theme: Create template part for single pledge * Plugin: Add functions for handling xprofile data * Plugin: Add helper function for getting contributor user objects * Theme: Display aggregated contributor data on single pledge view * Theme: Add functions, markup, and styles to show team badges * Theme: Add badge for Test team * Theme: Add tentative URL for report a pledge link * Theme: Add support for post thumbnails * Theme: Add org logo to single pledge view * Theme: Update `$content_width` to 960 This matches the width of the content in the global header and the About page. * Move pledge template to a file used by the template heirarchy * Clean up some PHPCS errors * Move pledge structure out to just the list items * Create file for single pledge styles * style badge grid into a grid. * Add a custom image size for the logo * Update styles * Un-hide pledges with no confirmed contributors * Fix content width |
||
---|---|---|
.. | ||
css | ||
images | ||
js | ||
template-parts | ||
404.php | ||
archive-5ftf_pledge.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-5ftf_pledge.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.