本文整理汇总了PHP中wpgrade::coremoduleuri方法的典型用法代码示例。如果您正苦于以下问题:PHP wpgrade::coremoduleuri方法的具体用法?PHP wpgrade::coremoduleuri怎么用?PHP wpgrade::coremoduleuri使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类wpgrade
的用法示例。
在下文中一共展示了wpgrade::coremoduleuri方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?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: js_customizer_live_preview_enqueue
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');
}