Пример #1
0
 public function meta_boxes()
 {
     calibrefx_add_meta_box('general', 'basic', 'calibrefx-theme-settings-navigation', __('Navigation Settings', 'calibrefx'), array($this, 'navigation_box'), $this->pagehook, 'main', 'high');
     calibrefx_add_meta_box('general', 'basic', 'calibrefx-theme-settings-content', __('Content Setting', 'calibrefx'), array($this, 'content_setting'), $this->pagehook, 'main');
     calibrefx_add_meta_box('general', 'basic', 'calibrefx-theme-settings-comment', __('Post Comment Setting', 'calibrefx'), array($this, 'comment_setting'), $this->pagehook, 'main');
     calibrefx_add_meta_box('general', 'basic', 'calibrefx-theme-settings-tracking', __('Website Tracking Setting', 'calibrefx'), array($this, 'tracking_setting'), $this->pagehook, 'main');
     calibrefx_add_meta_box('layout', 'basic', 'calibrefx-theme-settings-layout', __('Website Layout Settings', 'calibrefx'), array($this, 'layout_box'), $this->pagehook, 'main', 'high');
     calibrefx_add_meta_box('layout', 'basic', 'calibrefx-theme-settings-custom-script', __('Themes Advanced Customization', 'calibrefx'), array($this, 'custom_script_box'), $this->pagehook, 'main', 'low');
     calibrefx_add_meta_box('social', 'basic', 'calibrefx-theme-settings-socials', __('Social Integration', 'calibrefx'), array($this, 'socials_integrated_box'), $this->pagehook, 'main');
     calibrefx_add_meta_box('system', 'basic', 'calibrefx-about-version', __('Information', 'calibrefx'), array($this, 'info_box'), $this->pagehook, 'main', 'high');
     if (current_user_can('edit_theme_options')) {
         calibrefx_add_meta_box('modules', 'basic', 'calibrefx-render-page', __('Modules Available', 'calibrefx'), array($this, 'render_page'), $this->pagehook, 'main', 'high');
         calibrefx_add_meta_box('tosgen', 'basic', 'calibrefx-other-settings-tosgen', __('Legal Generator', 'calibrefx'), array($this, 'tos_generator'), $this->pagehook, 'main', 'high');
         calibrefx_add_meta_box('importexport', 'basic', 'calibrefx-import-settings', __('Import Settings', 'calibrefx'), array($this, 'import_settings'), $this->pagehook, 'main', 'high');
         calibrefx_add_meta_box('importexport', 'basic', 'calibrefx-export-settings', __('Export Settings', 'calibrefx'), array($this, 'export_settings'), $this->pagehook, 'main', 'high');
     }
     do_action('calibrefx_theme_settings_meta_box');
 }
Пример #2
0
function calibrefx_meta_boxes()
{
    global $calibrefx;
    calibrefx_add_meta_box('general', 'basic', 'calibrefx-theme-settings-brand', __('Brand Settings', 'calibrefx'), 'calibrefx_branding_box', $calibrefx->theme_settings->pagehook, 'main', 'high');
}
Пример #3
0
function contact_meta_boxes()
{
    global $calibrefx;
    calibrefx_add_meta_box('contact', 'basic', 'contact-settings', __('Contact Details', 'calibrefx'), 'contact_settings', $calibrefx->theme_settings->pagehook, 'main', 'low');
}
Пример #4
0
/**
 * 	Mini CFX MetaBox
 */
function minicfx_meta_boxes()
{
    global $calibrefx;
    calibrefx_add_meta_box('minicfx_settings', 'basic', 'minicfx_metabox_func', __('Mini CFX Settings', 'calibrefx'), 'minicfx_metabox_func', $calibrefx->theme_settings->pagehook, 'main', 'low');
}
Пример #5
0
function webfont_meta_boxes()
{
    global $calibrefx;
    $calibrefx_target_form = apply_filters('calibrefx_target_form', 'options.php');
    calibrefx_add_meta_section('design', __('Design Settings', 'calibrefx'), $calibrefx_target_form, 5);
    calibrefx_add_meta_box('design', 'basic', 'webfont-typography', __('Typography Settings', 'calibrefx'), 'webfont_typography', $calibrefx->theme_settings->pagehook, 'main', 'low');
}