本文整理汇总了PHP中set_revslider_as_theme函数的典型用法代码示例。如果您正苦于以下问题:PHP set_revslider_as_theme函数的具体用法?PHP set_revslider_as_theme怎么用?PHP set_revslider_as_theme使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了set_revslider_as_theme函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: adminInit
function adminInit()
{
$this->prepareLibrary();
$this->addLibrary('style', 1);
$this->addLibrary('script', 1);
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
}
开发者ID:phanhoanglong2610,项目名称:anc_gvn,代码行数:9,代码来源:Theme.class.php
示例2: require_plugins
/**
* Setup and recommend plugins
*/
public function require_plugins()
{
// don't load if outside admin or if user doesn't have permission
if (!current_user_can('install_plugins')) {
return;
}
require_once get_template_directory() . '/lib/vendor/tgm-activation.php';
$plugins = array(array('name' => 'Bunyad Shortcodes', 'slug' => 'bunyad-shortcodes', 'source' => get_template_directory() . '/lib/vendor/plugins/bunyad-shortcodes.zip', 'required' => true, 'force_activation' => false), array('name' => 'Bunyad Page Builder', 'slug' => 'bunyad-siteorigin-panels', 'source' => get_template_directory() . '/lib/vendor/plugins/bunyad-siteorigin-panels.zip', 'required' => true, 'force_activation' => false), array('name' => 'Bunyad Widgets', 'slug' => 'bunyad-widgets', 'source' => get_template_directory() . '/lib/vendor/plugins/bunyad-widgets.zip', 'required' => true, 'force_activation' => false), array('name' => 'Custom sidebars (Optional)', 'slug' => 'custom-sidebars', 'required' => false), array('name' => 'WP Retina 2x (Recommended)', 'slug' => 'wp-retina-2x', 'required' => false), array('name' => 'Contact Form 7 (Optional)', 'slug' => 'contact-form-7', 'required' => false), array('name' => 'Regenerate Thumbnails (Optional)', 'slug' => 'regenerate-thumbnails', 'required' => false), array('name' => 'Revolution Slider (Optional)', 'slug' => 'revslider', 'source' => get_template_directory() . '/lib/vendor/plugins/revslider.zip', 'required' => false));
tgmpa($plugins, array('is_automatic' => true));
// set revslider as packaged
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
}
开发者ID:silverbux,项目名称:smartmag-magazine-wordpress,代码行数:17,代码来源:admin.php
示例3: pro_ezio_custom_slider_rev
function pro_ezio_custom_slider_rev()
{
set_revslider_as_theme();
}
开发者ID:h-okajima,项目名称:sigma-wp-renovation,代码行数:4,代码来源:functions.php
示例4: dt_disable_version
function dt_disable_version()
{
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
if (function_exists('vc_set_as_theme')) {
vc_set_as_theme($notifier = true);
}
}
开发者ID:michaelfisher,项目名称:recrate,代码行数:9,代码来源:functions.php
示例5: rd_custom_function_name
function rd_custom_function_name()
{
set_revslider_as_theme();
}
开发者ID:anbuf,项目名称:lesecuriesdelizerne,代码行数:4,代码来源:functions.php
示例6: javo_active_revolution
function javo_active_revolution()
{
set_revslider_as_theme();
}
开发者ID:prosenjit-itobuz,项目名称:upages,代码行数:4,代码来源:define.php
示例7: jeg_set_revslider_as_theme
function jeg_set_revslider_as_theme()
{
set_revslider_as_theme();
}
开发者ID:ntnvu,项目名称:tcb_online,代码行数:4,代码来源:revslider-integration.php
示例8: kt_rev_slider_as_theme
function kt_rev_slider_as_theme()
{
set_revslider_as_theme();
}
开发者ID:pcuervo,项目名称:od4d,代码行数:4,代码来源:custom.php
示例9: ewf_revslider_remove_notices
function ewf_revslider_remove_notices()
{
set_revslider_as_theme();
}
开发者ID:kadr,项目名称:semashko,代码行数:4,代码来源:functions-general.php
示例10: kt_rev_slider_as_theme
function kt_rev_slider_as_theme()
{
set_revslider_as_theme();
update_option('revslider-valid-notice', 'false');
}
开发者ID:MikeBu,项目名称:wp-fm.com,代码行数:5,代码来源:custom.php
示例11: mango_set_revslider_as_theme
function mango_set_revslider_as_theme()
{
set_revslider_as_theme();
}
开发者ID:nickkoskowski,项目名称:Work-Depot,代码行数:4,代码来源:general.php
示例12: disable_rev_slider
function disable_rev_slider()
{
set_revslider_as_theme();
}
开发者ID:nickkoskowski,项目名称:Work-Depot,代码行数:4,代码来源:functions.php
示例13: idz_disable_autoupdate
function idz_disable_autoupdate()
{
set_revslider_as_theme();
}
开发者ID:kblizeck,项目名称:vall-technologies,代码行数:4,代码来源:theme-functions.php
示例14: your_prefix_set_rs_as_theme
function your_prefix_set_rs_as_theme()
{
set_revslider_as_theme();
}
开发者ID:ksan5835,项目名称:maadithottam,代码行数:4,代码来源:functions.php
示例15: etheme_3d_plugins
function etheme_3d_plugins()
{
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
if (function_exists('set_ess_grid_as_theme')) {
set_ess_grid_as_theme();
}
}
开发者ID:EmmaTope,项目名称:gadafunds,代码行数:9,代码来源:theme-functions.php
示例16: mr_tailor_set_revslider_as_theme
function mr_tailor_set_revslider_as_theme()
{
set_revslider_as_theme();
}
开发者ID:quyendam2612,项目名称:quanao,代码行数:4,代码来源:functions.php
示例17: penguin_set_revSetAsTheme
function penguin_set_revSetAsTheme()
{
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
}
开发者ID:VLabsInc,项目名称:WordPressPlatforms,代码行数:6,代码来源:penguin-init.php
示例18: ThemeUpdateChecker
$disable_loveit = false;
if (isset($options['disable_loveit']) && $options['disable_loveit'] == 1) {
$disable_loveit = true;
}
require_once SF_INCLUDES_PATH . '/plugins/aq_resizer.php';
include_once SF_INCLUDES_PATH . '/plugin-includes.php';
// Love it
if (!$disable_loveit) {
include_once SF_INCLUDES_PATH . '/plugins/love-it-pro/love-it-pro.php';
}
// Auto-update
require_once SF_INCLUDES_PATH . '/theme_update_check.php';
$NeighborhoodUpdateChecker = new ThemeUpdateChecker('dante', 'https://kernl.us/api/v1/theme-updates/5667fe730a25612471e649f2/');
// Revslider
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
/* THEME SETUP
================================================== */
if (!function_exists('sf_dante_setup')) {
function sf_dante_setup()
{
/* THEME SUPPORT
================================================== */
add_theme_support('structured-post-formats', array('audio', 'gallery', 'image', 'link', 'video'));
add_theme_support('post-formats', array('aside', 'chat', 'quote', 'status'));
add_theme_support('automatic-feed-links');
add_theme_support('post-thumbnails');
add_theme_support('woocommerce');
/* THUMBNAIL SIZES
================================================== */
开发者ID:part-up,项目名称:blog,代码行数:31,代码来源:functions.php
示例19: cmo_slider_init
function cmo_slider_init()
{
if (function_exists('set_revslider_as_theme')) {
set_revslider_as_theme();
}
if (function_exists('vc_set_as_theme')) {
vc_set_as_theme(true);
}
}
开发者ID:supahseppe,项目名称:ashley-travel,代码行数:9,代码来源:functions.php
示例20: om_set_revslider_as_theme
function om_set_revslider_as_theme()
{
set_revslider_as_theme();
}
开发者ID:SayenkoDesign,项目名称:ividf,代码行数:4,代码来源:misc.php
注:本文中的set_revslider_as_theme函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论