Installation
Last updated
Last updated
Alchemy Options can be used as a plugin and can be included into the theme.
download the
go to the Add New plugin page of your WordPress site
click the Upload Plugin button which will bring you a file input
choose the zip-file you've downloaded and press Install Now
activate Alchemy Options
You can install (and activate) Alchemy Options via WP-CLI, like so:
wp plugin install https://github.com/AlchemyOptions/AlchemyOptions/raw/master/dist/alchemy-options.zip --activate
manually download the
unpack the archive
add the alchemy-options
folder to your theme
add the following code at the top of your functions.php
(without any hooks)
Note. Make sure you do not rename the alchemy-options
folder, otherwise it's not going to work, since Alchemy Options files rely on this folder name.
If you see the Cannot redeclare Alchemy_Options\alch_run_plugin
error, it means that Alchemy Options is already loaded. Make sure you do not load it in 2 places, as a plugin and as part of your theme.
The same error will be triggered if you try to activate it as a plugin having already loaded it as part of a theme.
After the installation you are ready to in your theme. Sample are also available.