Edit once, change everywhere - Sections remove unnecessary code duplication and streamline developer activity.
Sections are reusable chunks of markup and/or code that allow developers to componentise functionality.
Sections allow developers to reduce duplication
When to use Sections - An example
Let's say you want to use image carousels within your eCommerce store. You want carousels on a number of different pages, and multiple carousels on a single page. Rather than repeating identical markup/code, you create a new enter the markup/code in a new 'carousel' section. When you want to add a carousel to a page, simply call the 'carousel' section, passing through different parameters if required.
All sections are held within your local Aero installation. You can find them here:
Aero Themes contain the following sections by default:
- Cookie Bar