Configuration
Last updated
Last updated
Make sure you've installed Alchemy Options either as a or as . Then add a function to the init
hook in your functions.php
. are available for a quick copy and paste.
That's it, just add instead of /* options will go here */
and see them appear on the Alchemy Options page.
If there's a need to split options into several groups, Alchemy Options has got you covered. You may add the tabs
section to the config that looks like this:
Keys of the tabs
array should be unique, these values will be used in configuring of each option with the tab
key. If no tab
key is found in each option's settings it will be rendered in each tab.
Thus, the $options
variable from above will look like this:
If there's a need to split options even further, there's a type for visual splitting of fields into togglable sections and a type to group related fields together for an easier .