1.2.0 - 2013-01-10 - Chris Jean Removed the SEO tab. 1.3.0 - 2013-02-15 - Chris Jean Moved code to run off of the it_libraries_loaded action. Added conditional loading of the Gallery Shortcode settings. 1.3.1 - 2013-02-18 - Chris Jean Moved builder_add_settings_tab to outside of the function to prevent the tab from appearing after "Import / Export". 1.4.0 - 2013-08-09 - Chris Jean Added Setup tab. Added Theme Activation editor box. 1.5.0 - 2013-10-24 - Chris Jean Changed registration of the Setup tab to only happen on multisite if the user is a network admin. */ builder_add_settings_tab(__('Basic', 'it-l10n-Builder-Paige'), 'basic', 'ITThemeSettingsTabBasic', dirname(__FILE__) . '/tab-basic.php'); if (!is_multisite() || is_super_admin()) { builder_add_settings_tab(__('Setup', 'it-l10n-Builder-Paige'), 'setup', 'ITThemeSettingsTabSetup', dirname(__FILE__) . '/tab-setup.php'); } function it_builder_configure_editor_features() { builder_add_settings_editor_box(__('Menu Builder', 'it-l10n-Builder-Paige'), null, array('var' => 'menu_builder', '_builtin' => true)); builder_add_settings_editor_box(__('Analytics and JavaScript Code', 'it-l10n-Builder-Paige'), null, array('var' => 'analytics', '_builtin' => true)); builder_add_settings_editor_box(__('Favicon', 'it-l10n-Builder-Paige'), null, array('var' => 'favicon', '_builtin' => true)); builder_add_settings_editor_box(__('Identify Widget Areas', 'it-l10n-Builder-Paige'), null, array('var' => 'widgets', '_builtin' => true)); builder_add_settings_editor_box(__('Comments', 'it-l10n-Builder-Paige'), null, array('var' => 'comments', '_builtin' => true)); if (builder_theme_supports('builder-gallery-shortcode')) { builder_add_settings_editor_box(__('Gallery Shortcode', 'it-l10n-Builder-Paige'), null, array('var' => 'gallery_shortcode', '_builtin' => true)); } // builder_add_settings_editor_box( __( 'Theme Activation', 'it-l10n-Builder-Paige' ), null, array( 'var' => 'activation', '_builtin' => true, 'priority' => 'low' ) ); builder_add_settings_editor_box(__('Theme Features', 'it-l10n-Builder-Paige'), null, array('var' => 'theme_features', '_builtin' => true, 'priority' => 'low')); } add_action('it_libraries_loaded', 'it_builder_configure_editor_features');
function builder_add_import_export_settings_tab() { builder_add_settings_tab(__('Import / Export', 'it-l10n-Builder-Cohen'), 'import-export', 'ITThemeSettingsTabImportExport', dirname(__FILE__) . '/settings-tab.php'); }