Skip to content

creativecommons/wp-theme-creativecommons.org

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
inc
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wp-theme-creativecommons.org

New WordPress theme for Creative Commons website

Code of Conduct

CODE_OF_CONDUCT.md:

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.

Contributing

See CONTRIBUTING.md.

API Endpoints

Note: enable permalinks within the WordPress settings (Settings -> Permalinks) for the following API URLs to work.

The following endpoints are defined in inc/filters.php:

  1. /wp-json/ccnavigation-header/menu

  2. /wp-json/ccnavigation-footer/menu

  3. /wp-json/cc-wpscripts/get

  4. /wp-json/cc-wpstyles/get

CLI example using httpie:

http -aUSERNAME:PASSWORD https://stage.creativecommons.org/wp-json/ccnavigation/menu

(replace USERNAME and PASSWORD with appropriate values)

Related Documentation

License