Skip to content

hareeshr/wp-theme-control-panel-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Options Panel Starter Kit for WordPress Theme

This project includes Redux Framework for Options Panel and TGMPA for bundled Plugins.

How to include in your theme

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.

Configuration Array Definition

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

About

A starter kit for WordPress Theme Options Panel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages