<?php

/**
 * Theme options > General Options  > Mailchimp options
 */
$admin_options[] = array('slug' => 'mailchimp_options', 'parent' => 'general_options', "name" => __('MAILCHIMP OPTIONS', 'zn_framework'), "description" => __('The options below are related to Mailchimp (Online email marketing) platform integration in Kallyas. ', 'zn_framework'), "id" => "info_title12", "type" => "zn_title", "class" => "zn_full zn-custom-title-large zn-toptabs-margin");
$admin_options[] = array('slug' => 'mailchimp_options', 'parent' => 'general_options', "name" => __("Mailchimp API KEY", 'zn_framework'), "description" => __("Paste your mailchimp api key that will be used by the mailchimp widget.", 'zn_framework'), "id" => "mailchimp_api", "std" => '', "type" => "text");
$admin_options[] = array('slug' => 'mailchimp_options', 'parent' => 'general_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "mco_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#4zt7-E985Xw', __('Click here to access video tutorial for this options section.', 'zn_framework'), array('slug' => 'mailchimp_options', 'parent' => 'general_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/configure-mailchimp/', array('slug' => 'mailchimp_options', 'parent' => 'general_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'mailchimp_options', 'parent' => 'general_options'));
<?php

/**
 * Theme options > Blog Options  > Single blog item options
 */
global $sidebar_option;
if (!isset($sidebar_option) || empty($sidebar_option)) {
    $sidebar_option = WpkZn::getThemeSidebars();
}
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __("Use full width image", 'zn_framework'), "description" => __("Choose Use full width image option if you want the images to be full widht rather then the default layout", 'zn_framework'), "id" => "sb_use_full_image", "std" => 'no', "type" => "select", "options" => array('yes' => __('Use full width image', 'zn_framework'), 'no' => __('Use default layout', 'zn_framework')));
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __("Image Maximum Width (px)", 'zn_framework'), "description" => __("Add a custom maximum width for the image in the blog post. Leave blank for default value.", 'zn_framework'), "id" => "sb_bp_def_cwidth", "std" => "", "type" => "text", "placeholder" => "eg: 400px", 'dependency' => array("element" => 'sb_use_full_image', 'value' => array('no')));
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __("Show author info ?", 'zn_framework'), "description" => __("Choose if you want to show the author info section on single post item.", 'zn_framework'), "id" => "zn_show_author_info", "std" => 'yes', "type" => "toggle2", "value" => "yes");
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __("Show related posts ?", 'zn_framework'), "description" => __("Choose if you want to show related posts section.", 'zn_framework'), "id" => "zn_show_related_posts", "std" => 'yes', "type" => "toggle2", "value" => "yes");
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __("Show Social Share Buttons?", 'zn_framework'), "description" => __("Choose if you want to show the social share buttons bellow the post's content.", 'zn_framework'), "id" => "show_social", "std" => "show", "type" => "select", "options" => array('show' => __('Show social buttons', 'zn_framework'), 'hide' => __('Do not show social buttons', 'zn_framework')));
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __('Other options', 'zn_framework'), "description" => '', "id" => "sbo_title_main", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __("Display posts on multiple columns?", 'zn_framework'), "description" => __("Please select if you want .", 'zn_framework'), "id" => "sbo_multicolumns", "std" => "1", "type" => "select", "options" => array('1' => __('1 Column (default)', 'zn_framework'), '2' => __('2 Columns', 'zn_framework')));
$admin_options[] = array('slug' => 'single_blog_options', 'parent' => 'blog_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "sbio_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#Kd0a0kDrg1s', __('Click here to access video tutorial for this options section.', 'zn_framework'), array('slug' => 'recaptcha_options', 'parent' => 'general_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/setting-up-blog/', array('slug' => 'recaptcha_options', 'parent' => 'general_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'recaptcha_options', 'parent' => 'general_options'));
<?php

/**
 * Theme options > General Options  > Google Analytics
 */
$admin_options[] = array('slug' => 'google_analytics', 'parent' => 'general_options', "name" => __('GOOGLE ANALYTICS OPTIONS', 'zn_framework'), "description" => __('The options below are related to Google Analytics integration in Kallyas. ', 'zn_framework'), "id" => "info_title11", "type" => "zn_title", "class" => "zn_full zn-custom-title-large zn-toptabs-margin");
$admin_options[] = array('slug' => 'google_analytics', 'parent' => 'general_options', "name" => __("Google Analytics Code", 'zn_framework'), "description" => __("Paste your google analytics code below.", 'zn_framework'), "id" => "google_analytics", "std" => '', "type" => "textarea");
$admin_options[] = array('slug' => 'google_analytics', 'parent' => 'general_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "gao_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#zxQaeY_bFxY', __('Click here to access video tutorial for this options section.', 'zn_framework'), array('slug' => 'google_analytics', 'parent' => 'general_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/google-analytics/', array('slug' => 'google_analytics', 'parent' => 'general_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'google_analytics', 'parent' => 'general_options'));
<?php

/**
 * Theme options > General Options  > Favicon options
 */
$admin_options[] = array('slug' => 'advanced_options', 'parent' => 'advanced_options', 'id' => 'font_uploader', 'name' => 'Icon Font uploader', 'description' => 'Please select a zip archive containing the font (generate it using http://fontello.com).', 'type' => 'upload', 'supports' => array('file_extension' => 'zip', 'file_type' => 'application/octet-stream, application/zip'));
$admin_options[] = array('slug' => 'advanced_options', 'parent' => 'advanced_options', 'id' => 'zn_refresh_pb', 'name' => 'Refresh page builder data', 'description' => 'If you have made changes to the theme\'s page builder folder or files, you will need to press this button in order to refresh their css and folder structure.', 'type' => 'zn_ajax_call', 'ajax_call_setup' => array('action' => 'zn_refresh_pb', 'button_text' => 'Refresh page builder data'));
$admin_options[] = array('slug' => 'advanced_options', 'parent' => 'advanced_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "advo_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#F5bYMHBcHO0', __('Icon fonts uploader', 'zn_framework'), array('slug' => 'advanced_options', 'parent' => 'advanced_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'advanced_options', 'parent' => 'advanced_options'));
/************** */
$admin_options[] = array('slug' => 'custom_css', 'parent' => 'advanced_options', 'id' => 'custom_css', 'name' => 'Custom css', 'description' => 'Here you can enter your custom css that will be used by the theme.', 'type' => 'custom_css', 'class' => 'zn_full');
$admin_options[] = array('slug' => 'custom_css', 'parent' => 'advanced_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "adv_css_o_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#d4D9lAV8NEs', __('Add custom CSS', 'zn_framework'), array('slug' => 'custom_css', 'parent' => 'advanced_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/adding-custom-css/', array('slug' => 'custom_css', 'parent' => 'advanced_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'custom_css', 'parent' => 'advanced_options'));
$admin_options[] = array('slug' => 'custom_js', 'parent' => 'advanced_options', 'id' => 'custom_js', 'name' => 'Custom Javascript', 'description' => 'Here you can enter your custom javascript that will be added on all pages.', 'type' => 'custom_js', 'editor_type' => 'javascript', 'class' => 'zn_full');
$admin_options[] = array('slug' => 'custom_js', 'parent' => 'advanced_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "adv_js_o_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#DIvUKRBQ3BM', __('Add custom JS', 'zn_framework'), array('slug' => 'custom_js', 'parent' => 'advanced_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'custom_js', 'parent' => 'advanced_options'));
<?php

/**
 * Theme options > Blog Options  > Archive options
 */
global $sidebar_option;
if (!isset($sidebar_option) || empty($sidebar_option)) {
    $sidebar_option = WpkZn::getThemeSidebars();
}
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', 'id' => 'blog_style', 'name' => 'Blog color scheme', 'description' => 'Select the style of the blog', 'type' => 'select', 'std' => '', 'options' => array('' => 'Inherit from Global (Color options)', 'light' => 'Light', 'dark' => 'Dark'));
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Blog Columns", 'zn_framework'), "description" => __("Select the number of columns you want to use.", 'zn_framework'), "id" => "blog_style_layout", "std" => "1", "type" => "select", "options" => array('1' => __("1", 'zn_framework'), '2' => __("2", 'zn_framework'), '3' => __("3", 'zn_framework'), '4' => __("4", 'zn_framework')), "class" => "");
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Content to show", 'zn_framework'), "description" => __("Choose what content you want to show <b>Important : This only works for 1 column</b>", 'zn_framework'), "id" => "sb_archive_content_type", "std" => "full", "type" => "select", "options" => array('excerpt' => __('Excerpt', 'zn_framework'), 'full' => __('Full content', 'zn_framework')), 'dependency' => array("element" => 'blog_style_layout', 'value' => array('1')));
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Archive Page Title", 'zn_framework'), "description" => __("Enter the desired page title for the blog archive page.", 'zn_framework'), "id" => "archive_page_title", "type" => "text", "std" => __("BLOG & Gossip", 'zn_framework'), "translate_name" => __("Archive Page Title", 'zn_framework'), "class" => "");
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Archive page subtitle", 'zn_framework'), "description" => __("Enter the desired page subtitle for the blog archive page.", 'zn_framework'), "id" => "archive_page_subtitle", "type" => "text", "std" => __("This would be the blog category page", 'zn_framework'), "translate_name" => __("Archive Page Subtitle", 'zn_framework'), "class" => "");
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Use full width image", 'zn_framework'), "description" => __("Choose Use full width image option if you want the images to be full width rather then\n        the default layout", 'zn_framework'), "id" => "sb_archive_use_full_image", "std" => "no", "type" => "select", "options" => array('yes' => __('Use full width image', 'zn_framework'), 'no' => __('Use default layout', 'zn_framework')));
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Image Maximum Width (px)", 'zn_framework'), "description" => __("Add a custom maximum width for the blog-post images in the blog archive. Leave blank for default value.", 'zn_framework'), "id" => "sb_archive_def_cwidth", "std" => "", "type" => "text", "placeholder" => "eg: 400px", 'dependency' => array("element" => 'sb_archive_use_full_image', 'value' => array('no')));
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __("Use first attached image ?", 'zn_framework'), "description" => __("Choose yes if you want the theme to display the first image inside a page if no featured image is present", 'zn_framework'), "id" => "zn_use_first_image", "std" => 'yes', "options" => array('yes' => __("Yes", 'zn_framework'), 'no' => __("No", 'zn_framework')), "type" => "select");
$admin_options[] = array('slug' => 'blog_archive_options', 'parent' => 'blog_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "bgao_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#Kd0a0kDrg1s', __('Click here to access video tutorial for this options section.', 'zn_framework'), array('slug' => 'blog_archive_options', 'parent' => 'blog_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/setting-up-blog/', array('slug' => 'blog_archive_options', 'parent' => 'blog_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'blog_archive_options', 'parent' => 'blog_options'));
<?php

/**
 * Theme options > General Options  > Favicon options
 */
$activelist = WpkZn::getPortfolioCategories();
if (!empty($activelist)) {
    $allarr = array("*" => "All");
    $activelist = $allarr + $activelist;
}
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', 'id' => 'portfolio_scheme', 'name' => 'Portfolio color scheme', 'description' => 'Select the color scheme of the Portfolio', 'type' => 'select', 'std' => '', 'options' => array('' => 'Inherit from Global (Color options)', 'light' => 'Light', 'dark' => 'Dark'));
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Portfolio Archive style", 'zn_framework'), "description" => __("Select the desired style for the portfolio archive pages.", 'zn_framework'), "id" => "portfolio_style", "std" => "portfolio_sortable", "type" => "select", "options" => array('portfolio_category' => __('Portfolio Category', 'zn_framework'), 'portfolio_sortable' => __('Portfolio Sortable', 'zn_framework'), 'portfolio_carousel' => __('Portfolio Carousel Layout', 'zn_framework')), "class" => "");
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Frame Style", 'zn_framework'), "description" => __("Please choose which frame style to apply.", 'zn_framework'), "id" => "frame_style", "std" => 'classic', "type" => "select", "options" => array("classic" => 'Classic', "modern" => 'Modern', "minimal" => 'Minimal'), "dependency" => array('element' => 'portfolio_style', 'value' => array('portfolio_carousel')));
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Active Button in Portfolio Menu", 'zn_framework'), "description" => __("Choose the active category or wether all should be displayed on page load.", 'zn_framework'), "id" => "ptf_sort_activebutton", "std" => '*', "type" => "select", "options" => $activelist, 'dependency' => array('element' => 'portfolio_style', 'value' => array('portfolio_sortable')));
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Show load more button", 'zn_framework'), "description" => __("Choose if you want to show the load more button or not.", 'zn_framework'), "id" => "ptf_sort_loadmore", "std" => 'no', "type" => "toggle2", "value" => "yes", 'dependency' => array('element' => 'portfolio_style', 'value' => array('portfolio_sortable')));
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Portfolio items per page", 'zn_framework'), "description" => __("Please enter the desired number of portfolio items that will be displayed on a page.", 'zn_framework'), "id" => "portfolio_per_page_show", "std" => "4", "type" => "text");
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Number of columns", 'zn_framework'), "description" => __("Please enter how many portfolio items you want to load on a page if you choose to use\n\t\tthe portfolio category style.", 'zn_framework'), "id" => "ports_num_columns", "std" => "4", "options" => array('1' => __('1', 'zn_framework'), '2' => __('2', 'zn_framework'), '3' => __('3', 'zn_framework'), '4' => __('4', 'zn_framework')), "type" => "select", "dependency" => array('element' => 'portfolio_style', 'value' => array('portfolio_category', 'portfolio_sortable')));
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Show item details bellow post content", 'zn_framework'), "description" => __("Here, you can choose to show the portfolio item details like CLIENt, YEAR, etc. <b> Important : Will only work when you select 1 column layout </b> ).", 'zn_framework'), "id" => "ports_extra_content", "std" => "no", "options" => array('yes' => __('Show', 'zn_framework'), 'no' => __('Hide', 'zn_framework')), "type" => "select", 'dependency' => array('element' => 'portfolio_style', 'value' => array('portfolio_category')));
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Link Portfolio Media", 'zn_framework'), "description" => __("Select Yes if you want your portfolio images to be linked to the portfolio item as\n\t\topposed to open the image in lightbox. ( only works with portfolio sortable )", 'zn_framework'), "id" => "zn_link_portfolio", "std" => "no", "options" => array('yes' => __('Yes', 'zn_framework'), 'no' => __('No', 'zn_framework')), "type" => "select");
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __("Single item style", 'zn_framework'), "description" => __("Select the desired style for the portfolio single item pages.", 'zn_framework'), "id" => "portfolio_single_style", "std" => "", "type" => "select", "options" => array('' => __('Show compacted description', 'zn_framework'), 'full_desc' => __('Show full description', 'zn_framework')), "class" => "");
$admin_options[] = array('slug' => 'portfolio_options', 'parent' => 'portfolio_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "ptfo_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#rVA576HZaYA', __('Click here to access video tutorial for this options section.', 'zn_framework'), array('slug' => 'portfolio_options', 'parent' => 'portfolio_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/setting-up-portfolio/', array('slug' => 'portfolio_options', 'parent' => 'portfolio_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'portfolio_options', 'parent' => 'portfolio_options'));
<?php

/**
 * Theme options > General Options  > ReCaptcha options
 */
$recaptcha_url = esc_url('http://www.google.com/recaptcha');
$admin_options[] = array('slug' => 'recaptcha_options', 'parent' => 'general_options', "name" => __('RECAPTCHA OPTIONS', 'zn_framework'), "description" => sprintf(__('The options below are related to <a href="%s" target="_blank">Google ReCaptcha</a> security integration in Kallyas forms. ', 'zn_framework'), $recaptcha_url), "id" => "info_title13", "type" => "zn_title", "class" => "zn_full zn-custom-title-large zn-toptabs-margin");
$admin_options[] = array('slug' => 'recaptcha_options', 'parent' => 'general_options', "name" => __("Recaptcha style", 'zn_framework'), "description" => __("Choose the desired recapthca style.", 'zn_framework'), "id" => "rec_theme", "std" => "red", "type" => "select", "options" => array("red" => __("Red", 'zn_framework'), "white" => __("White", 'zn_framework'), "blackglass" => __("Blackglass", 'zn_framework'), "clean" => __("Clean", 'zn_framework')));
$admin_options[] = array('slug' => 'recaptcha_options', 'parent' => 'general_options', "name" => __("reCaptcha Public Key", 'zn_framework'), "description" => __("Please enter the Public key got from ", 'zn_framework') . $recaptcha_url, "id" => "rec_pub_key", "std" => "", "type" => "text");
$admin_options[] = array('slug' => 'recaptcha_options', 'parent' => 'general_options', "name" => __("reCaptcha Private Key", 'zn_framework'), "description" => __("Please enter the Private key got from ", 'zn_framework') . $recaptcha_url, "id" => "rec_priv_key", "std" => "", "type" => "text");
$admin_options[] = array('slug' => 'recaptcha_options', 'parent' => 'general_options', "name" => __('<span class="dashicons dashicons-editor-help"></span> HELP:', 'zn_framework'), "description" => __('Below you can find quick access to documentation, video documentation or our support forum.', 'zn_framework'), "id" => "rco_title", "type" => "zn_title", "class" => "zn_full zn-custom-title-md zn-top-separator");
$admin_options[] = zn_options_video_link_option('http://support.hogash.com/kallyas-videos/#MXRAmRVaOaY', __('Click here to access video tutorial for this options section.', 'zn_framework'), array('slug' => 'recaptcha_options', 'parent' => 'general_options'));
$admin_options[] = zn_options_doc_link_option('http://support.hogash.com/documentation/configure-recaptcha/', array('slug' => 'recaptcha_options', 'parent' => 'general_options'));
$admin_options[] = wp_parse_args(znpb_general_help_option('zn-admin-helplink'), array('slug' => 'recaptcha_options', 'parent' => 'general_options'));