Open Source Bridge Wordpress Theme
This is the WordPress theme for
To make changes to the WordPress theme:
- Clone this repository.
- Make changes to the files, e.g.
- Deploy them to the production server by running
rake deploy. (You'll want to change your username at the top of the Rakefile.)
- Optionally login to WordPress on the production server and use Performance -> Page Cache -> "empty cache" to make it use the changes immediately.
- Commit them back to this repository and push the changes, else submit a github pull request.
We're sharing a set of common styles between several different web apps, so this repository only contains styles that relate directly to the WordPress installation. The common styles, which handle the majority of styling and branding on the site, can be found at http://github.com/osbridge/osbp_styles/
If you're developing the theme, you need to be aware that by default it gets its CSS styles from the production servers at
opensourcebridge.org. However, you can override this by creating a file in this theme directory called
my_common_styles_url.txt and put the URL containing the common style to use into it. For example, if you're running a local instance of OCW with its checkout of the styles, you might put the following into the
my_common_styles_url.txt to have it use those:
If you need to make changes to the theme, please do not update files directly on the production server. Instead, modify files in this repository and push them. If you have access to the production server, you can run
rake deploy from within this directory, which will install them on the production server. If you don't have access to the production server, push your changes into this repository or a fork, and ask someone with access to deploy them.
If you have any questions, please contact