This project includes Redux Framework for Options Panel and TGMPA for bundled Plugins.
Add dew folder to your project and then initialize it in functions.php file of your theme.
get_template_part( 'dew/dew-init' );
dew_suite_init($theme_config);
$theme_config
is an array that defines the control center of your theme.
An example functions.php file is included in the repo.
Key | Type | Definition |
---|---|---|
textdomain | String | Textdomain for your theme |
media_sizes | Array | Array of Media size associative array that takes parameters for add_image_size. Refer |
tgmpa | Array | Define tgmpa options and the recommended/bundled plugins plugins. Refer |
redux | Array | Define theme-options page and Redux Framework configurations. Refer |
admin_pages | Array | Array of Admin Pages and sub menu pages. Refer |
toolbar | Array | Array of admin pages on the toolbar. Refer |