ccommons-certificates
is a WordPress theme for https://certificates.creativecommons.org.
The Creative Commons team is committed to fostering a welcoming community. This project and all other Creative Commons open source projects are governed by our Code of Conduct. Please report unacceptable behavior to conduct@creativecommons.org per our reporting guidelines.
See CONTRIBUTING.md
.
- PHP > 7.3
- WordPress > 5.5.3
Must be used with the parent theme creativecommons-base.
Relies on the following plugins:
+-----------------------------+----------------+-----------+-----------+
| name | status | update | version |
+-----------------------------+----------------+-----------+-----------+
| advanced-custom-fields-pro | active-network | available | 5.9.1 |
| queulat | active-network | none | 0.1.0 |
| the-events-calendar | active-network | none | 5.2.1 |
| wordpress-seo | active-network | available | 15.2 |
+-----------------------------+----------------+-----------+-----------+
With composer
Add the following to your composer.json
file:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/creativecommons/creativecommons-certificate"
}
],
"require": {
"creativecommons/creativecommons-certificate": "dev-master"
}
}
Manual Installation
- Click the 'Code' button on this Github page and select 'Download ZIP'.
- In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
- Click on 'Upload Theme', select the zip file, and click on 'Install Now'.
- Click on the 'Activate' button to use your new theme right away.
- Frontend JavaScript and CSS are located in the
front/
directory. There you cannpm install
andnpm run watch
to recompile scss and js files when files are updated. You'll still need to manually refresh your browser to see changes. Alternatively,npm run watch
can be paired with something like BrowserSync to auto update your browser tab when changes are made. You can use the commandbrowser-sync start --proxy https://your-local-domain.test --files="**/*.css,**/*.php"
in the root of the theme as an example.
- Export local DB with url rename
wp search-replace 'certs-backup.test' 'tempcert.creativecommons.org' --export=certs.sql
- Zip uploads directory
zip uploads.zip uploads -r
- Upload
.zip
to production server