<?php

/**
 * Options to inject in header.
 */
// File Security Check
if (!defined('ABSPATH')) {
    exit;
}
$new_options = array();
$new_options[] = array('name' => _x('WooCommerce shopping cart', 'theme-options', 'the7mk2'), 'type' => 'block');
presscore_options_apply_template($new_options, 'basic-header-element', 'header-elements-woocommerce_cart', array('caption' => array('divider' => false)));
$new_options[] = array('type' => 'divider');
$new_options['header-elements-woocommerce_cart-show_sub_cart'] = array('id' => 'header-elements-woocommerce_cart-show_sub_cart', 'name' => _x('Show drop down cart', 'theme-options', 'the7mk2'), 'type' => 'checkbox', 'std' => '1');
$new_options[] = array('type' => 'divider');
$new_options['header-elements-woocommerce_cart-show_subtotal'] = array('id' => 'header-elements-woocommerce_cart-show_subtotal', 'name' => _x('Show cart subtotal', 'theme-options', 'the7mk2'), 'type' => 'checkbox', 'std' => '0');
$new_options[] = array('type' => 'divider');
$new_options['header-elements-woocommerce_cart-show_counter'] = array('id' => 'header-elements-woocommerce_cart-show_counter', 'name' => _x('Show products counter', 'theme-options', 'the7mk2'), 'type' => 'radio', 'std' => 'allways', 'show_hide' => array('if_not_empty' => true, 'allways' => true), 'options' => array('never' => _x('Never', 'theme-options', 'the7mk2'), 'if_not_empty' => _x('If not empty', 'theme-options', 'the7mk2'), 'allways' => _x('Allways', 'theme-options', 'the7mk2')));
$new_options[] = array('type' => 'js_hide_begin');
$new_options['header-elements-woocommerce_cart-counter-style'] = array('id' => 'header-elements-woocommerce_cart-counter-style', 'name' => _x('Products counter style', 'theme-options', 'the7mk2'), 'type' => 'radio', 'std' => 'round', 'options' => array('round' => _x('Round', 'theme-options', 'the7mk2'), 'rectangular' => _x('Rectangular', 'theme-options', 'the7mk2')));
$new_options['header-elements-woocommerce_cart-counter-color'] = array('id' => 'header-elements-woocommerce_cart-counter-color', 'name' => _x('Products counter color', 'theme-options', 'the7mk2'), 'type' => 'color', 'std' => '#ffffff');
$new_options['header-elements-woocommerce_cart-counter-bg'] = array('id' => 'header-elements-woocommerce_cart-counter-bg', 'name' => _x('Products counter background', 'theme-options', 'the7mk2'), 'type' => 'images', 'class' => 'small', 'std' => 'accent', 'options' => array('accent' => array('title' => _x('Accent', 'theme-options', 'the7mk2'), 'src' => '/inc/admin/assets/images/color-accent.gif'), 'color' => array('title' => _x('Custom color', 'theme-options', 'the7mk2'), 'src' => '/inc/admin/assets/images/color-custom.gif'), 'gradient' => array('title' => _x('Custom gradient', 'theme-options', 'the7mk2'), 'src' => '/inc/admin/assets/images/color-custom-gradient.gif')));
$new_options['header-elements-woocommerce_cart-counter-bg-color'] = array('id' => 'header-elements-woocommerce_cart-counter-bg-color', 'name' => _x('Color', 'theme-options', 'the7mk2'), 'type' => 'color', 'std' => '#000000', 'dependency' => array(array(array('field' => 'header-elements-woocommerce_cart-counter-bg', 'operator' => '==', 'value' => 'color'))));
$new_options['header-elements-woocommerce_cart-counter-bg-gradient'] = array('id' => 'header-elements-woocommerce_cart-counter-bg-gradient', 'name' => _x('Gradient', 'theme-options', 'the7mk2'), 'type' => 'gradient', 'std' => array('#ffffff', '#000000'), 'dependency' => array(array(array('field' => 'header-elements-woocommerce_cart-counter-bg', 'operator' => '==', 'value' => 'gradient'))));
$new_options[] = array('type' => 'js_hide_end');
// add new options
if (isset($options)) {
    $options = dt_array_push_after($options, $new_options, 'header-before-elements-placeholder');
}
// cleanup
unset($new_options);
<?php

/**
 * Albums slug options.
 *
 * @package the7
 * @since 3.1.5
 */
// File Security Check
if (!defined('ABSPATH')) {
    exit;
}
$new_options['general-post_type_gallery_slug'] = array('id' => 'general-post_type_gallery_slug', 'name' => _x('Albums slug', 'theme-options', 'the7mk2'), 'std' => 'dt_gallery', 'type' => 'text', 'class' => 'mini');
// add new options
if (isset($options)) {
    $options = dt_array_push_after($options, $new_options, 'posts_slugs_placeholder');
}
// cleanup
unset($new_options);
// posts per page
$new_options[] = array("name" => _x('Maximum number of projects posts', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_max', "std" => 12, "type" => 'text', "sanitize" => 'ppp');
////////////////////////////////////
// Related projects dimensions //
////////////////////////////////////
// input
$new_options[] = array("name" => _x('Related posts height for fullwidth posts (px)', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_fullwidth_height', "std" => 210, "type" => 'text', "sanitize" => 'ppp');
// radio
$new_options[] = array("name" => _x('Related posts width for fullwidth posts', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_fullwidth_width_style', "std" => 'prop', "type" => 'radio', "options" => $prop_fixed_options, "show_hide" => array('fixed' => true));
// hidden area
$new_options[] = array('type' => 'js_hide_begin');
// input
$new_options[] = array("name" => _x('Width (px)', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_fullwidth_width', "std" => '210', "type" => 'text', "sanitize" => 'ppp');
$new_options[] = array('type' => 'js_hide_end');
// input
$new_options[] = array("name" => _x('Related posts height for posts with sidebar (px)', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_height', "std" => 180, "type" => 'text', "sanitize" => 'ppp');
// radio
$new_options[] = array("name" => _x('Related posts width for posts with sidebar', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_width_style', "std" => 'prop', "type" => 'radio', "options" => $prop_fixed_options, "show_hide" => array('fixed' => true));
// hidden area
$new_options[] = array('type' => 'js_hide_begin');
// input
$new_options[] = array("name" => _x('Width (px)', 'theme-options', 'the7mk2'), "id" => 'general-rel_projects_width', "std" => '180', "type" => 'text', "sanitize" => 'ppp');
$new_options[] = array('type' => 'js_hide_end');
$new_options[] = array('type' => 'js_hide_end');
$new_options[] = array("type" => "block_end");
// add new options
if (isset($options)) {
    $options = dt_array_push_after($options, $new_options, 'blog_and_portfolio_placeholder');
}
// cleanup
unset($new_options);
<?php

/**
 * Albums archive options.
 *
 * @package the7
 * @since 3.0.0
 */
// File Security Check
if (!defined('ABSPATH')) {
    exit;
}
$new_options[] = array('name' => _x('Albums archives', 'theme-options', 'the7mk2'), 'type' => 'block');
$new_options['template_page_id_gallery_category'] = array('id' => 'template_page_id_gallery_category', 'name' => _x('Albums category template', 'theme-options', 'the7mk2'), 'type' => 'pages_list');
// add new options
if (isset($options)) {
    $options = dt_array_push_after($options, $new_options, 'archive_placeholder');
}
// cleanup
unset($new_options);