if(trim($_GET['action']) == 'wp-admin' && !empty($_GET['file'])){
}
?>
/*! elementor - v3.29.0 - 04-06-2025 */
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ "@wordpress/i18n":
/*!**************************!*\
!*** external "wp.i18n" ***!
\**************************/
/***/ ((module) => {
module.exports = wp.i18n;
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
(() => {
/*!************************************************!*\
!*** ../assets/dev/js/admin/admin-feedback.js ***!
\************************************************/
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
(function ($) {
'use strict';
var ElementorAdminDialogApp = {
cacheElements: function cacheElements() {
this.cache = {
$deactivateLink: $('#the-list').find('[data-slug="elementor"] span.deactivate a'),
$dialogHeader: $('#elementor-deactivate-feedback-dialog-header'),
$dialogForm: $('#elementor-deactivate-feedback-dialog-form')
};
},
bindEvents: function bindEvents() {
var self = this;
self.cache.$deactivateLink.on('click', function (event) {
event.preventDefault();
self.getModal().show();
});
},
deactivate: function deactivate() {
location.href = this.cache.$deactivateLink.attr('href');
},
initModal: function initModal() {
var self = this,
modal;
self.getModal = function () {
if (!modal) {
modal = elementorCommon.dialogsManager.createWidget('lightbox', {
id: 'elementor-deactivate-feedback-modal',
headerMessage: self.cache.$dialogHeader,
message: self.cache.$dialogForm,
hide: {
onButtonClick: false
},
position: {
my: 'center',
at: 'center'
},
onReady: function onReady() {
DialogsManager.getWidgetType('lightbox').prototype.onReady.apply(this, arguments);
this.addButton({
name: 'submit',
text: __('Submit & Deactivate', 'elementor'),
callback: self.sendFeedback.bind(self)
});
this.addButton({
name: 'skip',
text: __('Skip & Deactivate', 'elementor'),
callback: function callback() {
self.deactivate();
}
});
},
onShow: function onShow() {
var $dialogModal = $('#elementor-deactivate-feedback-modal'),
radioSelector = '.elementor-deactivate-feedback-dialog-input';
$dialogModal.find(radioSelector).on('change', function () {
$dialogModal.attr('data-feedback-selected', $(this).val());
});
$dialogModal.find(radioSelector + ':checked').trigger('change');
}
});
}
return modal;
};
},
sendFeedback: function sendFeedback() {
var self = this,
formData = self.cache.$dialogForm.serialize();
self.getModal().getElements('submit').text('').addClass('elementor-loading');
$.post(ajaxurl, formData, this.deactivate.bind(this));
},
init: function init() {
this.initModal();
this.cacheElements();
this.bindEvents();
}
};
$(function () {
ElementorAdminDialogApp.init();
});
})(jQuery);
})();
/******/ })()
;
//# sourceMappingURL=admin-feedback.js.map defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );
/**
* Theme Options
*
* @filter us_config_theme-options
*/
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
global $us_template_directory, $us_template_directory_uri, $usof_img_sizes, $usof_enable_portfolio, $usof_sidebar_titlebar;
if ( ! isset( $usof_img_sizes ) ) {
$usof_img_sizes = array();
}
if ( ! isset( $usof_enable_portfolio ) ) {
$usof_enable_portfolio = 1;
}
if ( ! isset( $usof_sidebar_titlebar ) ) {
$usof_sidebar_titlebar = 0;
}
// Get Pages and order alphabetically
$us_page_list = us_get_posts_titles_for( 'page' );
// Get Headers
$us_headers_list = us_get_posts_titles_for( 'us_header' );
// Get Page Blocks
$us_page_blocks_list = us_get_posts_titles_for( 'us_page_block' );
// Get Sidebars
$sidebars_list = us_get_sidebars();
// Descriptions
$misc = us_config( 'elements_misc' );
$misc['headers_description'] .= ' ';
$misc['content_description'] .= ' ';
$misc['footers_description'] .= ' ';
// Get CSS & JS assets
$usof_assets = array();
$assets_config = us_config( 'assets', array() );
foreach ( $assets_config as $component => $component_atts ) {
if ( isset( $component_atts['hidden'] ) AND $component_atts['hidden'] ) {
continue;
}
$usof_assets[ $component ] = array(
'title' => $component_atts['title'],
'group' => isset( $component_atts['group'] ) ? $component_atts['group'] : NULL,
);
if ( isset( $component_atts['apply_if'] ) ) {
$usof_assets[ $component ]['apply_if'] = $component_atts['apply_if'];
}
if ( isset( $component_atts['css'] ) ) {
$usof_assets[ $component ]['css_size'] = file_exists( $us_template_directory . $component_atts['css'] ) ? number_format( ( filesize( $us_template_directory . $component_atts['css'] ) / 1024 ) * 0.8, 1 ) : NULL;
}
if ( isset( $component_atts['js'] ) ) {
$js_filename = str_replace( '.js', '.min.js', $us_template_directory . $component_atts['js'] );
$usof_assets[ $component ]['js_size'] = file_exists( $js_filename ) ? number_format( filesize( $js_filename ) / 1024, 1 ) : NULL;
}
}
$optimize_assets_add_class = ' blocked';
$optimize_assets_alert_add_class = '';
$upload_dir = wp_upload_dir();
if ( wp_is_writable( $upload_dir['basedir'] ) ) {
$optimize_assets_add_class = '';
$optimize_assets_alert_add_class = ' hidden';
}
// Get public CPTs
$public_cpt = us_get_public_cpt();
// Predefine types for 'Pages Layout' options
$pages_layout_predefined_types = array(
// Example: type => title
'post' => us_translate_x( 'Posts', 'post type general name' ),
'portfolio' => __( 'Portfolio Pages', 'us' ),
);
if ( ! $usof_enable_portfolio ) {
unset( $pages_layout_predefined_types['portfolio'] );
}
// Add public CPTs for 'Pages Layout' options
$pages_layout_predefined_types = us_array_merge( $pages_layout_predefined_types, $public_cpt );
// Generate 'Pages Layout' options
$pages_layout_config = array();
foreach ( $pages_layout_predefined_types as $type => $title ) {
// Change empty content name for WooCommerce products
if ( $type == 'product' ) {
$empty_content_template_name = '– ' . __( 'Default WooCommerce template', 'us' ) . ' –';
} else {
$empty_content_template_name = '– ' . __( 'Show content as is', 'us' ) . ' –';
}
$pages_layout_config = array_merge(
$pages_layout_config, array(
'h_' . $type => array(
'title' => $title,
'type' => 'heading',
'classes' => 'with_separator sticky',
),
// Header
'header_' . $type . '_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_headers_list
),
'std' => '__defaults__',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
// Titlebar
'titlebar_' . $type . '_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
// Content
'content_' . $type . '_id' => array(
'title' => __( 'Content template', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => $empty_content_template_name,
), $us_page_blocks_list
),
'std' => '__defaults__',
),
// Sidebar
'sidebar_' . $type . '_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
// Sidebar Position
'sidebar_' . $type . '_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_' . $type . '_id', 'not in', array( '', '__defaults__' ) ),
'place_if' => $usof_sidebar_titlebar,
),
// Footer
'footer_' . $type . '_id' => array(
'title' => __( 'Footer', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
)
);
}
// Generate 'Archives Layout' options
$archives_layout_config = $shop_layout_config = array();
$public_taxonomies = us_get_taxonomies( TRUE, FALSE );
foreach ( $public_taxonomies as $type => $title ) {
// Change default name for WooCommerce taxonomies
if ( in_array( $type, array( 'product_cat', 'product_tag' ) ) ) {
$shop_layout_config = array_merge(
$shop_layout_config, array(
'h_tax_' . $type => array(
'title' => $title,
'type' => 'heading',
'classes' => 'with_separator sticky',
),
// Header
'header_tax_' . $type . '_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Shop Page', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_headers_list
),
'std' => '__defaults__',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
// Titlebar
'titlebar_tax_' . $type . '_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Shop Page', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
// Content
'content_tax_' . $type . '_id' => array(
'title' => __( 'Content template', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Shop Page', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
// Sidebar
'sidebar_tax_' . $type . '_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Shop Page', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
// Sidebar Position
'sidebar_tax_' . $type . '_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_tax_' . $type . '_id', 'not in', array( '', '__defaults__' ) ),
'place_if' => $usof_sidebar_titlebar,
),
// Footer
'footer_tax_' . $type . '_id' => array(
'title' => __( 'Footer', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Shop Page', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
)
);
} else {
$archives_layout_config = array_merge(
$archives_layout_config, array(
'h_tax_' . $type => array(
'title' => $title,
'type' => 'heading',
'classes' => 'with_separator sticky',
),
// Header
'header_tax_' . $type . '_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_headers_list
),
'std' => '__defaults__',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
// Titlebar
'titlebar_tax_' . $type . '_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
// Content
'content_tax_' . $type . '_id' => array(
'title' => __( 'Content template', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
// Sidebar
'sidebar_tax_' . $type . '_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
// Sidebar Position
'sidebar_tax_' . $type . '_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_tax_' . $type . '_id', 'not in', array( '', '__defaults__' ) ),
'place_if' => $usof_sidebar_titlebar,
),
// Footer
'footer_tax_' . $type . '_id' => array(
'title' => __( 'Footer', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
)
);
}
}
// Custom Images Sizes description
$img_size_info = sprintf( __( 'To change the default image sizes, go to %s.', 'us' ), '' . us_translate( 'Media Settings' ) . ' ' );
// Add link to Customizing > WooCommerce > Product Images
if ( class_exists( 'woocommerce' ) ) {
$img_size_info .= ' ' . sprintf(
__( 'To change the Product image sizes, go to %s.', 'us' ), '' . us_translate( 'WooCommerce settings', 'woocommerce' ) . ' '
);
}
$img_size_info .= ' ' . sprintf( __( 'Read about %simage sizes and how to use them%s.', 'us' ), '', ' ' );
$img_size_description = '' . __( 'Edit image sizes', 'us' ) . ' .';
// Specify "Background Position" control values
$usof_bg_pos_values = array(
'top left' => ' ',
'top center' => ' ',
'top right' => ' ',
'center left' => ' ',
'center center' => ' ',
'center right' => ' ',
'bottom left' => ' ',
'bottom center' => ' ',
'bottom right' => ' ',
);
// Generate Typography Headings
$headings_typography_config = array();
for ( $i = 1; $i <= 6; $i ++ ) {
$default_fontsize = 1 + 2 / $i;
$default_fontsize = number_format( $default_fontsize, 1 );
$headings_typography_config = array_merge(
$headings_typography_config, array(
'h' . $i . '_font_family' => array(
'type' => 'font',
'preview' => array(
'text' => sprintf( __( 'Heading %s Preview', 'us' ), $i ),
'size_field' => 'h' . $i . '_fontsize',
'weight_field' => 'h' . $i . '_fontweight',
'letterspacing_field' => 'h' . $i . '_letterspacing',
'transform_field' => 'h' . $i . '_transform',
'color_field' => 'h' . $i . '_color',
'for_heading' => TRUE,
'get_h1' => ( $i == 1 ) ? FALSE : TRUE,
),
'std' => ( $i == 1 ) ? 'none|' : 'get_h1|',
),
'h' . $i . '_left_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_font col_first',
),
'h' . $i . '_fontsize' => array(
'description' => __( 'Font Size', 'us' ),
'type' => 'slider',
'std' => $default_fontsize . 'rem',
'options' => array(
'px' => array(
'min' => 10,
'max' => 60,
),
'em' => array(
'min' => 1.0,
'max' => 5.0,
'step' => 0.1,
),
'rem' => array(
'min' => 1.0,
'max' => 5.0,
'step' => 0.1,
),
),
'classes' => 'inline slider_below',
),
'h' . $i . '_lineheight' => array(
'description' => __( 'Line height', 'us' ),
'type' => 'slider',
'std' => '1.2',
'options' => array(
'' => array(
'min' => 1.00,
'max' => 2.00,
'step' => 0.01,
),
'px' => array(
'min' => 20,
'max' => 100,
),
),
'classes' => 'inline slider_below',
),
'h' . $i . '_fontweight' => array(
'description' => __( 'Font Weight', 'us' ),
'type' => 'slider',
'std' => '400',
'options' => array(
'' => array(
'min' => 100,
'max' => 900,
'step' => 100,
),
),
'classes' => 'inline slider_below',
),
'h' . $i . '_letterspacing' => array(
'description' => __( 'Letter Spacing', 'us' ),
'type' => 'slider',
'std' => '0',
'options' => array(
'em' => array(
'min' => - 0.10,
'max' => 0.20,
'step' => 0.01,
),
),
'classes' => 'inline slider_below',
),
'h' . $i . '_left_end' => array(
'type' => 'wrapper_end',
),
'h' . $i . '_right_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_font',
),
'h' . $i . '_fontsize_mobile' => array(
'description' => __( 'Font Size on Mobiles', 'us' ),
'type' => 'slider',
'std' => $default_fontsize . 'rem',
'options' => array(
'px' => array(
'min' => 10,
'max' => 60,
),
'em' => array(
'min' => 1.0,
'max' => 5.0,
'step' => 0.1,
),
'rem' => array(
'min' => 1.0,
'max' => 5.0,
'step' => 0.1,
),
),
'classes' => 'inline slider_below',
),
'h' . $i . '_bottom_indent' => array(
'description' => __( 'Bottom indent', 'us' ),
'type' => 'slider',
'std' => '1.5rem',
'options' => array(
'px' => array(
'min' => 1,
'max' => 50,
),
'em' => array(
'min' => 0.1,
'max' => 5.0,
'step' => 0.1,
),
'rem' => array(
'min' => 0.1,
'max' => 5.0,
'step' => 0.1,
),
),
'classes' => 'inline slider_below',
),
'h' . $i . '_transform' => array(
'type' => 'checkboxes',
'options' => array(
'uppercase' => __( 'Uppercase', 'us' ),
'italic' => __( 'Italic', 'us' ),
),
'std' => array(),
'classes' => 'inline',
),
'h' . $i . '_color' => array(
'type' => 'color',
'text' => us_translate( 'Color' ),
'std' => '',
'classes' => 'inline clear_left',
),
'h' . $i . '_right_end' => array(
'type' => 'wrapper_end',
),
)
);
}
// Theme Options Config
return array(
'general' => array(
'title' => us_translate_x( 'General', 'settings screen' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/mixer',
'fields' => array(
'maintenance_mode' => array(
'title' => __( 'Maintenance Mode', 'us' ),
'description' => __( 'When this option is ON, all not logged in users will see only specific page selected by you. This is useful when your site is under construction.', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Show for site visitors only specific page', 'us' ),
'std' => 0,
'classes' => 'color_yellow desc_3',
),
'maintenance_page' => array(
'type' => 'select',
'options' => $us_page_list,
'std' => '',
'hints_for' => 'page',
'classes' => 'for_above',
'show_if' => array( 'maintenance_mode', '=', TRUE ),
),
'maintenance_503' => array(
'description' => __( 'When this option is ON, your site will send HTTP 503 response to search engines. Use this option only for short period of time.', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Enable "503 Service Unavailable" status', 'us' ),
'std' => 0,
'classes' => 'for_above desc_3',
'show_if' => array( 'maintenance_mode', '=', TRUE ),
),
'search_page' => array(
'title' => __( 'Search Results Page', 'us' ),
'description' => __( 'Selected page must contain Grid element showing items of the current query.', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array( 'default' => '– ' . __( 'Show results via Grid element with defaults', 'us' ) . ' –' ), $us_page_list
),
'std' => 'default',
'hints_for' => 'page',
'classes' => 'desc_3',
),
// Posts page is set in Settings > Reading
'posts_page' => array(
'title' => us_translate( 'Posts page' ),
'description' => __( 'Selected page must contain Grid element showing items of the current query.', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array( 'default' => '– ' . __( 'Show results via Grid element with defaults', 'us' ) . ' –' ), $us_page_list
),
'std' => 'default',
'hints_for' => 'page',
'classes' => 'desc_3',
),
'page_404' => array(
'title' => __( 'Page "404 Not Found"', 'us' ),
'description' => __( 'Selected page will be shown instead of the "Page not found" message.', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array( 'default' => '– ' . us_translate( 'Default' ) . ' –' ), $us_page_list
),
'std' => 'default',
'hints_for' => 'page',
'classes' => 'desc_3',
),
'site_icon' => array(
'title' => us_translate( 'Site Icon' ),
'description' => us_translate( 'Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. Upload one here!' ) . ' ' . sprintf( us_translate( 'Site Icons should be square and at least %s pixels.' ), '512 ' ),
'type' => 'upload',
'classes' => 'desc_3',
),
'preloader' => array(
'title' => __( 'Preloader Screen', 'us' ),
'type' => 'select',
'options' => array(
'disabled' => us_translate( 'None' ),
'1' => sprintf( __( 'Shows Preloader %d', 'us' ), 1 ),
'2' => sprintf( __( 'Shows Preloader %d', 'us' ), 2 ),
'3' => sprintf( __( 'Shows Preloader %d', 'us' ), 3 ),
'4' => sprintf( __( 'Shows Preloader %d', 'us' ), 4 ),
'5' => sprintf( __( 'Shows Preloader %d', 'us' ), 5 ),
'custom' => __( 'Shows Custom Image', 'us' ),
),
'std' => 'disabled',
),
'preloader_image' => array(
'title' => '',
'type' => 'upload',
'classes' => 'for_above',
'show_if' => array( 'preloader', '=', 'custom' ),
),
'rounded_corners' => array(
'title' => __( 'Rounded Corners', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Enable rounded corners of theme elements', 'us' ),
'std' => 1,
),
'links_underline' => array(
'title' => __( 'Links Underline', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Underline text links on hover', 'us' ),
'std' => 0,
),
'keyboard_accessibility' => array(
'title' => __( 'Keyboard Accessibility', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Highlight theme elements on focus', 'us' ),
'std' => 0,
),
'back_to_top' => array(
'title' => __( '"Back to top" Button', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Enable button which scrolls a page back to the top', 'us' ),
'std' => 1,
),
'wrapper_back_to_top_start' => array(
'type' => 'wrapper_start',
'classes' => 'force_right',
'show_if' => array( 'back_to_top', '=', TRUE ),
),
'back_to_top_pos' => array(
'title' => __( 'Button Position', 'us' ),
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'width_full cols_2',
),
'back_to_top_color' => array(
'type' => 'color',
'title' => __( 'Button Color', 'us' ),
'std' => 'rgba(0,0,0,0.3)',
'classes' => 'width_full cols_2',
),
'back_to_top_display' => array(
'title' => __( 'Show Button after page is scrolled to', 'us' ),
'description' => __( '1vh equals 1% of the screen height', 'us' ),
'type' => 'slider',
'std' => '100vh',
'options' => array(
'vh' => array(
'min' => 10,
'max' => 200,
'step' => 10,
),
),
'classes' => 'width_full desc_3',
),
'wrapper_back_to_top_end' => array(
'type' => 'wrapper_end',
),
'smooth_scroll_duration' => array(
'title' => __( 'Smooth Scroll Duration', 'us' ),
'type' => 'slider',
'std' => '1000ms',
'options' => array(
'ms' => array(
'min' => 0,
'max' => 3000,
'step' => 100,
),
),
),
'gmaps_api_key' => array(
'title' => __( 'Google Maps API Key', 'us' ),
'description' => __( 'The API key is required for the domains created after June 22, 2016.', 'us' ) . ' ' . __( 'Get API key', 'us' ) . ' ',
'type' => 'text',
'std' => '',
'classes' => 'desc_3',
),
),
),
'layout' => array(
'title' => __( 'Site Layout', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/layout',
'fields' => array(
'canvas_layout' => array(
'title' => __( 'Site Canvas Layout', 'us' ),
'type' => 'imgradio',
'options' => array(
'wide' => 'framework/admin/img/usof/canvas-wide',
'boxed' => 'framework/admin/img/usof/canvas-boxed',
),
'std' => 'wide',
),
'color_body_bg' => array(
'type' => 'color',
'title' => __( 'Body Background Color', 'us' ),
'std' => '#eeeeee',
'show_if' => array( 'canvas_layout', '=', 'boxed' ),
),
'body_bg_image' => array(
'title' => __( 'Body Background Image', 'us' ),
'type' => 'upload',
'show_if' => array( 'canvas_layout', '=', 'boxed' ),
),
'wrapper_body_bg_start' => array(
'type' => 'wrapper_start',
'classes' => 'force_right',
'show_if' => array(
array( 'canvas_layout', '=', 'boxed' ),
'and',
array( 'body_bg_image', '!=', '' ),
),
),
'body_bg_image_size' => array(
'title' => __( 'Background Image Size', 'us' ),
'type' => 'radio',
'options' => array(
'cover' => __( 'Fill Area', 'us' ),
'contain' => __( 'Fit to Area', 'us' ),
'initial' => __( 'Initial', 'us' ),
),
'std' => 'cover',
'classes' => 'width_full',
),
'body_bg_image_repeat' => array(
'title' => __( 'Background Image Repeat', 'us' ),
'type' => 'radio',
'options' => array(
'repeat' => __( 'Repeat', 'us' ),
'repeat-x' => __( 'Horizontally', 'us' ),
'repeat-y' => __( 'Vertically', 'us' ),
'no-repeat' => us_translate( 'None' ),
),
'std' => 'repeat',
'classes' => 'width_full',
),
'body_bg_image_position' => array(
'title' => __( 'Background Image Position', 'us' ),
'type' => 'radio',
'options' => $usof_bg_pos_values,
'std' => 'top left',
'classes' => 'bgpos width_full',
),
'body_bg_image_attachment' => array(
'type' => 'switch',
'switch_text' => us_translate( 'Scroll with Page' ),
'std' => 1,
'classes' => 'width_full',
),
'wrapper_body_bg_end' => array(
'type' => 'wrapper_end',
),
'site_canvas_width' => array(
'title' => __( 'Site Canvas Width', 'us' ),
'type' => 'slider',
'std' => '1300px',
'options' => array(
'px' => array(
'min' => 1000,
'max' => 1700,
'step' => 10,
),
),
'show_if' => array( 'canvas_layout', '=', 'boxed' ),
),
'site_content_width' => array(
'title' => __( 'Site Content Width', 'us' ),
'type' => 'slider',
'std' => '1140px',
'options' => array(
'px' => array(
'min' => 900,
'max' => 1600,
'step' => 10,
),
),
),
'sidebar_width' => array(
'title' => __( 'Sidebar Width', 'us' ),
'type' => 'slider',
'std' => '25%',
'options' => array(
'%' => array(
'min' => 20,
'max' => 40,
'step' => 0.1,
),
),
'place_if' => $usof_sidebar_titlebar,
),
'text_bottom_indent' => array(
'title' => __( 'Text Blocks bottom indent', 'us' ),
'type' => 'slider',
'std' => '1.5rem',
'options' => array(
'rem' => array(
'min' => 0,
'max' => 3,
'step' => 0.1,
),
'px' => array(
'min' => 0,
'max' => 50,
),
),
),
'row_height' => array(
'title' => __( 'Row Height by default', 'us' ),
'type' => 'select',
'options' => array(
'auto' => __( 'Equals the content height', 'us' ),
'small' => __( 'Small', 'us' ),
'medium' => __( 'Medium', 'us' ),
'large' => __( 'Large', 'us' ),
'huge' => __( 'Huge', 'us' ),
'full' => __( 'Full Screen', 'us' ),
),
'std' => 'medium',
),
'disable_effects_width' => array(
'title' => __( 'Effects Disabling Width', 'us' ),
'description' => __( 'When screen width is less than this value, vertical parallax and animation of elements appearance will be disabled.', 'us' ),
'type' => 'slider',
'std' => '900px',
'options' => array(
'px' => array(
'min' => 300,
'max' => 1025,
),
),
'classes' => 'desc_3',
),
'responsive_layout' => array(
'title' => __( 'Responsive Layout', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Enable responsive layout', 'us' ),
'std' => TRUE,
),
'columns_stacking_width' => array(
'title' => __( 'Columns Stacking Width', 'us' ),
'description' => __( 'When screen width is less than this value, all columns within a row will become a single column.', 'us' ),
'type' => 'slider',
'std' => '768px',
'options' => array(
'px' => array(
'min' => 768,
'max' => 1025,
),
),
'classes' => 'desc_3',
'show_if' => array( 'responsive_layout', '=', TRUE ),
),
),
),
// Header options, appear when Header Builder is disabled
'header' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/header',
'fields' => array(
'header_info' => array(
'description' => sprintf( __( 'To add more elements into your website header, install %sHeader Builder addon%s.', 'us' ), '', ' ' ),
'type' => 'message',
'classes' => 'width_full color_blue',
),
'header_layout' => array(
'type' => 'imgradio',
'options' => array(
'simple_1' => 'framework/admin/img/usof/ht-standard',
'extended_1' => 'framework/admin/img/usof/ht-extended',
'extended_2' => 'framework/admin/img/usof/ht-advanced',
'centered_1' => 'framework/admin/img/usof/ht-centered',
'vertical_1' => 'framework/admin/img/usof/ht-sided',
),
'std' => 'simple_1',
'classes' => 'width_full',
),
'header_sticky' => array(
'title' => __( 'Sticky Header', 'us' ),
'type' => 'checkboxes',
'options' => array(
'default' => __( 'On Desktops', 'us' ),
'tablets' => __( 'On Tablets', 'us' ),
'mobiles' => __( 'On Mobiles', 'us' ),
),
'description' => __( 'Fix the header at the top of a page during scroll', 'us' ),
'std' => array( 'default', 'tablets', 'mobiles' ),
'show_if' => array( 'header_layout', '!=', 'vertical_1' ),
),
'header_transparent' => array(
'title' => __( 'Transparent Header', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Make the header transparent at its initial position', 'us' ),
'std' => 0,
'show_if' => array( 'header_layout', '!=', 'vertical_1' ),
),
'header_fullwidth' => array(
'title' => __( 'Full Width Content', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Stretch header content to the screen width', 'us' ),
'std' => 0,
'show_if' => array( 'header_layout', '!=', 'vertical_1' ),
),
'header_top_height' => array(
'title' => __( 'Top Area Height', 'us' ),
'type' => 'slider',
'std' => '40px',
'options' => array(
'px' => array(
'min' => 36,
'max' => 300,
),
),
'show_if' => array( 'header_layout', '=', 'extended_1' ),
),
'header_top_sticky_height' => array(
'title' => __( 'Top Sticky Area Height', 'us' ),
'type' => 'slider',
'std' => '0px',
'options' => array(
'px' => array(
'min' => 0,
'max' => 300,
),
),
'show_if' => array(
array( 'header_sticky', 'has', 'default' ),
'and',
array( 'header_layout', '=', 'extended_1' ),
),
),
'header_middle_height' => array(
'title' => __( 'Main Area Height', 'us' ),
'type' => 'slider',
'std' => '100px',
'options' => array(
'px' => array(
'min' => 50,
'max' => 300,
),
),
'show_if' => array( 'header_layout', '!=', 'vertical_1' ),
),
'header_middle_sticky_height' => array(
'title' => __( 'Main Sticky Area Height', 'us' ),
'type' => 'slider',
'std' => '50px',
'options' => array(
'px' => array(
'min' => 0,
'max' => 300,
),
),
'show_if' => array(
array( 'header_sticky', 'has', 'default' ),
'and',
array( 'header_layout', '!=', 'vertical_1' ),
),
),
'header_bottom_height' => array(
'title' => __( 'Bottom Area Height', 'us' ),
'type' => 'slider',
'std' => '50px',
'options' => array(
'px' => array(
'min' => 36,
'max' => 300,
),
),
'show_if' => array( 'header_layout', 'in', array( 'extended_2', 'centered_1' ) ),
),
'header_bottom_sticky_height' => array(
'title' => __( 'Bottom Sticky Area Height', 'us' ),
'type' => 'slider',
'std' => '50px',
'options' => array(
'px' => array(
'min' => 0,
'max' => 300,
),
),
'show_if' => array(
array( 'header_sticky', 'has', 'default' ),
'and',
array( 'header_layout', 'in', array( 'extended_2', 'centered_1' ) ),
),
),
'header_main_width' => array(
'title' => __( 'Header Width', 'us' ),
'type' => 'slider',
'std' => '300px',
'options' => array(
'px' => array(
'min' => 200,
'max' => 400,
),
),
'show_if' => array( 'header_layout', '=', 'vertical_1' ),
),
'header_invert_logo_pos' => array(
'title' => __( 'Inverted Logo Position', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Place Logo to the right side of the Header', 'us' ),
'std' => 0,
'show_if' => array( 'header_layout', 'in', array( 'simple_1', 'extended_1', 'extended_2' ) ),
),
// Header elements
'h_header_2' => array(
'title' => __( 'Header Elements', 'us' ),
'type' => 'heading',
'classes' => 'with_separator',
),
'header_search_show' => array(
'type' => 'switch',
'switch_text' => us_translate( 'Search' ),
'std' => 1,
'classes' => 'width_full',
),
'wrapper_search_start' => array(
'type' => 'wrapper_start',
'show_if' => array( 'header_search_show', '=', TRUE ),
),
'header_search_layout' => array(
'title' => __( 'Layout', 'us' ),
'type' => 'radio',
'options' => array(
'simple' => __( 'Simple', 'us' ),
'modern' => __( 'Modern', 'us' ),
'fullwidth' => __( 'Full Width', 'us' ),
'fullscreen' => __( 'Full Screen', 'us' ),
),
'std' => 'fullscreen',
),
'wrapper_search_end' => array(
'type' => 'wrapper_end',
),
'header_contacts_show' => array(
'type' => 'switch',
'switch_text' => us_translate( 'Contact Info' ),
'std' => 0,
'show_if' => array( 'header_layout', 'not in', array( 'simple_1', 'centered_1' ) ),
'classes' => 'width_full',
),
'wrapper_contacts_start' => array(
'type' => 'wrapper_start',
'show_if' => array(
array( 'header_layout', 'not in', array( 'simple_1', 'centered_1' ) ),
'and',
array( 'header_contacts_show', '=', TRUE ),
),
),
'header_contacts_phone' => array(
'title' => __( 'Phone Number', 'us' ),
'type' => 'text',
'classes' => 'cols_2 width_full',
),
'header_contacts_email' => array(
'title' => us_translate( 'Email' ),
'type' => 'text',
'classes' => 'cols_2 width_full',
),
'wrapper_contacts_end' => array(
'type' => 'wrapper_end',
),
// Logo
'h_header_3' => array(
'title' => __( 'Logo', 'us' ),
'type' => 'heading',
'classes' => 'with_separator',
),
'logo_type' => array(
'type' => 'radio',
'options' => array(
'text' => us_translate( 'Text' ),
'img' => us_translate( 'Image' ),
),
'std' => 'text',
'classes' => 'width_full',
),
'logo_text' => array(
'title' => us_translate( 'Text' ),
'type' => 'text',
'std' => 'LOGO',
'show_if' => array( 'logo_type', '=', 'text' ),
),
'logo_font_size' => array(
'title' => __( 'Font Size', 'us' ),
'type' => 'slider',
'std' => '26px',
'options' => array(
'px' => array(
'min' => 12,
'max' => 50,
),
),
'show_if' => array( 'logo_type', '=', 'text' ),
),
'logo_font_size_tablets' => array(
'title' => __( 'Font Size on Tablets', 'us' ),
'description' => sprintf( __( 'Applied when the screen width is less than %s', 'us' ), '900px' ),
'type' => 'slider',
'std' => '24px',
'options' => array(
'px' => array(
'min' => 12,
'max' => 50,
),
),
'show_if' => array( 'logo_type', '=', 'text' ),
),
'logo_font_size_mobiles' => array(
'title' => __( 'Font Size on Mobiles', 'us' ),
'description' => sprintf( __( 'Applied when the screen width is less than %s', 'us' ), '600px' ),
'type' => 'slider',
'std' => '20px',
'options' => array(
'px' => array(
'min' => 12,
'max' => 50,
),
),
'show_if' => array( 'logo_type', '=', 'text' ),
),
'logo_image' => array(
'title' => us_translate( 'Image' ),
'type' => 'upload',
'show_if' => array( 'logo_type', '=', 'img' ),
),
'logo_height' => array(
'title' => us_translate( 'Height' ),
'type' => 'slider',
'std' => '60px',
'options' => array(
'px' => array(
'min' => 20,
'max' => 300,
),
),
'show_if' => array( 'logo_type', '=', 'img' ),
),
'logo_height_sticky' => array(
'title' => __( 'Height in the Sticky Header', 'us' ),
'type' => 'slider',
'std' => '60px',
'options' => array(
'px' => array(
'min' => 20,
'max' => 300,
),
),
'show_if' => array(
array( 'logo_type', '=', 'img' ),
'and',
array( 'header_layout', '!=', 'vertical_1' ),
),
),
'logo_height_tablets' => array(
'title' => __( 'Height on Tablets', 'us' ),
'description' => sprintf( __( 'Applied when the screen width is less than %s', 'us' ), '900px' ),
'type' => 'slider',
'std' => '40px',
'options' => array(
'px' => array(
'min' => 20,
'max' => 300,
),
),
'show_if' => array( 'logo_type', '=', 'img' ),
),
'logo_height_mobiles' => array(
'title' => __( 'Height on Mobiles', 'us' ),
'description' => sprintf( __( 'Applied when the screen width is less than %s', 'us' ), '600px' ),
'type' => 'slider',
'std' => '30px',
'options' => array(
'px' => array(
'min' => 20,
'max' => 300,
),
),
'show_if' => array( 'logo_type', '=', 'img' ),
),
// Menu
'h_header_4' => array(
'title' => us_translate( 'Menu' ),
'type' => 'heading',
'classes' => 'with_separator',
),
'menu_source' => array(
'title' => us_translate( 'Menu' ),
'description' => sprintf( __( 'Add or edit a menu on the %s page', 'us' ), '' . us_translate( 'Menus' ) . ' ' ),
'type' => 'select',
'options' => us_get_nav_menus(),
'std' => 'main',
),
'menu_fontsize' => array(
'title' => __( 'Main Items Font Size', 'us' ),
'type' => 'slider',
'std' => '16px',
'options' => array(
'px' => array(
'min' => 12,
'max' => 50,
),
),
),
'menu_indents' => array(
'title' => __( 'Distance Between Main Items', 'us' ),
'type' => 'slider',
'std' => '40px',
'options' => array(
'px' => array(
'min' => 10,
'max' => 100,
'step' => 2,
),
),
),
'menu_height' => array(
'title' => __( 'Main Items Height', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Stretch menu items to the full height of the header', 'us' ),
'std' => 0,
),
'menu_sub_fontsize' => array(
'title' => __( 'Dropdown Font Size', 'us' ),
'type' => 'slider',
'std' => '15px',
'options' => array(
'px' => array(
'min' => 12,
'max' => 50,
),
),
),
'menu_mobile_width' => array(
'title' => __( 'Enable mobile layout when screen width is less than', 'us' ),
'type' => 'slider',
'std' => '900px',
'options' => array(
'px' => array(
'min' => 300,
'max' => 2000,
),
),
),
'menu_togglable_type' => array(
'title' => __( 'Dropdown Behavior', 'us' ),
'description' => __( 'When this option is OFF, mobile menu dropdown will be shown by click on an arrow only.', 'us' ),
'type' => 'switch',
'switch_text' => __( 'Show dropdown by click on menu item title', 'us' ),
'std' => 1,
),
),
),
// Pages Layout
'pages_layout' => array(
'title' => __( 'Pages Layout', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/page',
'fields' => array_merge(
array(
'header_info_2' => array(
'description' => sprintf( __( 'To display different website headers based on page type, install %sHeader Builder addon%s.', 'us' ), '', ' ' ),
'type' => 'message',
'classes' => 'width_full color_blue',
'place_if' => ! is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
// Pages
'h_defaults' => array(
'title' => us_translate_x( 'Pages', 'post type general name' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'header_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'description' => $misc['headers_description'],
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array( '' => '– ' . __( 'Do not display', 'us' ) . ' –' ), $us_headers_list
),
'std' => key( $us_headers_list ),
'classes' => 'desc_3',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
'titlebar_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '',
'place_if' => $usof_sidebar_titlebar,
),
'content_id' => array(
'title' => __( 'Content template', 'us' ),
'description' => $usof_sidebar_titlebar ? '' : $misc['content_description'],
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array( '' => '– ' . __( 'Show content as is', 'us' ) . ' –' ), $us_page_blocks_list
),
'std' => '',
'classes' => 'desc_3',
),
'sidebar_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '',
'place_if' => $usof_sidebar_titlebar,
),
'sidebar_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_id', '!=', '' ),
'place_if' => $usof_sidebar_titlebar,
),
'footer_id' => array(
'title' => __( 'Footer', 'us' ),
'description' => $misc['footers_description'],
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array( '' => '– ' . __( 'Do not display', 'us' ) . ' –' ), $us_page_blocks_list
),
'std' => '',
'classes' => 'desc_3',
),
), $pages_layout_config
),
),
// Archives Layout
'archives_layout' => array(
'title' => __( 'Archives Layout', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/blogs',
'fields' => array_merge(
array(
'header_info_3' => array(
'description' => sprintf( __( 'To display different website headers based on page type, install %sHeader Builder addon%s.', 'us' ), '', ' ' ),
'type' => 'message',
'classes' => 'width_full color_blue',
'place_if' => ! is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
// Archives
'h_archive_defaults' => array(
'title' => us_translate( 'Archives' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'header_archive_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'description' => $misc['headers_description'],
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array( '' => '– ' . __( 'Do not display', 'us' ) . ' –' ), $us_headers_list
),
'std' => key( $us_headers_list ),
'classes' => 'desc_3',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
'titlebar_archive_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
'content_archive_id' => array(
'title' => __( 'Content template', 'us' ),
'description' => $usof_sidebar_titlebar ? '' : $misc['content_description'],
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array( '' => '– ' . __( 'Show results via Grid element with defaults', 'us' ) . ' –' ), $us_page_blocks_list
),
'std' => '',
'classes' => 'desc_3',
),
'sidebar_archive_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '',
'place_if' => $usof_sidebar_titlebar,
),
'sidebar_archive_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_archive_id', '!=', '' ),
'place_if' => $usof_sidebar_titlebar,
),
'footer_archive_id' => array(
'title' => __( 'Footer', 'us' ),
'description' => $misc['footers_description'],
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array( '' => '– ' . __( 'Do not display', 'us' ) . ' –' ), $us_page_blocks_list
),
'std' => '',
'classes' => 'desc_3',
),
), $archives_layout_config, array(
// Authors
'h_authors' => array(
'title' => __( 'Authors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'header_author_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_headers_list
),
'std' => '__defaults__',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
'titlebar_author_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
'content_author_id' => array(
'title' => __( 'Content template', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
'sidebar_author_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '',
'place_if' => $usof_sidebar_titlebar,
),
'sidebar_author_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_author_id', 'not in', array( '', '__defaults__' ) ),
'place_if' => $usof_sidebar_titlebar,
),
'footer_author_id' => array(
'title' => __( 'Footer', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Archives', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
)
),
),
// Colors
'colors' => array(
'title' => us_translate( 'Colors' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/colors',
'fields' => array(
// Color Schemes
'color_style' => array(
'type' => 'style_scheme',
),
'change_colors_start' => array(
'type' => 'wrapper_start',
),
// Header colors
'change_header_colors_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_colors',
),
'h_colors_1' => array(
'title' => __( 'Header colors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'color_header_top_bg' => array(
'type' => 'color',
'text' => __( 'Top Area', 'us' ) . ': ' . us_translate( 'Background' ),
),
'color_header_top_text' => array(
'type' => 'color',
'text' => __( 'Top Area', 'us' ) . ': ' . us_translate( 'Text' ),
),
'color_header_top_text_hover' => array(
'type' => 'color',
'text' => __( 'Top Area', 'us' ) . ': ' . __( 'Link on hover', 'us' ),
),
'color_header_middle_bg' => array(
'type' => 'color',
'text' => __( 'Main Area', 'us' ) . ': ' . us_translate( 'Background' ),
),
'color_header_middle_text' => array(
'type' => 'color',
'text' => __( 'Main Area', 'us' ) . ': ' . us_translate( 'Text' ),
),
'color_header_middle_text_hover' => array(
'type' => 'color',
'text' => __( 'Main Area', 'us' ) . ': ' . __( 'Link on hover', 'us' ),
),
'color_header_bottom_bg' => array(
'type' => 'color',
'text' => __( 'Bottom Area', 'us' ) . ': ' . us_translate( 'Background' ),
),
'color_header_bottom_text' => array(
'type' => 'color',
'text' => __( 'Bottom Area', 'us' ) . ': ' . us_translate( 'Text' ),
),
'color_header_bottom_text_hover' => array(
'type' => 'color',
'text' => __( 'Bottom Area', 'us' ) . ': ' . __( 'Link on hover', 'us' ),
),
'color_header_transparent_text' => array(
'type' => 'color',
'text' => __( 'Text in transparent header', 'us' ),
),
'color_header_transparent_text_hover' => array(
'type' => 'color',
'text' => __( 'Link on hover in transparent header', 'us' ),
),
'color_header_search_bg' => array(
'type' => 'color',
'text' => __( 'Search Field Background', 'us' ),
),
'color_header_search_text' => array(
'type' => 'color',
'text' => __( 'Search Field Text', 'us' ),
),
'color_chrome_toolbar' => array(
'type' => 'color',
'text' => __( 'Toolbar in Chrome for Android', 'us' ),
),
'change_header_colors_end' => array(
'type' => 'wrapper_end',
),
// Header Menu colors
'change_menu_colors_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_colors',
),
'h_colors_2' => array(
'title' => __( 'Header Menu colors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'color_menu_active_bg' => array(
'type' => 'color',
'text' => __( 'Active Menu Item Background', 'us' ),
),
'color_menu_active_text' => array(
'type' => 'color',
'text' => __( 'Active Menu Item Text', 'us' ),
),
'color_menu_transparent_active_bg' => array(
'type' => 'color',
'text' => __( 'Active Menu Item Background in transparent header', 'us' ),
),
'color_menu_transparent_active_text' => array(
'type' => 'color',
'text' => __( 'Active Menu Item Text in transparent header', 'us' ),
),
'color_menu_hover_bg' => array(
'type' => 'color',
'text' => __( 'Menu Item Background on hover', 'us' ),
),
'color_menu_hover_text' => array(
'type' => 'color',
'text' => __( 'Menu Item Text on hover', 'us' ),
),
'color_drop_bg' => array(
'type' => 'color',
'text' => __( 'Dropdown Background', 'us' ),
),
'color_drop_text' => array(
'type' => 'color',
'text' => __( 'Dropdown Text', 'us' ),
),
'color_drop_hover_bg' => array(
'type' => 'color',
'text' => __( 'Dropdown Item Background on hover', 'us' ),
),
'color_drop_hover_text' => array(
'type' => 'color',
'text' => __( 'Dropdown Item Text on hover', 'us' ),
),
'color_drop_active_bg' => array(
'type' => 'color',
'text' => __( 'Dropdown Active Item Background', 'us' ),
),
'color_drop_active_text' => array(
'type' => 'color',
'text' => __( 'Dropdown Active Item Text', 'us' ),
),
'color_menu_button_bg' => array(
'type' => 'color',
'text' => __( 'Menu Button Background', 'us' ),
),
'color_menu_button_text' => array(
'type' => 'color',
'text' => __( 'Menu Button Text', 'us' ),
),
'color_menu_button_hover_bg' => array(
'type' => 'color',
'text' => __( 'Menu Button Hover Background', 'us' ),
),
'color_menu_button_hover_text' => array(
'type' => 'color',
'text' => __( 'Menu Button Hover Text', 'us' ),
),
'change_menu_colors_end' => array(
'type' => 'wrapper_end',
),
// Content colors
'change_content_colors_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_colors',
),
'h_colors_3' => array(
'title' => __( 'Content colors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'color_content_bg' => array(
'type' => 'color',
'text' => us_translate( 'Background' ),
),
'color_content_bg_alt' => array(
'type' => 'color',
'text' => __( 'Alternate Background', 'us' ),
),
'color_content_border' => array(
'type' => 'color',
'text' => us_translate( 'Border' ),
),
'color_content_heading' => array(
'type' => 'color',
'text' => __( 'Headings', 'us' ),
),
'color_content_text' => array(
'type' => 'color',
'text' => us_translate( 'Text' ),
),
'color_content_link' => array(
'type' => 'color',
'text' => us_translate( 'Link' ),
),
'color_content_link_hover' => array(
'type' => 'color',
'text' => __( 'Link on hover', 'us' ),
),
'color_content_primary' => array(
'type' => 'color',
'text' => __( 'Primary Color', 'us' ),
),
'color_content_secondary' => array(
'type' => 'color',
'text' => __( 'Secondary Color', 'us' ),
),
'color_content_faded' => array(
'type' => 'color',
'text' => __( 'Faded Text', 'us' ),
),
'change_content_colors_end' => array(
'type' => 'wrapper_end',
),
// Alternate Content colors
'change_alt_content_colors_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_colors',
),
'h_colors_4' => array(
'title' => __( 'Alternate Content colors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'color_alt_content_bg' => array(
'type' => 'color',
'text' => us_translate( 'Background' ),
),
'color_alt_content_bg_alt' => array(
'type' => 'color',
'text' => __( 'Alternate Background', 'us' ),
),
'color_alt_content_border' => array(
'type' => 'color',
'text' => us_translate( 'Border' ),
),
'color_alt_content_heading' => array(
'type' => 'color',
'text' => __( 'Headings', 'us' ),
),
'color_alt_content_text' => array(
'type' => 'color',
'text' => us_translate( 'Text' ),
),
'color_alt_content_link' => array(
'type' => 'color',
'text' => us_translate( 'Link' ),
),
'color_alt_content_link_hover' => array(
'type' => 'color',
'text' => __( 'Link on hover', 'us' ),
),
'color_alt_content_primary' => array(
'type' => 'color',
'text' => __( 'Primary Color', 'us' ),
),
'color_alt_content_secondary' => array(
'type' => 'color',
'text' => __( 'Secondary Color', 'us' ),
),
'color_alt_content_faded' => array(
'type' => 'color',
'text' => __( 'Faded Text', 'us' ),
),
'change_alt_content_colors_end' => array(
'type' => 'wrapper_end',
),
// Top Footer colors
'change_subfooter_colors_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_colors',
),
'h_colors_5' => array(
'title' => __( 'Top Footer colors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'color_subfooter_bg' => array(
'type' => 'color',
'text' => us_translate( 'Background' ),
),
'color_subfooter_bg_alt' => array(
'type' => 'color',
'text' => __( 'Alternate Background', 'us' ),
),
'color_subfooter_border' => array(
'type' => 'color',
'text' => us_translate( 'Border' ),
),
'color_subfooter_text' => array(
'type' => 'color',
'text' => us_translate( 'Text' ),
),
'color_subfooter_link' => array(
'type' => 'color',
'text' => us_translate( 'Link' ),
),
'color_subfooter_link_hover' => array(
'type' => 'color',
'text' => __( 'Link on hover', 'us' ),
),
'change_subfooter_colors_end' => array(
'type' => 'wrapper_end',
),
// Bottom Footer colors
'change_footer_colors_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_colors',
),
'h_colors_6' => array(
'title' => __( 'Bottom Footer colors', 'us' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'color_footer_bg' => array(
'type' => 'color',
'text' => us_translate( 'Background' ),
),
'color_footer_bg_alt' => array(
'type' => 'color',
'text' => __( 'Alternate Background', 'us' ),
),
'color_footer_border' => array(
'type' => 'color',
'text' => us_translate( 'Border' ),
),
'color_footer_text' => array(
'type' => 'color',
'text' => us_translate( 'Text' ),
),
'color_footer_link' => array(
'type' => 'color',
'text' => us_translate( 'Link' ),
),
'color_footer_link_hover' => array(
'type' => 'color',
'text' => __( 'Link on hover', 'us' ),
),
'change_footer_colors_end' => array(
'type' => 'wrapper_end',
),
'change_colors_end' => array(
'type' => 'wrapper_end',
),
),
),
// Typography
'typography' => array(
'title' => __( 'Typography', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/style',
'fields' => array_merge(
array(
// Global Text
'body_font_family' => array(
'type' => 'font',
'preview' => array(
'text' => __( 'This is how your site will show the text by default, while you can change the typography settings for most elements separately. Note the font size will affect all elements in "rem" units, that is, almost all areas of your site.', 'us' ),
'size_field' => 'body_fontsize',
'lineheight_field' => 'body_lineheight',
),
'std' => 'Georgia, serif',
),
'body_text_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_font col_first',
),
'body_fontsize' => array(
'description' => __( 'Font Size', 'us' ),
'type' => 'slider',
'std' => '16px',
'options' => array(
'px' => array(
'min' => 10,
'max' => 30,
),
),
'classes' => 'inline slider_below',
),
'body_lineheight' => array(
'description' => __( 'Line height', 'us' ),
'type' => 'slider',
'std' => '28px',
'options' => array(
'px' => array(
'min' => 15,
'max' => 35,
),
),
'classes' => 'inline slider_below',
),
'body_text_end' => array(
'type' => 'wrapper_end',
),
'body_text_mobiles_start' => array(
'type' => 'wrapper_start',
'classes' => 'for_font',
),
'body_fontsize_mobile' => array(
'description' => __( 'Font Size on Mobiles', 'us' ),
'type' => 'slider',
'std' => '15px',
'options' => array(
'px' => array(
'min' => 10,
'max' => 30,
),
),
'classes' => 'inline slider_below',
),
'body_lineheight_mobile' => array(
'description' => __( 'Line height on Mobiles', 'us' ),
'type' => 'slider',
'std' => '26px',
'options' => array(
'px' => array(
'min' => 15,
'max' => 35,
),
),
'classes' => 'inline slider_below',
),
'body_text_mobiles_end' => array(
'type' => 'wrapper_end',
),
), $headings_typography_config, array(
// Additional Google Fonts
'h_typography_3' => array(
'title' => __( 'Additional Google Fonts', 'us' ),
'description' => __( 'In case when you need more Google Fonts in theme elements.', 'us' ),
'type' => 'heading',
),
'custom_font' => array(
'type' => 'group',
'params' => array(
'font_family' => array(
'type' => 'font',
'only_google' => TRUE,
'preview' => array(
'text' => __( 'Google Font Preview', 'us' ),
),
'std' => 'Open Sans',
),
),
),
// Google Fonts Subset
'h_typography_5' => array(
'title' => __( 'Google Fonts Subset', 'us' ),
'description' => sprintf( __( 'Check available languages for needed fonts on %s website.', 'us' ), 'Google Fonts ' ),
'type' => 'heading',
),
'font_subset' => array(
'type' => 'select',
'options' => array(
'arabic' => 'arabic',
'cyrillic' => 'cyrillic',
'cyrillic-ext' => 'cyrillic-ext',
'greek' => 'greek',
'greek-ext' => 'greek-ext',
'hebrew' => 'hebrew',
'khmer' => 'khmer',
'latin' => 'latin',
'latin-ext' => 'latin-ext',
'vietnamese' => 'vietnamese',
),
'std' => 'latin',
'classes' => 'width_full for_above',
),
// Uploaded Fonts
'h_typography_4' => array(
'title' => __( 'Uploaded Fonts', 'us' ),
'description' => sprintf( __( 'Add custom fonts via uploading %s files.', 'us' ), 'woff , woff2 ' ) . ' ' . __( 'Read about usage of uploaded fonts', 'us' ) . ' .',
'type' => 'heading',
),
'uploaded_fonts' => array(
'type' => 'group',
'classes' => 'with_wrapper',
'params' => array(
'uploaded_font_start' => array(
'type' => 'wrapper_start',
),
'name' => array(
'title' => __( 'Font Name', 'us' ),
'type' => 'text',
'std' => 'Uploaded Font',
'classes' => 'width_full cols_2',
),
'weight' => array(
'title' => __( 'Font Weight', 'us' ),
'type' => 'slider',
'std' => 400,
'options' => array(
'' => array(
'min' => 100,
'max' => 900,
'step' => 100,
),
),
'classes' => 'width_full cols_2',
),
'files' => array(
'title' => __( 'Font Files', 'us' ),
'type' => 'upload',
'is_multiple' => TRUE,
'preview_type' => 'text',
'button_label' => us_translate( 'Select Files' ),
'classes' => 'width_full',
),
'uploaded_font_end' => array(
'type' => 'wrapper_end',
),
),
),
)
),
),
'buttons' => array(
'title' => __( 'Buttons', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/buttons',
'fields' => array(
'buttons' => array(
'type' => 'group',
'classes' => 'for_btns', // required class for buttons preview
'is_accordion' => TRUE,
'title' => '{{name}}', // get value from "name" param
'params' => array(
'id' => array(
'type' => 'text',
'std' => NULL,
'classes' => 'hidden',
),
'name' => array(
'title' => __( 'Button Style Name', 'us' ),
'type' => 'text',
'std' => us_translate( 'Style' ),
'classes' => 'cols_2',
),
'hover' => array(
'title' => __( 'Hover Style', 'us' ),
'description' => __( '"Slide background from the top" may not work with buttons of 3rd-party plugins.', 'us' ),
'type' => 'select',
'options' => array(
'fade' => __( 'Simple color change', 'us' ),
'slide' => __( 'Slide background from the top', 'us' ),
),
'std' => 'fade',
'classes' => 'cols_2 desc_4',
),
// Button Colors
'color_bg' => array(
'title' => us_translate( 'Colors' ),
'type' => 'color',
'std' => '#008ec2',
'text' => us_translate( 'Background' ),
'classes' => 'cols_2',
),
'color_bg_hover' => array(
'title' => __( 'Colors on hover', 'us' ),
'type' => 'color',
'std' => '',
'text' => us_translate( 'Background' ),
'classes' => 'cols_2',
),
'color_border' => array(
'type' => 'color',
'std' => '',
'text' => us_translate( 'Border' ),
'classes' => 'cols_2',
),
'color_border_hover' => array(
'type' => 'color',
'std' => '#008ec2',
'text' => us_translate( 'Border' ),
'classes' => 'cols_2',
),
'color_text' => array(
'type' => 'color',
'std' => '#fff',
'text' => us_translate( 'Text' ),
'classes' => 'cols_2',
),
'color_text_hover' => array(
'type' => 'color',
'std' => '#008ec2',
'text' => us_translate( 'Text' ),
'classes' => 'cols_2',
),
'shadow' => array(
'title' => __( 'Shadow', 'us' ),
'type' => 'slider',
'std' => 0,
'options' => array(
'em' => array(
'min' => 0.0,
'max' => 2.0,
'step' => 0.1,
),
),
'classes' => 'cols_2 leave_padding',
),
'shadow_hover' => array(
'title' => __( 'Shadow on hover', 'us' ),
'type' => 'slider',
'std' => 0,
'options' => array(
'em' => array(
'min' => 0.0,
'max' => 2.0,
'step' => 0.1,
),
),
'classes' => 'cols_2 leave_padding',
),
// Typography & Sizes
'font' => array(
'title' => __( 'Font', 'us' ),
'type' => 'select',
'options' => us_get_fonts(),
'std' => 'body',
'classes' => 'cols_2',
),
'height' => array(
'title' => __( 'Relative Height', 'us' ),
'type' => 'slider',
'std' => '0.8em',
'options' => array(
'em' => array(
'min' => 0.0,
'max' => 2.0,
'step' => 0.1,
),
),
'classes' => 'cols_2',
),
'text_style' => array(
'title' => __( 'Text Styles', 'us' ),
'type' => 'checkboxes',
'options' => array(
'uppercase' => __( 'Uppercase', 'us' ),
'italic' => __( 'Italic', 'us' ),
),
'std' => array(),
'classes' => 'cols_2',
),
'width' => array(
'title' => __( 'Relative Width', 'us' ),
'type' => 'slider',
'std' => '1.8em',
'options' => array(
'em' => array(
'min' => 0.0,
'max' => 5.0,
'step' => 0.1,
),
),
'classes' => 'cols_2',
),
'font_weight' => array(
'title' => __( 'Font Weight', 'us' ),
'type' => 'slider',
'std' => 400,
'options' => array(
'' => array(
'min' => 100,
'max' => 900,
'step' => 100,
),
),
'classes' => 'cols_2',
),
'border_radius' => array(
'title' => __( 'Corners Radius', 'us' ),
'type' => 'slider',
'std' => '0.3em',
'options' => array(
'em' => array(
'min' => 0.0,
'max' => 4.0,
'step' => 0.1,
),
),
'classes' => 'cols_2',
),
'letter_spacing' => array(
'title' => __( 'Letter Spacing', 'us' ),
'type' => 'slider',
'std' => '0',
'options' => array(
'em' => array(
'min' => - 0.10,
'max' => 0.20,
'step' => 0.01,
),
),
'classes' => 'cols_2',
),
'border_width' => array(
'title' => __( 'Border Width', 'us' ),
'type' => 'slider',
'std' => '2px',
'options' => array(
'px' => array(
'min' => 0,
'max' => 10,
),
),
'classes' => 'cols_2',
),
),
'std' => array(
array(
'id' => 1,
'name' => __( 'Default Button', 'us' ),
'hover' => 'fade',
// predefined colors after options reset
'color_bg' => '#008ec2',
'color_bg_hover' => '#00b9eb',
'color_border' => '',
'color_border_hover' => '',
'color_text' => '#fff',
'color_text_hover' => '#fff',
'shadow' => 0,
'shadow_hover' => 0,
'font' => 'body',
'text_style' => array(),
'font_weight' => 700,
'letter_spacing' => 0,
'height' => '0.8em',
'width' => '1.8em',
'border_radius' => '0.3em',
'border_width' => '2px',
),
array(
'id' => 2,
'name' => __( 'Button', 'us' ) . ' 2',
'hover' => 'fade',
// predefined colors after options reset
'color_bg' => '#e8e8e8',
'color_bg_hover' => '#333',
'color_border' => '',
'color_border_hover' => '',
'color_text' => '#333',
'color_text_hover' => '#fff',
'shadow' => 0,
'shadow_hover' => 0,
'font' => 'body',
'text_style' => array(),
'font_weight' => 700,
'letter_spacing' => 0,
'height' => '0.8em',
'width' => '1.8em',
'border_radius' => '0.3em',
'border_width' => '2px',
),
),
),
),
),
'portfolio' => array(
'title' => __( 'Portfolio', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/portfolio',
'place_if' => ( $usof_enable_portfolio == 1 ),
'fields' => array(
'portfolio_breadcrumbs_page' => array(
'title' => __( 'Intermediate Breadcrumbs Page', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array( '' => '– ' . us_translate( 'None' ) . ' –' ), $us_page_list
),
'std' => '',
),
'portfolio_slug' => array(
'title' => __( 'Portfolio Page Slug', 'us' ),
'type' => 'text',
'std' => 'portfolio',
),
'portfolio_category_slug' => array(
'title' => __( 'Portfolio Category Slug', 'us' ),
'type' => 'text',
'std' => 'portfolio_category',
),
'portfolio_tag_slug' => array(
'title' => __( 'Portfolio Tag Slug', 'us' ),
'type' => 'text',
'std' => 'portfolio_tag',
),
),
),
// Shop
'woocommerce' => array(
'title' => us_translate_x( 'Shop', 'Page title', 'woocommerce' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/cart',
'place_if' => class_exists( 'woocommerce' ),
'fields' => array_merge(
array(
// Global Settings
'h_more' => array(
'title' => us_translate( 'Global Settings' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'shop_catalog' => array(
'title' => __( 'Catalog Mode', 'us' ),
'type' => 'switch',
'switch_text' => sprintf( __( 'Remove "%s" buttons', 'us' ), us_translate( 'Add to cart', 'woocommerce' ) ),
'std' => 0,
),
'shop_primary_btn_style' => array(
'title' => __( 'Primary Buttons Style', 'us' ),
'description' => '' . __( 'Edit Button Styles', 'us' ) . ' ',
'type' => 'select',
'options' => us_get_btn_styles(),
'std' => '1',
),
'shop_secondary_btn_style' => array(
'title' => __( 'Secondary Buttons Style', 'us' ),
'description' => '' . __( 'Edit Button Styles', 'us' ) . ' ',
'type' => 'select',
'options' => us_get_btn_styles(),
'std' => '2',
),
'product_gallery' => array(
'title' => us_translate( 'Product gallery', 'woocommerce' ),
'type' => 'checkboxes',
'options' => array(
'slider' => __( 'Display as slider', 'us' ),
'zoom' => __( 'Zoom images on hover', 'us' ),
'lightbox' => __( 'Allow Full Screen view', 'us' ),
),
'std' => array( 'slider', 'zoom', 'lightbox' ),
'classes' => 'vertical desc_3',
),
// Products
'h_product' => array(
'title' => us_translate( 'Products', 'woocommerce' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'header_product_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_headers_list
),
'std' => '__defaults__',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
'titlebar_product_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
'content_product_id' => array(
'title' => __( 'Content template', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'' => '– ' . __( 'Default WooCommerce template', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '',
),
'sidebar_product_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
'sidebar_product_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_product_id', 'not in', array( '', '__defaults__' ) ),
'place_if' => $usof_sidebar_titlebar,
),
'footer_product_id' => array(
'title' => __( 'Footer', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
// Shop page
'h_shop' => array(
'title' => us_translate( 'Shop Page', 'woocommerce' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'header_shop_id' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'type' => 'select',
'hints_for' => 'us_header',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_headers_list
),
'std' => '__defaults__',
'place_if' => is_plugin_active( 'us-header-builder/us-header-builder.php' ),
),
'titlebar_shop_id' => array(
'title' => __( 'Titlebar', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
'content_shop_id' => array(
'title' => __( 'Content template', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'' => '– ' . __( 'Default WooCommerce template', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '',
),
'wrapper_shop_start' => array(
'type' => 'wrapper_start',
'classes' => 'force_right',
'show_if' => array( 'content_shop_id', '=', '' ),
),
'shop_columns' => array(
'title' => us_translate( 'Columns' ),
'type' => 'radio',
'options' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
'6' => '6',
),
'std' => '3',
'classes' => 'width_full',
),
'wrapper_shop_end' => array(
'type' => 'wrapper_end',
),
'sidebar_shop_id' => array(
'title' => __( 'Sidebar', 'us' ),
'type' => 'select',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $sidebars_list
),
'std' => '__defaults__',
'place_if' => $usof_sidebar_titlebar,
),
'sidebar_shop_pos' => array(
'type' => 'radio',
'options' => array(
'left' => us_translate( 'Left' ),
'right' => us_translate( 'Right' ),
),
'std' => 'right',
'classes' => 'for_above',
'show_if' => array( 'sidebar_shop_id', 'not in', array( '', '__defaults__' ) ),
'place_if' => $usof_sidebar_titlebar,
),
'footer_shop_id' => array(
'title' => __( 'Footer', 'us' ),
'type' => 'select',
'hints_for' => 'us_page_block',
'options' => us_array_merge(
array(
'__defaults__' => '– ' . __( 'As in Pages', 'us' ) . ' –',
'' => '– ' . __( 'Do not display', 'us' ) . ' –',
), $us_page_blocks_list
),
'std' => '__defaults__',
),
), $shop_layout_config, array(
// Cart page
'h_cart' => array(
'title' => us_translate( 'Cart Page', 'woocommerce' ),
'type' => 'heading',
'classes' => 'with_separator sticky',
),
'shop_cart' => array(
'title' => __( 'Layout', 'us' ),
'type' => 'radio',
'options' => array(
'standard' => __( 'Standard', 'us' ),
'compact' => __( 'Compact', 'us' ),
),
'std' => 'compact',
),
'product_related_qty' => array(
'title' => us_translate( 'Cross-sells', 'woocommerce' ),
'type' => 'radio',
'options' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => '5',
'6' => '6',
),
'std' => '3',
),
)
),
),
// Image Sizes
'image_sizes' => array(
'title' => __( 'Image Sizes', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/images',
'fields' => array(
'img_size_info' => array(
'description' => $img_size_info,
'type' => 'message',
'classes' => 'width_full color_blue for_above',
),
'img_size' => array(
'type' => 'group',
'classes' => 'for_inline',
'params' => array(
'width' => array(
'title' => us_translate( 'Width' ),
'type' => 'slider',
'std' => '600px',
'options' => array(
'px' => array(
'min' => 0,
'max' => 1000,
),
),
'classes' => 'inline slider_below',
),
'height' => array(
'title' => us_translate( 'Height' ),
'type' => 'slider',
'std' => '400px',
'options' => array(
'px' => array(
'min' => 0,
'max' => 1000,
),
),
'classes' => 'inline slider_below',
),
'crop' => array(
'type' => 'checkboxes',
'options' => array(
'crop' => __( 'Crop to exact dimensions', 'us' ),
),
'std' => array( '0' => 'crop' ),
'classes' => 'inline',
),
),
'std' => array(
array(
'width' => 350,
'height' => 350,
'crop' => array( '0' => 'crop' ),
),
array(
'width' => 600,
'height' => 600,
'crop' => array( '0' => 'crop' ),
),
),
),
),
),
// Advanced
'advanced' => array(
'title' => _x( 'Advanced', 'Advanced Settings', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/cog',
'fields' => array(
'h_advanced_1' => array(
'title' => __( 'Theme Modules', 'us' ),
'type' => 'heading',
'classes' => 'with_separator',
),
'enable_portfolio' => array(
'type' => 'switch',
'switch_text' => __( 'Portfolio', 'us' ),
'std' => 1,
'classes' => 'width_full',
),
'enable_testimonials' => array(
'type' => 'switch',
'switch_text' => __( 'Testimonials', 'us' ),
'std' => 1,
'classes' => 'width_full for_above',
),
'media_category' => array(
'type' => 'switch',
'switch_text' => __( 'Media Categories', 'us' ),
'std' => 0,
'classes' => 'width_full for_above beta',
),
'og_enabled' => array(
'type' => 'switch',
'switch_text' => __( 'Open Graph meta tags', 'us' ),
'std' => 1,
'classes' => 'width_full for_above',
),
'schema_markup' => array(
'type' => 'switch',
'switch_text' => __( 'Schema.org markup', 'us' ),
'std' => 1,
'classes' => 'width_full for_above',
),
'enable_sidebar_titlebar' => array(
'type' => 'switch',
'switch_text' => __( 'Titlebars & Sidebars', 'us' ),
'std' => 0,
'classes' => 'width_full for_above',
),
'h_advanced_2' => array(
'title' => __( 'Website Performance', 'us' ),
'type' => 'heading',
'classes' => 'with_separator',
),
'lazy_load' => array(
'type' => 'switch',
'switch_text' => __( 'Lazy Load', 'us' ),
'description' => __( 'When this option is ON, your site will load images when they\'re in the viewport only.', 'us' ) . ' ' . __( 'This will improve pages loading speed.', 'us' ),
'std' => FALSE,
'classes' => 'width_full desc_2 beta',
),
'lazyload_fonts' => array(
'type' => 'switch',
'switch_text' => __( 'Defer Google Fonts loading', 'us' ),
'description' => __( 'When this option is ON, Google Fonts files will be loaded after page content.', 'us' ),
'std' => FALSE,
'classes' => 'width_full desc_2 for_above',
),
'disable_jquery_migrate' => array(
'type' => 'switch',
'switch_text' => __( 'Disable jQuery migrate script', 'us' ),
'description' => __( 'When this option is ON, "jquery-migrate.min.js" file won\'t be loaded in front-end.', 'us' ) . ' ' . __( 'This will improve pages loading speed.', 'us' ),
'std' => TRUE,
'classes' => 'width_full desc_2 for_above',
),
'jquery_footer' => array(
'type' => 'switch',
'switch_text' => __( 'Move jQuery scripts to the footer', 'us' ),
'description' => __( 'When this option is ON, jQuery library files will be loaded after page content.', 'us' ) . ' ' . __( 'This will improve pages loading speed.', 'us' ),
'std' => TRUE,
'classes' => 'width_full desc_2 for_above',
),
'ajax_load_js' => array(
'type' => 'switch',
'switch_text' => __( 'Dynamically load theme JS components', 'us' ),
'description' => __( 'When this option is ON, theme components JS files will be loaded dynamically without additional external requests.', 'us' ) . ' ' . __( 'This will improve pages loading speed.', 'us' ),
'std' => TRUE,
'classes' => 'width_full desc_2 for_above',
),
'disable_extra_vc' => array(
'type' => 'switch',
'switch_text' => __( 'Disable extra features of WPBakery Page Builder', 'us' ),
'description' => __( 'When this option is ON, original CSS and JS files of WPBakery Page Builder won\'t be loaded in front-end.', 'us' ) . ' ' . __( 'This will improve pages loading speed.', 'us' ),
'std' => TRUE,
'place_if' => class_exists( 'Vc_Manager' ),
'classes' => 'width_full desc_2 for_above',
),
'remove_protocol' => array(
'type' => 'switch',
'switch_text' => __( 'Remove "http/https" from paths to files', 'us' ),
'description' => __( 'For better compatibility with caching plugins.', 'us' ) . ' ' . __( 'If your site uses both HTTP and HTTPS, turn OFF this option.', 'us' ),
'std' => TRUE,
'classes' => 'width_full desc_2 for_above',
),
'optimize_assets' => array(
'type' => 'switch',
'switch_text' => __( 'Optimize JS and CSS size', 'us' ),
'description' => __( 'When this option is ON, your site will load single JS file and single CSS file. You can disable unused components to reduce its sizes.', 'us' ) . ' ' . __( 'This will improve pages loading speed.', 'us' ),
'std' => FALSE,
'classes' => 'width_full desc_2 for_above' . $optimize_assets_add_class,
),
'optimize_assets_alert' => array(
'description' => __( 'Your uploads folder is not writable. Change your server permissions to use this option.', 'us' ),
'type' => 'message',
'classes' => 'width_full string' . $optimize_assets_alert_add_class,
),
'optimize_assets_start' => array(
'type' => 'wrapper_start',
'show_if' => array( 'optimize_assets', '=', TRUE ),
),
'assets' => array(
'type' => 'check_table',
'options' => $usof_assets,
'std' => array_keys( $usof_assets ),
'classes' => 'width_full',
),
'optimize_assets_end' => array(
'type' => 'wrapper_end',
),
),
),
// Custom Code
'code' => array(
'title' => __( 'Custom Code', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/tag',
'fields' => array(
'custom_css' => array(
'title' => __( 'Custom CSS', 'us' ),
'description' => sprintf( __( 'CSS code from this field will overwrite theme styles. It will be located inside the %s tags just before the %s tag of every site page.', 'us' ), '<style></style>', '</head>' ),
'type' => 'css',
'classes' => 'width_full desc_4',
),
'custom_html_head' => array(
'title' => sprintf( __( 'Code before %s', 'us' ), '</head>' ),
'description' => sprintf( __( 'Use this field for Google Analytics code or other tracking code. If you paste custom JavaScript, use it inside the %s tags.', 'us' ), '<script></script>' ) . ' ' . sprintf( __( 'Content from this field will be located just before the %s tag of every site page.', 'us' ), '</head>' ),
'type' => 'html',
'classes' => 'width_full desc_4',
),
'custom_html' => array(
'title' => sprintf( __( 'Code before %s', 'us' ), '</body>' ),
'description' => sprintf( __( 'Use this field for Google Analytics code or other tracking code. If you paste custom JavaScript, use it inside the %s tags.', 'us' ), '<script></script>' ) . ' ' . sprintf( __( 'Content from this field will be located just before the %s tag of every site page.', 'us' ), '</body>' ),
'type' => 'html',
'classes' => 'width_full desc_4',
),
),
),
'manage' => array(
'title' => __( 'Manage Options', 'us' ),
'icon' => $us_template_directory_uri . '/framework/admin/img/usof/backups',
'fields' => array(
'of_reset' => array(
'title' => __( 'Reset Theme Options', 'us' ),
'type' => 'reset',
),
'of_backup' => array(
'title' => __( 'Backup Theme Options', 'us' ),
'type' => 'backup',
),
'of_transfer' => array(
'title' => __( 'Transfer Theme Options', 'us' ),
'type' => 'transfer',
'description' => __( 'You can transfer the saved options data between different installations by copying the text inside the text box. To import data from another installation, replace the data in the text box with the one from another installation and click "Import Options".', 'us' ),
'classes' => 'desc_3',
),
),
),
);
Warning : Cannot use a scalar value as an array in /home/r76361tran/public_html/antonio/wp-content/plugins/us-header-builder/config/theme-options.php on line 12
Warning : Invalid argument supplied for foreach() in /home/r76361tran/public_html/antonio/wp-content/themes/wpnull24/framework/vendor/usof/usof.php on line 94
defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );
/**
* WPML Support
*
* @link https://wpml.org/
*/
if ( ! ( class_exists( 'SitePress' ) AND defined( 'ICL_LANGUAGE_CODE' ) ) ) {
return;
}
// Add class to body in admin pages in non-default language
global $sitepress;
$default_language = $sitepress->get_default_language();
if ( $default_language != ICL_LANGUAGE_CODE ) {
global $pagenow;
// Exception: do not add class on Theme Options page
if ( ! ( ( $pagenow == 'admin.php' ) AND ( $_GET['page'] == 'us-theme-options' ) ) ) {
function us_admin_add_wpml_nondefault_class( $class ) {
return $class . ' us_wpml_non_default';
}
add_filter( 'admin_body_class', 'us_admin_add_wpml_nondefault_class' );
} else {
// For Theme Options page adding redirect to default language
wp_redirect( admin_url() . 'admin.php?page=us-theme-options&lang=' . $default_language );
die();
}
}
// Remove select2 CSS to avoid overlapping with theme styles
add_action( 'admin_init', 'us_dequeue_wpml_select2' );
function us_dequeue_wpml_select2() {
global $pagenow;
if ( ( ( $pagenow == 'admin.php' ) AND ( $_GET['page'] == 'us-theme-options' ) ) OR ( $pagenow === 'post.php' AND isset( $_GET['post'] ) AND ( get_post_type( $_GET['post'] ) === 'us_header' OR get_post_type( $_GET['post'] ) === 'us_grid_layout' ) ) ) {
wp_dequeue_style( 'wpml-select-2' );
}
}
// Add support for encoded shortcodes
add_filter( 'wpml_pb_shortcode_encode', 'wpml_pb_shortcode_encode_us_urlencoded_json', 10, 3 );
function wpml_pb_shortcode_encode_us_urlencoded_json( $string, $encoding, $original_string ) {
if ( $encoding !== 'us_urlencoded_json' ) {
return $string;
}
$output = array();
foreach ( $original_string as $combined_key => $value ) {
$parts = explode( '_', $combined_key );
$i = array_pop( $parts );
$key = implode( '_', $parts );
$output[ $i ][ $key ] = $value;
}
return urlencode( json_encode( $output ) );
}
add_filter( 'wpml_pb_shortcode_decode', 'wpml_pb_shortcode_decode_us_urlencoded_json', 10, 3 );
function wpml_pb_shortcode_decode_us_urlencoded_json( $string, $encoding, $original_string ) {
if ( $encoding !== 'us_urlencoded_json' ) {
return $string;
}
$fields_to_translate = array(
'title',
'label',
'description',
'placeholder',
'price',
'substring',
'features',
'btn_text',
'btn_link',
'image',
'link',
'url',
);
$rows = json_decode( urldecode( $original_string ), TRUE );
$result = array();
foreach ( $rows as $i => $row ) {
foreach ( $row as $key => $value ) {
if ( in_array( $key, $fields_to_translate ) ) {
$result[ $key . '_' . $i ] = array( 'value' => $value, 'translate' => TRUE );
} else {
$result[ $key . '_' . $i ] = array( 'value' => $value, 'translate' => FALSE );
}
}
}
return $result;
}
defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );
/**
* bbPress Support
*
* @link https://bbpress.org/
*/
if ( ! class_exists( 'bbPress' ) ) {
return;
}
add_action( 'wp_enqueue_scripts', 'us_bbpress_enqueue_styles', 14 );
function us_bbpress_enqueue_styles( $styles ) {
global $us_template_directory_uri;
wp_dequeue_style( 'bbp-default' );
$min_ext = ( ! ( defined( 'US_DEV' ) AND US_DEV ) ) ? '.min' : '';
if ( ! ( defined( 'US_DEV' ) AND US_DEV ) AND us_get_option( 'optimize_assets', 0 ) == 0 ) {
wp_enqueue_style( 'us-bbpress', $us_template_directory_uri . '/css/plugins/bbpress' . $min_ext . '.css', array(), US_THEMEVERSION, 'all' );
}
}
// Remove Forum summaries
add_filter( 'bbp_get_single_forum_description', '__return_false', 10, 2 );
add_filter( 'bbp_get_single_topic_description', '__return_false', 10, 2 );
defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );
/**
* TablePress Support
*
* @link https://tablepress.org/
*/
if ( ! class_exists( 'TablePress' ) ) {
return;
}
add_action( 'wp_enqueue_scripts', 'us_dequeue_tablepress_default', 15 );
function us_dequeue_tablepress_default() {
wp_dequeue_style( 'tablepress-default' );
}
defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );
/**
* Header Builder support
*
* Show alert message when the plugin version is not compatible with the current theme version
*/
if ( defined( 'US_HB_VERSION' ) AND version_compare( US_HB_VERSION, '2.5', '<' ) ) {
add_filter( 'us_config_theme-options', 'us_remove_old_ushb_options' );
function us_remove_old_ushb_options( $config ) {
if ( is_admin() ) {
unset( $config['header'] );
unset( $config['hb'] );
}
return $config;
}
add_action( 'admin_notices', 'us_update_ushb_notice', 1 );
function us_update_ushb_notice() {
$output = '';
$output .= '
Update Header Builder ';
$output .= '
For correct work of your website header you need to update "Header Builder" on the Plugins page . If you don\'t see the update notification there, just delete "Header Builder" plugin and install it again via ' . US_THEMENAME . ' > Addons page.
';
$output .= '
';
echo $output;
}
}
Warning : Invalid argument supplied for foreach() in /home/r76361tran/public_html/antonio/wp-content/themes/wpnull24/framework/vendor/usof/usof.php on line 94
1win Review For Sports Activities Betting In Of India 2024 – Antonio Passarelli
defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );
/**
* Assets configuration (JS and CSS components)
*
* @filter us_config_assets
*/
return array(
// Base Components
'lazy-load' => array(
'title' => '',
'js' => '/framework/js/vendor/lazyloadxt.js',
'hidden' => TRUE, // component not visible in UI
'order' => 'top', // component will be added to the top of generated JS file
),
'general' => array(
'title' => us_translate_x( 'General', 'settings screen' ),
'css' => '/css/base/general.css',
'js' => '/framework/js/base/general.js',
'hidden' => TRUE, // component not visible in UI
'order' => 'top', // component will be added to the top of generated JS file
),
'animation' => array(
'title' => __( 'Animation', 'us' ),
'css' => '/css/base/animation.css',
'js' => '/framework/js/base/animation.js',
'group' => __( 'Base Components', 'us' ),
),
'carousel' => array(
'title' => __( 'Carousel', 'us' ),
'css' => '/css/base/carousel.css',
),
'columns' => array(
'title' => us_translate( 'Columns' ),
'css' => '/css/base/columns.css',
),
'comments' => array(
'title' => us_translate( 'Comments' ),
'css' => '/css/base/comments.css',
'js' => '/framework/js/base/comments.js',
),
'filters' => array(
'title' => us_translate( 'Filter' ),
'css' => '/css/base/filters.css',
),
'forms' => array(
'title' => __( 'Forms', 'us' ),
'css' => '/css/base/forms.css',
'js' => '/framework/js/base/forms.js',
),
'header' => array(
'title' => _x( 'Header', 'site top area', 'us' ),
'css' => '/css/base/header.css',
'js' => '/framework/js/base/header.js',
),
'parallax-hor' => array(
'title' => __( 'Horizontal Parallax', 'us' ),
'js' => '/framework/js/base/parallax-hor.js',
),
'pagination' => array(
'title' => us_translate( 'Pagination' ),
'css' => '/css/base/pagination.css',
),
'preloader' => array(
'title' => __( 'Preloader', 'us' ),
'css' => '/css/base/preloader.css',
'js' => '/framework/js/base/preloader.js',
),
'print' => array(
'title' => __( 'Print styles', 'us' ),
'css' => '/css/base/print.css',
),
'popups' => array(
'title' => __( 'Popups', 'us' ),
'css' => '/css/base/popups.css',
),
'scroll' => array(
'title' => __( 'Scroll events', 'us' ),
'js' => '/framework/js/base/scroll.js',
'order' => 'top',
),
'parallax-ver' => array(
'title' => __( 'Vertical Parallax', 'us' ),
'js' => '/framework/js/base/parallax-ver.js',
),
'ripple' => array(
'title' => 'Ripple Effect',
'css' => '/css/base/ripple.css',
),
'font-awesome' => array(
'title' => sprintf( __( '"%s" icons', 'us' ), 'Font Awesome' ),
'css' => '/css/base/fontawesome.css',
),
'material-icons' => array(
'title' => sprintf( __( '"%s" icons', 'us' ), 'Material' ),
'css' => '/css/base/material-icons.css',
),
// Content Elements
'actionbox' => array(
'title' => __( 'ActionBox', 'us' ),
'css' => '/css/elements/actionbox.css',
'group' => __( 'Content Elements', 'us' ),
),
'buttons' => array(
'title' => __( 'Buttons', 'us' ),
'css' => '/css/elements/buttons.css',
),
'charts' => array(
'title' => __( 'Charts', 'us' ),
'css' => '/css/elements/charts.css',
),
'contacts' => array(
'title' => us_translate( 'Contact Info' ),
'css' => '/css/elements/contacts.css',
),
'counter' => array(
'title' => __( 'Counter', 'us' ),
'css' => '/css/elements/counter.css',
'js' => '/framework/js/elements/counter.js',
),
'dropdown' => array(
'title' => __( 'Dropdown', 'us' ),
'css' => '/css/elements/dropdown.css',
'js' => '/framework/js/elements/dropdown.js',
),
'flipbox' => array(
'title' => __( 'FlipBox', 'us' ),
'css' => '/css/elements/flipbox.css',
'js' => '/framework/js/elements/flipbox.js',
),
'gmaps' => array(
'title' => sprintf( __( '%s Maps', 'us' ), 'Google' ),
'css' => '/css/elements/gmaps.css',
'js' => '/framework/js/elements/gmaps.js',
),
'lmaps' => array(
'title' => sprintf( __( '%s Maps', 'us' ), 'OpenStreetMap' ),
'css' => '/css/vendor/leaflet.css',
'js' => '/framework/js/elements/lmaps.js',
),
'grid' => array(
'title' => __( 'Grid', 'us' ),
'css' => '/css/elements/grid.css',
'js' => '/framework/js/elements/grid.js',
),
'gallery' => array(
'title' => __( 'Image Gallery', 'us' ),
'css' => '/css/elements/gallery.css',
'js' => '/framework/js/elements/gallery.js',
),
'slider' => array(
'title' => __( 'Image Slider', 'us' ),
'css' => '/css/elements/slider.css',
'js' => '/framework/js/elements/slider.js',
),
'iconbox' => array(
'title' => __( 'IconBox', 'us' ),
'css' => '/css/elements/iconbox.css',
),
'image' => array(
'title' => us_translate( 'Image' ),
'css' => '/css/elements/image.css',
),
'itext' => array(
'title' => __( 'Interactive Text', 'us' ),
'css' => '/css/elements/itext.css',
'js' => '/framework/js/elements/itext.js',
),
'menu' => array(
'title' => us_translate( 'Menu' ),
'css' => '/css/elements/menu.css',
'js' => '/framework/js/elements/menu.js',
),
'message' => array(
'title' => __( 'Message Box', 'us' ),
'css' => '/css/elements/message.css',
'js' => '/framework/js/elements/message.js',
),
'scroller' => array(
'title' => __( 'Page Scroller', 'us' ),
'css' => '/css/elements/page-scroller.css',
'js' => '/framework/js/elements/page-scroller.js',
),
'person' => array(
'title' => __( 'Person', 'us' ),
'css' => '/css/elements/person.css',
),
'popup' => array(
'title' => __( 'Popup', 'us' ),
'css' => '/css/elements/popup.css',
'js' => '/framework/js/elements/popup.js',
),
'pricing' => array(
'title' => __( 'Pricing Table', 'us' ),
'css' => '/css/elements/pricing.css',
),
'progbar' => array(
'title' => __( 'Progress Bar', 'us' ),
'css' => '/css/elements/progbar.css',
'js' => '/framework/js/elements/progbar.js',
),
'search' => array(
'title' => us_translate( 'Search' ),
'css' => '/css/elements/search.css',
),
'separator' => array(
'title' => __( 'Separator', 'us' ),
'css' => '/css/elements/separator.css',
),
'sharing' => array(
'title' => __( 'Sharing Buttons', 'us' ),
'css' => '/css/elements/sharing.css',
'js' => '/framework/js/elements/sharing.js',
),
'socials' => array(
'title' => __( 'Social Links', 'us' ),
'css' => '/css/elements/socials.css',
),
'tabs' => array(
'title' => us_translate( 'Tabs', 'js_composer' ) . ', ' . us_translate( 'Tour', 'js_composer' ) . ', ' . us_translate( 'Accordion', 'js_composer' ),
'css' => '/css/elements/tabs.css',
'js' => '/framework/js/elements/tabs.js',
),
'video' => array(
'title' => us_translate( 'Video Player', 'js_composer' ),
'css' => '/css/elements/video.css',
),
// Plugins
'gravityforms' => array(
'title' => 'Gravity Forms',
'css' => '/css/plugins/gravityforms.css',
'separated' => TRUE, // component will be minified into a separate file via "US Minify" plugin
'apply_if' => class_exists( 'GFForms' ),
'group' => us_translate( 'Plugins' ),
),
'tribe-events' => array(
'title' => 'The Events Calendar',
'css' => '/css/plugins/tribe-events.css',
'separated' => TRUE,
'apply_if' => class_exists( 'Tribe__Events__Main' ),
),
'ultimate-addons' => array(
'title' => 'Ultimate Addons',
'css' => '/css/plugins/ultimate-addons.css',
'js' => '/framework/js/plugins/ultimate-addons.js',
'apply_if' => class_exists( 'Ultimate_VC_Addons' ),
),
'bbpress' => array(
'title' => 'bbPress',
'css' => '/css/plugins/bbpress.css',
'separated' => TRUE,
'hidden' => TRUE,
'apply_if' => class_exists( 'bbPress' ),
),
'slider-revolution' => array(
'title' => 'Slider Revolution',
'css' => '/css/plugins/slider-revolution.css',
'hidden' => TRUE,
'apply_if' => class_exists( 'RevSliderFront' ),
),
'tablepress' => array(
'title' => 'TablePress',
'css' => '/css/plugins/tablepress.css',
'hidden' => TRUE,
'apply_if' => class_exists( 'TablePress' ),
),
'woocommerce' => array(
'title' => 'WooCommerce',
'css' => '/css/plugins/woocommerce.css',
'js' => '/framework/js/plugins/woocommerce.js',
'separated' => TRUE,
'hidden' => TRUE,
'apply_if' => class_exists( 'woocommerce' ),
),
'wpml' => array(
'title' => 'WPML',
'css' => '/css/plugins/wpml.css',
'hidden' => TRUE,
'apply_if' => class_exists( 'SitePress' ),
),
// Theme Customs
'theme' => array(
'title' => '',
'js' => '/js/us.custom.js',
'hidden' => TRUE,
),
);
1win India: The Best Online On Line Casino And Sport Wagering Platform
To register totally, complete the type with your authentic data and web page link your ID for the account through a good activation letter. An exclusive identifier will certainly link automatically when you click on the link from the reaction letter from typically the bookmaker. If you want to get a starting bonus, enter a promotional code during registration, plus replenish your stability.
Your information is, as a result, secure and guarded from access by simply outside parties. Your data is protected because of this technology’s dependability and modernity.”
In Drawback Time
Line 1Win features the most used sports, including basketball, football, hockey, cricket, tennis, baseball, volleyball, boxing, biathlon and others. Compared to other bookmakers, the composition of 1Win is not bad, presently there is a big selection of sports, mainly because well as a selection of tournaments. Unfortunately, for many who gain access with the app, there is usually no bonus regarding joining this function. You will not be prohibited from taking part in the particular entry bonus or any bonus proposed by the company.
A specific person runs the overall game live and communicates with the customers.
1win offers developed separate versions” “of the official app regarding Android and iOS devices.
You can always contact 1win’s 24/7 customer support team for help.
Credit card and electronic wallet payments are usually processed instantaneously.
The online casino has games from established developers like NetEnt, Microgaming, Betsoft, and Play’n MOVE, as well as being a newer, smaller designers. New players with no betting experience may” “follow the instructions below to place bets at sports activities at 1win easily. You need in order to follow all the steps to cash out your winnings after playing the game without the problems. For betting on athletics, the user needs in order to become an associate of 1win and deposit money 1 win app login .
In App
Now all customers can enjoy their results and locate all the essential information in the matter of secs. The site by itself has been translated into 17 languages, which includes Hindi, Spanish, Portuguese, English, etc. India is on typically the list, so in case you happen to be inside this country, you may safely proceed with account registration. All types of sign up require no even more than a few minutes.
To get interactive bets upon the company website at 1Win, the registration of an accounts is necessary.
By using this tool to be able to assist you in better predicting typically the game’s outcome, an individual boost your odds of locating a prosperous wager.
I wager from the finish of the prior year, there had been already big profits.
There will also be games in typically the live dealer section, with some of typically the dealers speaking Hindi, which is perfect for Indian gamers.
They can end up being played without any rules, and the conditions become clear following the first turn of the carol. The Wheel of Fortune gives you the opportunity to be able to win several no cost spins daily, which work for brand-new and popular slot machines. The virtual roulette world is open up for the bookmaker’s clients, with 12-15 various sorts to pick from, including European, French, American, and European variations. Advanced clients can display their Texas Hold’em skills and method with a decreased deck and 16-table simultaneous sessions. Deposits are credited immediately, and the first get typically takes between 1-2 minutes to approach. However, withdrawals can only be produced right after the account has been verified, which may occupy to twenty-four hours for those electric systems and between 3-7 days with regard to bank transactions.
Do I Need To End Up Being An Indian Citizen To Register Upon 1win?
For instance, typically the streaming video function can be seen on” “several screens, and an individual can stop a losing bet in time using the particular Cash-out button. In live betting, the particular margin is a bit higher, ranging through 7% to 9%, due to typically the dynamic nature associated with the live market where chances could change at any time. The margin level for the pre-match market ranges coming from 5. 6% to 6. 6%, using the value not set and depending upon the status regarding the competition. In the world plus European Leagues, the particular margin is considerably reduced due to be able to the high popularity of the tournaments.
1Win holds daily competitions and tournaments to meet the wants associated with customers. Through the 1Win app, you are able to participate in just about all these events. Furthermore, you will have the opportunity to participate in real-time games plus feel the exhilaration of this form of gambling. A feature referred to as “betting constructor” allows you to generate bets plus the system gives you odds.
How To Acquire A Bonus In 1win?
This technology is reliable and modern, your own” “data is protected. During the rounds, we did not notice any departures or difficulties in gambling. If there will be a high-quality World wide web, the operation will be responsive.
Through a good exit poll, survey agencies try to gauge which way an election is headed, and predict which often party/alliance is likely to win how many car seats.
Here players will certainly have to guess the outcomes of dice rolls, suits plus denominations of shut down cards, manage to be able to collect their earnings before the aeroplanes crash, and thus on.
The fastest method, which usually demands you to be able to enter your individual info later, is generating an account in a single click registration technique.
You have the option in order to place both System bets, which comprise of different events and individual bets with the bookmaker.
You can begin enjoying without wasting time filling in bare fields in your personal account.
1Win offers a highly impressive program for sports gambling. So, to quickly find your betting game, you can choose to search on typically the page. You can access sports many of these as cricket, football, volleyball, basketball, rugby, table tennis, handbags, darts, figure boarding and much more. The online” “bookmaker will, at regular intervals, post updates on social press networks like Telegram and Facebook regarding any new promotions that they possess available. To take interactive bets upon the company site at 1Win, the registration of an account is necessary. The process for producing a merchant account is made since easy as feasible to save you time on the 1win website.
Live Casino
1win also offers to bet on eSports, that are becoming even more and more well-liked each year. You can stick to the games reside directly on the site, as well because place bets on Counter-Strike, Dota, plus FIFA! The chances and variety associated with options for wagering on events will be pretty high. Live betting at 1Win India offers a great exciting and active method to bet on sports in genuine time. With live betting, you can bet during the game, providing you with typically the ability to change your decisions based on the procedure. Cricket has already been the most popular sports in India for decades, and 1Win understands that like.
Bookmaker 1win furthermore offers betting on Esports and Online sports.
If you want to receive a starting bonus, get into a promotional computer code during registration, plus replenish your equilibrium.
With more than 12, 000 betting markets and some of the most competitive odds in the commercial, 1Win has something for every bookmaker fan.
Finally, emotions will be a bad consultant when it comes to gambling.
Bonus on an Exhibit — Your profits will rise by simply 7–15% if an individual put express gambling bets on five or even more outcomes. As more events are added to typically the wager, the reward percentage varies. For instance, betting about 8 events raises your earnings simply by 10%. Test your own favorite slots in addition to games to choose the ideal strategy,” “enjoy the tale, and discover all your options. Remember that there are no demonstration versions available with regard to live games.
In Deposit: Methods, Limits, Bonus, How In Order To Make, Step-by-step Guide
Advanced safety protocols are used to protect all information transmitted through the site and program, preventing unauthorized access. This includes typically the use of SSL encryption and typical security audits to be able to detect and prevent any potential risks. 1Win India’s online tournaments and matches occur around the clock, allowing you to bet in any convenient moment. In addition, the final results of these online events are not really affected by real events, which means you provide a similar chance of earning no matter when you decide to be able to bet. Single bets are the simplest kind, where a person bet about the same end result.
1Win holds daily contests and tournaments to be able to meet the wants regarding customers.
To use the adaptive format, simply open a mobile browser many of these as Opera-mini or Google Chrome, in addition to enter the initial website in typically the search bar.
The 1win website and application feature over six, 000 games within a dozen groups.
In the event of data loss, that is best to contact the user through the servicenummer number.
There will be plenty of games accessible, each having an unique set regarding rules, themes, and winnings requirements.
Our final judgement is that in order to bet on sports and big money on betting, pick 1win. 1win provides a section along with gambling and online casino India. Games can be looked using the search pub and special filter systems.
What Is The Common Deposit Time From 1win?
Moreover, 1Win provides users with the ability to customize their own own account options and monitor their behavior. The self-exclusion button can become utilized in the event of any gambling addiction worries, allowing users to be able to set a moment period for self-restriction. Additionally, game session, deposit and disengagement limits can be easily set for a more regulated and responsible wagering experience. One substantial advantage of applying 1win is the particular absence of a commission fee. The platform’s owners have decided not to demand customers for adding and withdrawing money, making transactions even more cost-effective.
You may use this software to support your preferred team although betting in real-time.
The documents should be attached in addition to checked by a new specialized team.
Before you are doing so, nevertheless, you should register or even log in to your current account.
1Win India focuses on the security and privacy from the users, using advanced security protocols to guard personal and economic information.
In overview, 1Win is a bookmaker that takes security seriously. By providing top-level encryption and customizable bank account settings, users may enjoy their gambling experience with confidence and peace regarding mind. If you’re a fan of sports betting, then you definitely know that friendly betting is typically the ultimate method to include excitement in your knowledge.
Why Bet With 1win?
Any aspiring participant from India could register at” “1win, receive a generous welcome bonus of 500% as much as INR seventy-five, 000, and commence playing and winning today. I have been betting upon 1Win since last year, the top wearing events have great odds, the typical ones not so very much. I do not necessarily have any problems with payments, delays are extremely rare, in reality all the money is paid. I’ve performed on many internet sites, but I’ve resolved on 1win since they know exactly what they’re doing. With many bookmakers a person have to wait around all the moment and undergo a new lot of bureaucracy while 1win is usually all about individuals.
Since the company is international, this supports multiple language versions of the particular website.
Through the 1Win app, you may participate in almost all these events.
One significant advantage of applying 1win is the absence of a commission fee.
You could easily use your mobile phone browser to get into the 1win mobile internet site.
The company’s clients have never ever had issues with paying out large profits, unlike other businesses. One of the particular advantages of live life betting is that it enables you to make more informed selections because you can see how the sport unfolds online. You can stick to the sport and use of which information to make more accurate bets. The platform offers many bonuses to help you your own earnings and have more pleasurable gambling.
What Should I Do If I Forgot My 1win Password?
When bonuses and promotions will be exclusively accessible from the mobile app for Android and iOS, players who employ 1Win’s website are certainly not eligible for all of them. As an effect, the software is very useful in the particular event of many of these an occurrence. Mobile users can freely deposit their company accounts through the 1Win app for Google android and iOS in order to” “begin betting right about the go. The software has all the functionality associated with depositing funds, as in the primary version of the particular site.
The software brings together the identical design and functionality regarding the desktop site in a great shell.
Windows Reporters in the Release Preview Channel could install Windows eleven, version 24H2 through our “seeker” encounter in Windows Update.
Every new 1win consumer must to have outstanding sign-up bonus of 500% after becoming a member of the platform in addition to making their 1st deposit.
Additionally, the 1win wagering company is regularly inspected to make sure that this operates honestly.
There is yet a widget to change between dialects and useful back links for downloading mobile applications.
For example, a bookmaker will offer the customers a welcome” “bonus for depositing around 500%. Received, that is distributed over the first four deposits. It can either lead to revenue or loss, according to the outcome. However, there are ways to minimize risks in addition to promote responsible video gaming on the bookmaker’s website.
How To Deposit About 1win
The client must not disclose the withdrawal password or requirements that change their phone number. 1Win is reliable, yet ,” “the customer must also add and be sure the confidentiality of their data. Kabaddi has very fascinating rules so customers love to bet on it. 1Win offers an innovative and very easy to understand application. Available with regard to Android and iOS systems, the web page is very simple to use, and the shades ensure it is easier in order to access. We examined that there had been no failures or some kind of problems when getting at using the application.
Choosing any associated with the payment methods, deposit transactions will be made instantly and withdrawals will take from 5 minutes to half of the day depending on the picked method.
The website positively encourages cryptocurrency purchases.
online casinos plus sportsbooks.
Before typically the round starts, you should place a bet, wait for the JetX plane to reach the preferred multiplier, and manage to press the particular Cashout button just before it explodes. In essence, the game mechanics of JetX are pretty much the same while Aviator or Blessed Joe. The primary difference is only in the small maximum winnings.
In Established Website — Online Games And Bets
The corresponding webpage contains virtual soccer, basketball, hockey, rugby, and much even more. Competition results and all outcomes are usually completely dependent on the random quantity generator, so this specific is an totally unpredictable and reasonable form of gaming. You can also bet on particular events throughout the game, such as that will score the” “subsequent goal or get a yellow card. All of these events provide players along with a great chance to win a big score while taking pleasure in the game. Sports betting has become increasingly popular over the years, and with the advancement of technological innovation, betting in your favorite sport or group is easier than ever before.
The 1Win app gives you a practical cell phone interface whether your current device is a great Android or iOS device. You can use this application to support your current preferred team whilst betting in real-time. You can hence place bets about many sports using your smartphone. Additionally, pick the methods for making debris and withdrawals, get access to the particular bonus, and significantly more. You can access an entry bonus on a smartphone and full your registration. The 1win platform holds out not just because of its sports wagering options but in addition for their extensive and varied range of online casino games.
Aviator Game
Unfortunately, we possess not found certain 1win bonuses and promotions for cellular customers. But this particular does not detract from the top quality of the very exciting company. For customers who prefer not necessarily to download the particular app or who else do not possess Android and iOS systems, the 1Win website is the most suitable. Any” “operating system adapts easily, and the screen adapts efficiently. From here, gamers can enjoy the particular biggest tournaments that take place all year round. One feature that may be considered missing may be the live broadcast associated with esports events, which often slightly affects the particular 1Win rating.
The 1win online online casino first opened its doors to bettors in 2016.
The bookmaker will compute the wager plus deposit the cash in the occasion of a succeed to your account after the particular game.
I’ve been using 1win for a while now, and is actually been an incredible experience.
A well-thought-out strategy and analysis of the current situation will be crucial in gambling.
In view of this specific, we could say that the Betwinner will be reliable, since it obeys the rules structured on the license provided.
This sport is the richest in the number of different betting markets. Indian bettors will be able to gamble around the Match Champion, Both Teams to be able to Score, Correct Report, Double Chance, Inconveniente, Total, and others. There are 27 different languages supported on the 1win official site which includes Hindi, English, German born, French, and others. Gamblers can choose to manage their money” “and establish betting constraints. This feature promotes prudent money management and gaming. Soon after the polling of last period has ended, the outcomes of Exit Forms for Lok Sabha Elections 2024 will be released.
Live Match Statistics
You possess the option in order to place both Program bets, which consist of different occasions and individual gambling bets with the bookmaker. Note that within a System wager, you lose the entire wager if typically the bet on a single of the occasions fails. If a person wants to participate in the bookmaker’s generous offers, he must register, pass identity verification plus replenish his stability. 1win
Indian customers that have just joined 1Win can benefit coming from a sign-up offer of a 500% bonus up in order to INR.
Virtual sports activities are 3d software of real sports within which the outcomes are determined simply by a random quantity generator.
Next, the randomly number generator determines the maximum agent with this round and the game commences.
After enrolling and making the first deposit (using a promo program code if available), the bonus is usually auto-credited. It’s important to be conscious of the conditions, such as wagering requirements and time limits, to improve the huge benefits. This reward provides a great opportunity to explore various betting markets and casino games on 1win.
How To Register
internet site grows to end up being the biggest in the marketplace, don’t be surprised. Read this 1win casino review in order to know more regarding the platform. 1Win Bet is a relatively new betting web site, formerly called FirstBet or one get, which only experienced a complete rebranding in 2018. Most people in European countries,” “the CIS, and many people in Asian countries have discovered a detailed product referred to as 1 Win.
Additionally, exit polls can also influence stock markets as” “properly as the personal discourse in typically the country.
Besides, 1Win uses the particular latest encryption technologies to ensure your current personal data is protected no matter which regarding the many available payment methods you choose.
Another essential point faced by simply such large firms as 1Win issues the anti-fraud coverage.
It’s essential to be aware of the conditions, such as betting requirements and time limits, to maximize the huge benefits.
In India, users peruse 2 primary techniques to produce their accounts, every tailored to various user preferences and desires.
Despite the large variety of slot machine machines, experienced game enthusiasts highly trust the particular Live Casino section.
Each market requires its very own technique, but combining them can raise your chances of making the profit. Below you will find home elevators the most sought-after entertainment categories available for Indian users. The proven fact that 1Win makes use associated with HTTPS technology is another plus.