예제 #1
0
<?php

$debug_mod = false;
if (isset($_GET['debug_mod']) && $_GET['debug_mod'] == "true") {
    $debug_mod = (bool) true;
}
return array('dev_mode' => $debug_mod, 'system_info' => $debug_mod, 'google_api_key' => 'AIzaSyB7Yj842mK5ogSiDa3eRrZUIPTzgiGopls', 'async_typography' => false, 'global_variable' => 'rosa_redux', 'admin_stylesheet' => 'custom', 'intro_text' => __('<h4>Theme Options</h4><p>These allow you to adjust the overall settings for your website.</p>', 'rosa_txtd'), 'share_icons' => array('twitter' => array('link' => 'http://twitter.com/pixelgrade', 'title' => __('Follow us on Twitter', 'rosa_txtd'), 'img' => wpgrade::coremoduleuri($wpgrade_redux_coremodule) . 'assets/img/social/Twitter.png'), 'linked_in' => array('link' => 'http://www.linkedin.com/company/pixelgrade-media', 'title' => __('Find us on LinkedIn', 'rosa_txtd'), 'img' => wpgrade::coremoduleuri($wpgrade_redux_coremodule) . 'assets/img/social/LinkedIn.png'), 'facebook' => array('link' => 'http://www.facebook.com/PixelGradeMedia', 'title' => __('Find us on Facebook', 'rosa_txtd'), 'img' => wpgrade::coremoduleuri($wpgrade_redux_coremodule) . 'assets/img/social/Facebook.png')), 'show_import_export' => $debug_mod, 'import_icon_class' => '', 'opt_name' => wpgrade::shortname() . '_options', 'menu_icon' => wpgrade::coremoduleuri($wpgrade_redux_coremodule) . 'assets/img/theme_options.png', 'menu_title' => __('Theme Options', 'rosa_txtd'), 'page_title' => __('Options', 'rosa_txtd'), 'page_slug' => wpgrade::shortname() . '_options', 'wpml_separate_options' => true, 'colorpicker_palettes' => array('#34e345', '#a2ab1b', '#111a11', '#123e23', '#1a10e0', '#1d3123', '#1d1000', '#e45345'), 'page_position' => '60.66', 'allow_sub_menu' => false, 'hints' => array('icon' => 'icon-question-sign', 'icon_position' => 'right', 'icon_color' => 'lightgray', 'icon_size' => 'normal', 'tip_style' => array('color' => 'light', 'shadow' => false, 'rounded' => false, 'style' => ''), 'tip_position' => array('my' => 'bottom center', 'at' => 'top center'), 'tip_effect' => array('show' => array('effect' => 'fade', 'duration' => '50', 'event' => 'mouseover'), 'hide' => array('effect' => 'fade', 'duration' => '50', 'event' => 'click mouseleave'))), 'remove_customizer_sections' => array());
# config
예제 #2
0
 public function js_customizer_live_preview_enqueue()
 {
     $theme = wp_get_theme();
     $theme_version = $theme->get('Version');
     wp_register_script('CSSOM', wpgrade::coremoduleuri('redux3') . 'extensions/customizer/assets/js/CSSOM.js', array('jquery'), $theme_version, true);
     wp_register_script('cssUpdate', wpgrade::coremoduleuri('redux3') . 'extensions/customizer/assets/js/jquery.cssUpdate.js', array('jquery'), $theme_version, true);
     wp_enqueue_script('redux-theme_customizer_preview', wpgrade::coremoduleuri('redux3') . 'extensions/customizer/assets/js/theme_customizer_preview.js', array('jquery', 'customize-preview', 'CSSOM', 'cssUpdate'), $theme_version, true);
     $this->localize_settings('redux-theme_customizer_preview');
 }