Settings
Settings for Layotter can be configured using the graphical settings pages, but they can also be set programmatically using settings filters.
In some cases, settings filters provide additional functionality that isn't possible with the graphical settings pages.
There are six settings pages: General, Wrapper, Rows, Columns, Elements and Debug.
General settings
- Select post types to enable Layotter for.
- Enable the option to save entire post layouts as templates to be used as a starting point for new posts.
- Enable the option to save elements as templates. Element templates look just like regular elements, but if you edit them on one page, they'll be updated on every other page as well.
- Enable or disable default CSS styles for rows and columns that allow you to get started out of the box, but might get annoying once you start adding your own custom styles.
- Enable or disable the example element type that allows you to play around with Layotter and get started quickly.
Wrapper settings
- Define HTML to be wrapped around the whole post content. Get more flexibility using a view filter.
Rows settings
- Define HTML to be wrapped around each row. Get more flexibility using a view filter.
- Define allowed row layouts (like three columns, or three fourths with a sidebar). Additional custom row layouts can be defined using a settings filter.
- Define the default layout for new rows.
Columns settings
- Define HTML to be wrapped around each column. Get more flexibility using a view filter.
- Provide CSS classes that will be applied to columns, depending on their width.
Elements settings
- Define HTML to be wrapped around each element. Get more flexibility using a view filter.
Debug settings
- Enable the debug option to inspect and manually edit Layotter's internal JSON data structure when editing a post.