Skip to content

Theme options#57

Merged
skrolikowski merged 2 commits intofusioncms:masterfrom
kaidesu:theme-options
Jun 5, 2020
Merged

Theme options#57
skrolikowski merged 2 commits intofusioncms:masterfrom
kaidesu:theme-options

Conversation

@kaidesu
Copy link
Contributor

@kaidesu kaidesu commented Jun 5, 2020

What does this implement or fix?

  • Renamed the terminology "theme settings" to "theme options"
    • You should now use options as the key within your theme manifest to define customization options
  • Added a dedicated theme_option helper function to fetch theme option values for use within your theme:
    {{ theme_option('homepage.message') }}
  • The theme API response will now return an options (note the plural form) array of defined options as found within your theme manifest file
  • The theme API response will now return an option (note the singular form) array of option values

Does this close any currently open issues?

@skrolikowski skrolikowski merged commit 9867ae6 into fusioncms:master Jun 5, 2020
@kaidesu kaidesu deleted the theme-options branch June 18, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "theme_option" helper method Rename "theme settings" to "theme options" for customizations

2 participants