Skip to content

Add "theme_option" helper method #558

@kaidesu

Description

@kaidesu

After renaming theme settings to theme options, we should add a supporting theme_option helper method to fetch the values of theme options for use within themes.

This is currently handled by the theme helper method, but you have to reference options with a prepended value key:

{{ theme('value.homepage.message') }}

This is just not developer friendly and unintuitive vs.

{{ theme_option('homepage.message') }}

Metadata

Metadata

Assignees

Labels

AdditionNew features and functionality not currently present in the platform

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions