当前位置: 首页>>代码示例>>PHP>>正文


PHP wpgrade::coremoduleuri方法代码示例

本文整理汇总了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
开发者ID:pwzCypher,项目名称:wp-push,代码行数:8,代码来源:redux-args.php

示例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');
 }
开发者ID:pwzCypher,项目名称:wp-push,代码行数:9,代码来源:extension_customizer.php


注:本文中的wpgrade::coremoduleuri方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。