<?php
/**
* Setup theme-specific fonts and colors
*
* @package WordPress
* @subpackage BLABBER
* @since BLABBER 1.0.22
*/
// If this theme is a free version of premium theme
if ( ! defined( 'BLABBER_THEME_FREE' ) ) {
define( 'BLABBER_THEME_FREE', false );
}
if ( ! defined( 'BLABBER_THEME_FREE_WP' ) ) {
define( 'BLABBER_THEME_FREE_WP', false );
}
// If this theme is a part of Envato Elements
if ( ! defined( 'BLABBER_THEME_IN_ENVATO_ELEMENTS' ) ) {
define( 'BLABBER_THEME_IN_ENVATO_ELEMENTS', false );
}
// If this theme uses multiple skins
if ( ! defined( 'BLABBER_ALLOW_SKINS' ) ) {
define( 'BLABBER_ALLOW_SKINS', true );
}
if ( ! defined( 'BLABBER_DEFAULT_SKIN' ) ) {
define( 'BLABBER_DEFAULT_SKIN', 'default' );
}
// Theme storage
// Attention! Must be in the global namespace to compatibility with WP CLI
//-------------------------------------------------------------------------
$GLOBALS['BLABBER_STORAGE'] = array(
// Key validator: market[env|loc]-vendor[axiom|ancora|themerex]
'theme_pro_key' => 'env-ancora',
// Generate Personal token from Envato to automatic upgrade theme
'upgrade_token_url' => '//build.envato.com/create-token/?default=t&purchase:download=t&purchase:list=t',
// Theme-specific URLs (will be escaped in place of the output)
'theme_demo_url' => '//blabber.ancorathemes.com',
'theme_doc_url' => '//blabber.ancorathemes.com/doc',
'theme_upgrade_url' => '//upgrade.themerex.net/',
'theme_demofiles_url' => '//demofiles.ancorathemes.com/blabber/',
'theme_rate_url' => '//themeforest.net/download',
'theme_custom_url' => '//themerex.net/offers/?utm_source=offers&utm_medium=click&utm_campaign=themedash',
'theme_download_url' => '//themeforest.net/item/blabber-allinone-elementor-blog-news-magazine-wordpress-theme/', // Ancora
'theme_support_url' => '//themerex.net/support/',
'theme_video_url' => '//www.youtube.com/channel/UCdIjRh7-lPVHqTTKpaf8PLA', // Ancora
'theme_privacy_url' => '//ancorathemes.com/privacy-policy/', // Ancora
// Comma separated slugs of theme-specific categories (for get relevant news in the dashboard widget)
// (i.e. 'children,kindergarten')
'theme_categories' => '',
// Responsive resolutions
// Parameters to create css media query: min, max
'responsive' => array(
// By size
'xxl' => array( 'max' => 1679 ),
'xl' => array( 'max' => 1439 ),
'lg' => array( 'max' => 1279 ),
'md_over' => array( 'min' => 1024 ),
'md' => array( 'max' => 1023 ),
'sm' => array( 'max' => 767 ),
'sm_wp' => array( 'max' => 600 ),
'xs' => array( 'max' => 479 ),
// By device
'wide' => array(
'min' => 2160
),
'desktop' => array(
'min' => 1680,
'max' => 2159,
),
'notebook' => array(
'min' => 1280,
'max' => 1679,
),
'tablet' => array(
'min' => 768,
'max' => 1279,
),
'not_mobile' => array(
'min' => 768
),
'mobile' => array(
'max' => 767
),
),
);
//------------------------------------------------------------------------
// One-click import support
//------------------------------------------------------------------------
// Set theme specific importer options
if ( ! function_exists( 'blabber_importer_set_options' ) ) {
add_filter( 'trx_addons_filter_importer_options', 'blabber_importer_set_options', 9 );
function blabber_importer_set_options( $options = array() ) {
if ( is_array( $options ) ) {
// Save or not installer's messages to the log-file
$options['debug'] = false;
// Allow import/export functionality
$options['allow_import'] = true;
$options['allow_export'] = false;
// Prepare demo data
$options['demo_url'] = esc_url( blabber_get_protocol() . ':' . blabber_storage_get( 'theme_demofiles_url' ) );
// Required plugins
$options['required_plugins'] = array_keys( blabber_storage_get( 'required_plugins' ) );
// Set number of thumbnails (usually 3 - 5) to regenerate at once when its imported (if demo data was zipped without cropped images)
// Set 0 to prevent regenerate thumbnails (if demo data archive is already contain cropped images)
$options['regenerate_thumbnails'] = 0;
// Default demo
$options['files']['default']['title'] = esc_html__( 'Blabber Demo', 'blabber' );
$options['files']['default']['domain_dev'] = ''; // Developers domain
$options['files']['default']['domain_demo'] = esc_url( blabber_get_protocol() . ':' . blabber_storage_get( 'theme_demo_url' ) ); // Demo-site domain
// If theme need more demo - just copy 'default' and change required parameter
// The array with theme-specific banners, displayed during demo-content import.
// If array with banners is empty - the banners are uploaded directly from demo-content server.
$options['banners'] = array();
}
return $options;
}
}
//------------------------------------------------------------------------
// OCDI support
//------------------------------------------------------------------------
// Set theme specific OCDI options
if ( ! function_exists( 'blabber_ocdi_set_options' ) ) {
add_filter( 'trx_addons_filter_ocdi_options', 'blabber_ocdi_set_options', 9 );
function blabber_ocdi_set_options( $options = array() ) {
if ( is_array( $options ) ) {
// Prepare demo data
$options['demo_url'] = esc_url( blabber_get_protocol() . ':' . blabber_storage_get( 'theme_demofiles_url' ) );
// Required plugins
$options['required_plugins'] = array_keys( blabber_storage_get( 'required_plugins' ) );
// Demo-site domain
$options['files']['ocdi']['title'] = esc_html__( 'Blabber OCDI Demo', 'blabber' );
$options['files']['ocdi']['domain_demo'] = esc_url( blabber_get_protocol() . ':' . blabber_storage_get( 'theme_demo_url' ) );
// If theme need more demo - just copy 'default' and change required parameter
}
return $options;
}
}
// THEME-SUPPORTED PLUGINS
// If plugin not need - remove its settings from next array
//----------------------------------------------------------
$blabber_theme_required_plugins_group = esc_html__( 'Core', 'blabber' );
$blabber_theme_required_plugins = array(
// Section: "CORE" (required plugins)
// DON'T COMMENT OR REMOVE NEXT LINES!
'trx_addons' => array(
'title' => esc_html__( 'ThemeREX Addons', 'blabber' ),
'description' => esc_html__( "Will allow you to install recommended plugins, demo content, and improve the theme's functionality overall with multiple theme options", 'blabber' ),
'required' => true,
'logo' => 'logo.png',
'group' => $blabber_theme_required_plugins_group,
),
);
$blabber_theme_required_plugins['trx_updater'] = array(
'title' => esc_html__( 'ThemeREX Updater', 'blabber' ),
'description' => esc_html__( "Update theme and theme-specific plugins from developer's upgrade server.", 'blabber' ),
'required' => true,
'logo' => 'trx_updater.png',
'group' => $blabber_theme_required_plugins_group,
);
// Section: "PAGE BUILDERS"
$blabber_theme_required_plugins_group = esc_html__( 'Page Builders', 'blabber' );
$blabber_theme_required_plugins['elementor'] = array(
'title' => esc_html__( 'Elementor', 'blabber' ),
'description' => esc_html__( "Is a beautiful PageBuilder, even the free version of which allows you to create great pages using a variety of modules.", 'blabber' ),
'required' => false,
'logo' => 'logo.png',
'group' => $blabber_theme_required_plugins_group,
);
$blabber_theme_required_plugins['gutenberg'] = array(
'title' => esc_html__( 'Gutenberg', 'blabber' ),
'description' => esc_html__( "It's a posts editor coming in place of the classic TinyMCE. Can be installed and used in parallel with Elementor", 'blabber' ),
'required' => false,
'install' => false, // Do not offer installation of the plugin
没有合适的资源?快使用搜索试试~ 我知道了~
【WordPress主题】2022年最新版完整功能demo+插件v1.7.zip
共996个文件
php:341个
css:160个
scss:108个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 96 浏览量
2022-04-03
20:11:53
上传
评论
收藏 20.51MB ZIP 举报
温馨提示
"【WordPress主题】2022年最新版完整功能demo+插件v1.7 Blabber - All-in-One Elementor Blog & News Magazine WordPress Theme + RTL Blabber - All-in-One Complearor博客和新闻杂志WordPress主题+ RTL" ---------- 泰森云每天更新发布最新WordPress主题、HTML主题、WordPress插件、shopify主题、opencart主题、PHP项目源码、安卓项目源码、ios项目源码,更有超10000个资源可供选择,如有需要请站内联系。
资源推荐
资源详情
资源评论
收起资源包目录
【WordPress主题】2022年最新版完整功能demo+插件v1.7.zip (996个子文件)
gutenberg-preview.css 1.05MB
fontello-embedded.css 322KB
fontello-embedded.css 316KB
fontello-embedded.css 316KB
fontello-embedded.css 310KB
colors-default.css 272KB
__colors-default.css 264KB
colors-dark.css 261KB
__colors-default.css 260KB
__colors-dark.css 254KB
__colors-dark.css 250KB
__responsive.css 197KB
__plugins.css 178KB
style.css 175KB
responsive.css 132KB
skin.css 107KB
skin.css 96KB
skin.css 90KB
skin.css 85KB
skin.css 85KB
skin.css 82KB
skin.css 82KB
woocommerce.css 80KB
skin.css 78KB
skin.css 78KB
skin.css 77KB
skin.css 75KB
skin.css 73KB
skin-responsive.css 71KB
skin.css 70KB
skin.css 70KB
skin.css 68KB
skin.css 68KB
skin-responsive.css 67KB
skin.css 67KB
skin-responsive.css 65KB
skin.css 63KB
skin-responsive.css 62KB
skin-responsive.css 61KB
skin-responsive.css 60KB
skin-responsive.css 60KB
skin.css 60KB
skin.css 59KB
skin-responsive.css 59KB
skin-responsive.css 58KB
skin-responsive.css 57KB
skin-responsive.css 55KB
skin-responsive.css 54KB
layouts.css 54KB
skin-responsive.css 54KB
skin.css 53KB
skin.css 52KB
skin.css 51KB
skin-responsive.css 49KB
skin-responsive.css 49KB
skin-responsive.css 46KB
skin-responsive.css 44KB
skin-responsive.css 44KB
fontello-ie7.css 43KB
fontello-ie7.css 43KB
fontello-ie7-codes.css 43KB
fontello-ie7-codes.css 43KB
skin-responsive.css 42KB
fontello-ie7.css 42KB
fontello-ie7-codes.css 42KB
fontello-ie7.css 41KB
fontello-ie7-codes.css 41KB
skin-responsive.css 41KB
skin-responsive.css 39KB
woocommerce-responsive.css 34KB
trx_addons.css 31KB
skin.css 31KB
admin.css 29KB
theme-hovers.css 28KB
elementor-responsive.css 27KB
skin-responsive.css 25KB
fontello.css 24KB
fontello.css 24KB
fontello.css 24KB
fontello.css 23KB
fontello-codes.css 22KB
fontello-codes.css 22KB
fontello-codes.css 22KB
rtl.css 22KB
fontello-codes.css 22KB
skin-responsive.css 21KB
__custom.css 20KB
__custom.css 19KB
skin-responsive.css 16KB
trx_addons-responsive.css 13KB
elementor.css 11KB
gutenberg.css 10KB
editor-style.css 10KB
layouts.responsive.css 9KB
chess-responsive.css 8KB
skin-rtl.css 8KB
skin-rtl.css 8KB
skin-rtl.css 8KB
skin-rtl.css 8KB
js_composer.css 7KB
共 996 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
Lee达森
- 粉丝: 957
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功