Access theme-specific customizable settings and configuration
settings
object contains theme-specific configuration options that you can customize through your Control Panel. Currently, the primary use of settings is for configurable home page elements.
settings
object is fully dependent on the theme settings available for your specific theme. Different themes may have different settings configurations.settings
object and its available properties are entirely dependent on your theme’s configuration. The settings shown in this documentation represent the standard Quickbutik theme settings structure. Your specific theme may have different settings available, or may not use the settings object at all.Always check your theme’s documentation or Control Panel to see what settings are actually available for your theme.settings.home_elements
object allows you to create dynamic, customizable content sections for your homepage that can be managed through the admin interface:
Property | Type | Description |
---|---|---|
settings.home_elements | Array | Dynamic elements for homepage customization |
settings.home_elements
loop:
Property | Type | Description |
---|---|---|
is_slider | Boolean | Check if element/section is a slider |
is_title | Boolean | Check if element/section is a title |
is_title_2 | Boolean | Check if element/section is a subtitle |
is_page | Boolean | Check if element/section is a page |
settings.home_elements.element
:
Property | Type | Description |
---|---|---|
title | String | Element title |
image1_link | String | Image 1 link content |
use_image2 | Boolean | Should image 2 be used |
image2_link | String | Image 2 link content |
page.content | String | Page content for page element |
{{#img}}
wrapper with appropriate dimensions for different element types