Project Largo is released as open source software and anyone is welcome to download or fork the project from our github repository and use it as they like.
If you use Largo for a project we’d love to hear from you so can we add you to our list of sites using Largo and help get the word out. Send us an email! firstname.lastname@example.org
The preferred way of building a site with Largo is by creating a WordPress child theme. We have created a sample, heavily documented, child theme to help you understand the way we structure our child themes in the hopes that it will give you a solid framework to get started. There is more information on setting up Largo and using child themes in the download and installation section of our documentation.
Bug Reports and Feature Requests¶
Our preferred way for you to submit bug reports, requests for new features or even questions about how things work in Largo is by opening a new issue on the Largo github repository.
Contributing to Largo¶
We welcome (and encourage) anyone who wants to contribute back to the project.
To begin, please review our contribution guidelines.
We have many ways you can contribute and not all are technical. Wherever possible we will flag issues that we believe are good for beginners or for less/non-technical contributors (writing/improving documentation, etc.).
Our roadmap, open issues, suggested features and discussion can always be found in the issues section of the Largo github repository.
We also have documentation on the Anatomy of a Pull Request and Submission Protocol and Contributing to the INN Nerds docs repo using Github.com which explain, at a high level, the process of contributing to Github projects, generally.
If you would like to help with the documentation, here are some resources:
If you have feedback on this collection of documentation, please get in touch.
Setting up a development environment¶
We use a set of tools to make setting up a Largo development environment as easy and consistent as possible.
We encourage all INN member organizations looking to add features to or otherwise modify their theme to use this same setup, since doing so will make support and collaboration between members and INN easier.
- Setting up a complete Largo dev environment
- Setting up Largo to contribute documentation
- An introduction to the command line
A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme. Child themes are a feature of WordPress that allow you to extend and override the parent theme that the child theme is based upon. We encourage you to create a child theme for your website.
You should use a child theme in order to make it easier to upgrade to future versions of the Largo parent theme. Child themes allow you to put your modifications to Largo in a place that won’t be wiped out when you update Largo. WordPress has a tutorial you can follow that explains how to create and configure a child theme.
- Creating Child Themes
- Changing Basic Styling
- Advanced Theme Development and Modification
- Upgrading Largo
- What is the new Largo version?
- What version of Largo does your site use now?
- Does your site have a child theme?
- Do you have a staging site?
- How do you upgrade?
Custom Post Templates¶
Largo allows you to select between three default templates to use for posts and pages on your site. This default is set from the Appearance > Theme Options > Layout tab under the “Single Article Template” heading.
- One Column (Standard Layout) is a new default article template in Largo version 0.4 that focuses on readability, reduces distractions and allows for beautiful presentation of visual elements within a story with a large “hero” section at the top of the article for featured media (photo, video, slideshow or embedded media).
- Two Columns (Classic Layout) is the previous article template from Largo version 0.3 and before which features a content area on the left and a sidebar on the right.
- Full-width (no sidebar) is an option when posts need a wider content area for things like maps and interactive data applications. The full-width template is not ideal for text, as the line length is non-optimal for a good reading experience.
A few brief technical notes that might be helpful as you get started:
- About the
- Pluggable (overridable) Largo functions
- Theme Options and the Options Framework
- Homepage Templates
- LESS and CSS
- Compiling translation files
- Release Checklist
- Grunt commands
- Hooks and filters
- Plugin compatibility testing
NOTE: the function reference is a work-in-progress and may not be very useful at the moment.
It may be helpful to read Largo’s source on Github. If you discover insight there that is not included in these docs, please let us know.
- Largo Constants
- Hooks and filters
- Function reference by file