| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702 |
- <?php
- /**
- * ReduxFramework Sample Config File
- * For full documentation, please visit: http://docs.reduxframework.com/
- */
- if ( ! class_exists( 'Redux' ) ) {
- return;
- }
- // This is your option name where all the Redux data is stored.
- $opt_name = "taskereasy_options";
- // This line is only for altering the demo. Can be easily removed.
- $opt_name = apply_filters( 'redux_demo/opt_name', $opt_name );
- /**
- * ---> SET ARGUMENTS
- * All the possible arguments for Redux.
- * For full documentation on arguments, please refer to: https://github.com/ReduxFramework/ReduxFramework/wiki/Arguments
- * */
- $theme = wp_get_theme(); // For use with some settings. Not necessary.
- $args = array(
- // TYPICAL -> Change these values as you need/desire
- 'opt_name' => $opt_name,
- // This is where your data is stored in the database and also becomes your global variable name.
- 'display_name' => $theme->get( 'Name' ),
- // Name that appears at the top of your panel
- 'display_version' => $theme->get( 'Version' ),
- // Version that appears at the top of your panel
- 'menu_type' => 'menu',
- //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
- 'allow_sub_menu' => true,
- // Show the sections below the admin menu item or not
- 'menu_title' => esc_html__( 'Taskereasy Options', 'taskereasy' ),
- 'page_title' => esc_html__( 'Taskereasy Options', 'taskereasy' ),
- // You will need to generate a Google API key to use this feature.
- // Please visit: https://developers.google.com/fonts/docs/developer_api#Auth
- 'google_api_key' => '',
- // Set it you want google fonts to update weekly. A google_api_key value is required.
- 'google_update_weekly' => false,
- // Must be defined to add google fonts to the typography module
- 'async_typography' => false,
- // Use a asynchronous font on the front end or font string
- //'disable_google_fonts_link' => true, // Disable this in case you want to create your own google fonts loader
- 'admin_bar' => true,
- // Show the panel pages on the admin bar
- 'admin_bar_icon' => 'dashicons-portfolio',
- // Choose an icon for the admin bar menu
- 'admin_bar_priority' => 50,
- // Choose an priority for the admin bar menu
- 'global_variable' => '',
- // Set a different name for your global variable other than the opt_name
- 'dev_mode' => false,
- // Show the time the page took to load, etc
- 'update_notice' => false,
- // If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
- 'customizer' => true,
- // Enable basic customizer support
- //'open_expanded' => true, // Allow you to start the panel in an expanded way initially.
- //'disable_save_warn' => true, // Disable the save warning when a user changes a field
- // OPTIONAL -> Give you extra features
- 'page_priority' => null,
- // Order where the menu appears in the admin area. If there is any conflict, something will not show. Warning.
- 'page_parent' => 'themes.php',
- // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
- 'page_permissions' => 'manage_options',
- // Permissions needed to access the options panel.
- 'menu_icon' => 'dashicons-portfolio',
- // Specify a custom URL to an icon
- 'last_tab' => '',
- 'network_admin' => true,
- 'network_sites' => true,
- // Force your panel to always open to a specific tab (by id)
- 'page_icon' => 'icon-themes',
- // Icon displayed in the admin panel next to your menu_title
- 'page_slug' => '',
- // Page slug used to denote the panel, will be based off page title then menu title then opt_name if not provided
- 'save_defaults' => true,
- // On load save the defaults to DB before user clicks save or not
- 'default_show' => false,
- // If true, shows the default value next to each field that is not the default value.
- 'default_mark' => '',
- // What to print by the field's title if the value shown is default. Suggested: *
- 'show_import_export' => true,
- // Shows the Import/Export panel when not used as a field.
- // CAREFUL -> These options are for advanced use only
- 'transient_time' => 60 * MINUTE_IN_SECONDS,
- 'output' => true,
- // Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output
- 'output_tag' => true,
- // Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
- 'footer_credit' => 'Taskereasy Theme Options Panel',
- // FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
- 'database' => '',
- // possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
- 'use_cdn' => true,
- // If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code.
- // HINTS
- 'hints' => array(
- 'icon' => 'el el-question-sign',
- 'icon_position' => 'right',
- 'icon_color' => 'lightgray',
- 'icon_size' => 'normal',
- 'tip_style' => array(
- 'color' => 'red',
- 'shadow' => true,
- 'rounded' => false,
- 'style' => '',
- ),
- 'tip_position' => array(
- 'my' => 'top left',
- 'at' => 'bottom right',
- ),
- 'tip_effect' => array(
- 'show' => array(
- 'effect' => 'slide',
- 'duration' => '500',
- 'event' => 'mouseover',
- ),
- 'hide' => array(
- 'effect' => 'slide',
- 'duration' => '500',
- 'event' => 'click mouseleave',
- ),
- ),
- )
- );
- // Panel Intro text -> before the form
- if ( ! isset( $args['global_variable'] ) || $args['global_variable'] !== false ) {
- if ( ! empty( $args['global_variable'] ) ) {
- $v = $args['global_variable'];
- } else {
- $v = str_replace( '-', '_', $args['opt_name'] );
- }
- } else {
- $args['intro_text'] = esc_html__( '<p>This text is displayed above the options panel. It isn\'t required, but more info is always better! The intro_text field accepts all HTML.</p>', 'taskereasy' );
- }
- Redux::setArgs( $opt_name, $args );
- /*
- * ---> END ARGUMENTS
- */
- // -> START General Section
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'General', 'taskereasy' ),
- 'desc' => esc_html__( 'Modify your theme general options', 'taskereasy' ),
- 'id' => 'general',
- 'icon' => 'el el-home',
- 'fields' => array(
- array(
- 'title' => esc_html__( 'Main Color', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Specify the theme main color.', 'taskereasy' ),
- 'id' => 'main_color',
- 'type' => 'color',
- 'transparent' => false,
- ),
- array(
- 'title' => esc_html__( 'Secondary Color', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Specify the theme secondary color.', 'taskereasy' ),
- 'id' => 'secondary_color',
- 'type' => 'color',
- 'transparent' => false,
- ),
- array(
- 'id' => 'header-logo',
- 'type' => 'media',
- 'url' => true,
- 'title' => esc_html__( 'Logo', 'taskereasy' ),
- 'compiler' => 'true',
- 'subtitle' => esc_html__( 'Upload your logo image here, or leave empty to show the website title instead', 'taskereasy' ),
- 'default' => array( 'url' => '' ),
- ),
- array(
- 'id' => 'css_editor',
- 'type' => 'ace_editor',
- 'title' => esc_html__('Custom CSS', 'taskereasy'),
- 'subtitle' => esc_html__('Paste your CSS code here.', 'taskereasy'),
- 'mode' => 'css',
- 'theme' => 'monokai',
- 'desc' => '',
- 'default' => ""
- ),
- )
- ) );
- Redux::setSection( $opt_name, array(
- 'title' => 'Theme Layout' ,
- 'desc' => esc_html__('This section control the theme\'s layout', 'taskereasy'),
- 'id' => 'theme-layout-options' ,
- 'customizer_width' => '400px' ,
- 'icon' => 'el el-list',
- 'fields' => array(
- array(
- 'id' => 'body_bg',
- 'type' => 'color',
- 'title' => esc_html__('Website body Background color', 'taskereasy'),
- 'validate' => 'color',
- ),
- ),
- ) );
- /***************************Header Options*******************/
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Header', 'taskereasy' ),
- 'id' => 'header',
- 'icon' => 'el el-website',
- 'fields' => array(
- array(
- 'id' => 'header_style',
- 'type' => 'select',
- 'title' => esc_html__('Header layout', 'taskereasy'),
- 'subtitle' => esc_html__('', 'taskereasy'),
- 'options' => array(
- 'header_style_1' => 'Main Header',
- 'header_style_2' => 'Transparent Header',
- ),
- 'default' => 'header_style_1',
- ),
- array(
- 'id' => 'topHeader-enable',
- 'type' => 'switch',
- 'title' => esc_html__( 'Header top bar', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Check if you want to enable header top bar', 'taskereasy' ),
- 'default' => false,
- 'on' => 'Enabled',
- 'off' => 'Disabled',
- ),
- array(
- 'id' => 'hide-user-login',
- 'type' => 'switch',
- 'required' => array( 'topHeader-enable', '=', '1' ),
- 'title' => esc_html__( 'Show user Login/register button', 'taskereasy' ),
- 'subtitle' => esc_html__( 'on = visible / off = hidden', 'taskereasy' ),
- 'default' => true,
- ),
- array(
- 'id' => 'login-text',
- 'type' => 'text',
- 'required' => array( 'hide-user-login', '=', '1' ),
- 'title' => esc_html__( 'Login Text', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Login Text', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- array(
- 'id' => 'login-url',
- 'type' => 'text',
- 'required' => array( 'hide-user-login', '=', '1' ),
- 'title' => esc_html__( 'Login URL', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Login URL', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- array(
- 'id' => 'hide-support',
- 'type' => 'switch',
- 'required' => array( 'topHeader-enable', '=', '1' ),
- 'title' => esc_html__( 'Show Support button', 'taskereasy' ),
- 'subtitle' => esc_html__( 'on = visible / off = hidden', 'taskereasy' ),
- 'default' => true,
- ),
- array(
- 'id' => 'support-text',
- 'type' => 'text',
- 'required' => array( 'hide-support', '=', '1' ),
- 'title' => esc_html__( 'Support Text', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Support Text', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- array(
- 'id' => 'support-url',
- 'type' => 'text',
- 'required' => array( 'hide-support', '=', '1' ),
- 'title' => esc_html__( 'Support URL', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Support URL', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- array(
- 'id' => 'header-top-phone',
- 'type' => 'text',
- 'required' => array( 'topHeader-enable', '=', '1' ),
- 'title' => esc_html__( 'Phone Info', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Phone Info', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- array(
- 'id' => 'header-top-search',
- 'type' => 'switch',
- 'required' => array( 'topHeader-enable', '=', '1' ),
- 'title' => esc_html__( 'Show Search Button', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Check if you want to show search button', 'taskereasy' ),
- 'default' => true,
- ),
- array(
- 'id' => 'header-top-social',
- 'type' => 'switch',
- 'required' => array( 'topHeader-enable', '=', '1' ),
- 'title' => esc_html__( 'Social media links', 'taskereasy' ),
- 'default' => true,
- ),
- array(
- 'id' => 'header-top-color',
- 'type' => 'color',
- 'title' => esc_html__('Top bar background color', 'taskereasy'),
- 'default' => '',
- 'required' => array( 'topHeader-enable', '=', '1' ),
- ),
- array(
- 'id' => 'header-bottom-color',
- 'type' => 'color',
- 'title' => esc_html__('Bottom header background color', 'taskereasy'),
- 'default' => '',
- ),
- array(
- 'id' => 'hide-cta',
- 'type' => 'switch',
- 'title' => esc_html__( 'Bottom Header Call to Action Button', 'taskereasy' ),
- 'subtitle' => esc_html__( 'on = visible / off = hidden', 'taskereasy' ),
- 'default' => false,
- ),
- array(
- 'id' => 'cta-text',
- 'type' => 'text',
- 'required' => array( 'hide-cta', '=', '1' ),
- 'title' => esc_html__( 'Button Text', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Button Text', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- array(
- 'id' => 'cta-url',
- 'type' => 'text',
- 'required' => array( 'hide-cta', '=', '1' ),
- 'title' => esc_html__( 'Button URL', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Button URL', 'taskereasy' ),
- 'default' => esc_html__( '', 'taskereasy' ),
- ),
- )
- ) );
- //Typography
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Typography', 'taskereasy' ),
- 'desc' => esc_html__( 'Modify and style your default page', 'taskereasy' ),
- 'id' => 'taskereasy-typography',
- 'icon' => 'el el-font',
- 'fields' => array(
- array(
- 'id' => 'typography-body',
- 'type' => 'typography',
- 'title' => esc_html__( 'Body Font', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Specify the body font properties.', 'taskereasy' ),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'all_styles'=> true,
- 'output' => array('body', '.sidebar .widget-posts .widget-post .post-content .post-title'),
- ),
- array(
- 'id' => 'nav_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Navigation Style and Anchor', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'line-height' => true,
- 'all_styles'=> true,
- 'output' => array('.navbar-nav li a, .navbar ul li ul.sub-menu li a'),
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- ),
- array(
- 'id' => 'nav_typo_lv2',
- 'type' => 'typography',
- 'title' => esc_html__('Navigation Level 2 and above style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'line-height' => true,
- 'all_styles'=> true,
- 'output' => array('.navbar-nav li a:hover, .navbar-nav li.active a, header.transparent.black-text .navbar-nav li a:hover, header.transparent.black-text .navbar-nav li.active a, .navbar ul li ul.sub-menu li a:hover'),
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- ),
- array(
- 'id' => 'h1_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Heading h1 Style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => true,
- 'all_styles'=> true,
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- 'output' => array('h1'),
- ),
- array(
- 'id' => 'h2_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Heading h2 Style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'all_styles'=> true,
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- 'output' => array('h2'),
- ),
- array(
- 'id' => 'h3_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Heading h3 Style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'all_styles'=> true,
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- 'output' => array('h3'),
- ),
- array(
- 'id' => 'h4_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Heading h4 Style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'all_styles'=> true,
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- 'output' => array('h4'),
- ),
- array(
- 'id' => 'h5_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Heading h5 Style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'all_styles'=> true,
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- 'output' => array('h5'),
- ),
- array(
- 'id' => 'h6_typo',
- 'type' => 'typography',
- 'title' => esc_html__('Heading h6 Style', 'taskereasy'),
- 'google' => true,
- 'font-backup' => false,
- 'text-align' => false,
- 'all_styles'=> true,
- 'units' =>'px',
- 'subtitle' => esc_html__('Typography option with each property can be called individually.', 'taskereasy'),
- 'output' => array('h6'),
- ),
- ),
- ));
- //inner pages
- Redux::setSection( $opt_name, array(
- 'title' => 'Inner Pages' ,
- 'desc' => esc_html__('This section control the inner pages', 'taskereasy'),
- 'id' => 'inner-pages-options' ,
- 'customizer_width' => '400px' ,
- 'icon' => 'el el-screen',
- 'output' => array('#inner-intro'),
- 'fields' => array(
- array(
- 'title' => esc_html__( 'Background image', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Add banner image in inner pages.', 'taskereasy' ),
- 'id' => 'banner_bg',
- 'url' => false,
- 'type' => 'media',
- ),
- ),
- ) );
- // -> START Blog Section
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Blog Options', 'taskereasy' ),
- 'desc' => esc_html__( 'Modify your theme blog options', 'taskereasy' ),
- 'id' => 'blog',
- 'icon' => 'el el-blogger',
- 'fields' => array(
- array(
- 'title' => esc_html__( 'Blog Type', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Specify the blog type.', 'taskereasy' ),
- 'id' => 'blog_type',
- 'type' => 'select',
- 'options' => array(
- 'classic' => 'Classic',
- 'grid' => 'Grid',
- 'list' =>'List'
- ),
- ),
- )
- ));
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Footer', 'taskereasy' ),
- 'desc' => esc_html__( 'Modify and style your main footer section', 'taskereasy' ),
- 'id' => 'footer-section',
- 'icon' => 'el el-photo',
- 'fields' => array(
- array(
- 'id' => 'footer-top-bar-control',
- 'type' => 'switch',
- 'title' => esc_html__( 'Display footer top bar', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Check if you want to display footer top bar', 'taskereasy' ),
- 'default' => true
- ),
- array(
- 'id' => 'footer-bg',
- 'type' => 'media',
- 'url' => true,
- 'title' => esc_html__( 'Footer Background', 'taskereasy' ),
- 'compiler' => 'true',
- 'subtitle' => esc_html__( 'Upload your background image here, or leave empty to show the website title instead', 'taskereasy' ),
- 'default' => '',
- 'required' => array( 'footer-top-bar-control', '=', '1' ),
- ),
- array(
- 'id' => 'footer-social-link',
- 'type' => 'switch',
- 'title' => esc_html__( 'Display footer social media links', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Check if you want to display social media links in the footer', 'taskereasy' ),
- 'default' => true,
- 'required' => array( 'footer-top-bar-control', '=', '1' ),
- ),
- array(
- 'id' => 'footer-copyright-control',
- 'type' => 'switch',
- 'title' => esc_html__( 'Display footer copyright', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Check if you want to display footer copyright', 'taskereasy' ),
- 'default' => true,
- ),
- array(
- 'id' => 'footer-copyright',
- 'type' => 'editor',
- 'required' => array( 'footer-copyright-control', '=', '1' ),
- 'title' => esc_html__( 'Copyright', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Specify the copyright text to show at the bottom of the website', 'taskereasy' ),
- 'default' => '© 2019 taskereasy All Rights Reserved',
- ),
- array(
- 'id' => 'footer-top-color',
- 'type' => 'color',
- 'title' => esc_html__('Top footer background color', 'taskereasy'),
- 'validate' => 'color',
- 'required' => array( 'footer-top-bar-control', '=', '1' ),
- ),
- array(
- 'id' => 'footer-bottom-color',
- 'type' => 'color',
- 'title' => esc_html__('Bottom footer background color', 'taskereasy'),
- 'validate' => 'color',
- ),
- )
- ) );
- //404 pages
- Redux::setSection( $opt_name, array(
- 'title' => '404 Options' ,
- 'desc' => esc_html__('This section control the 404 pages', 'taskereasy'),
- 'id' => '404-options' ,
- 'customizer_width' => '400px' ,
- 'icon' => 'el el-screen',
- 'fields' => array(
- array(
- 'title' => esc_html__( 'Image', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Add image in 404 page.', 'taskereasy' ),
- 'id' => '404_img',
- 'url' => false,
- 'type' => 'media',
- ),
- ),
- ) );
- // Social Media
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Social Media Links', 'taskereasy' ),
- 'desc' => esc_html__( 'Modify and style your social media links', 'taskereasy' ),
- 'id' => 'social-media',
- 'icon' => 'el el-link',
- 'fields' => array(
- array(
- 'id' => 'facebook',
- 'type' => 'text',
- 'title' => esc_html__( 'Facebook', 'taskereasy' ),
- ),
- array(
- 'id' => 'twitter',
- 'type' => 'text',
- 'title' => esc_html__( 'Twitter', 'taskereasy' ),
- ),
- array(
- 'id' => 'linkedin',
- 'type' => 'text',
- 'title' => esc_html__( 'Linkedin', 'taskereasy' ),
- ),
- array(
- 'id' => 'youtube',
- 'type' => 'text',
- 'title' => esc_html__( 'Youtube', 'taskereasy' ),
- ),
- array(
- 'id' => 'instagram',
- 'type' => 'text',
- 'title' => esc_html__( 'Instagram', 'taskereasy' ),
- ),
- array(
- 'id' => 'pinterest',
- 'type' => 'text',
- 'title' => esc_html__( 'Pinterest', 'taskereasy' ),
- ),
- ),
- ));
- /*********************portfolio option visible when portfolio plugin will be active**************/
- if(function_exists('taskereasy_install')){
- // -> START Portfolio Section
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Portfolio Options', 'taskereasy' ),
- 'desc' => esc_html__( 'Modify your theme portfolio options', 'taskereasy' ),
- 'id' => 'portfolio',
- 'icon' => 'el el-address-book',
- 'fields' => array(
- array(
- 'title' => esc_html__( 'Portfolio Type', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Specify the portfolio type.', 'taskereasy' ),
- 'id' => 'portfolio_type',
- 'type' => 'select',
- 'options' => array(
- 'col-two' => 'Two Columns',
- 'col-three' => 'Three Columns',
- ),
- ),
- array(
- 'title' => esc_html__( 'Single Portfolio Style', 'taskereasy' ),
- 'subtitle' => esc_html__( 'Select the portfolio style.', 'taskereasy' ),
- 'id' => 'portfolio_style',
- 'type' => 'select',
- 'options' => array(
- 'v1' => 'Version 1',
- 'v2' => 'Version 2',
- ),
- 'default' => 'v1',
- ),
- )
- ));
- }
- /***************************Google Options*******************/
- Redux::setSection( $opt_name, array(
- 'title' => esc_html__( 'Google Options', 'taskereasy' ),
- 'desc' => esc_html__( 'Add Google options', 'taskereasy' ),
- 'id' => 'google',
- 'icon' => 'el el-map-marker',
- 'fields' => array(
- array(
- 'id' => 'google-map-api',
- 'type' => 'text',
- 'title' => esc_html__( 'Google Map API', 'taskereasy' ),
- 'subtitle' => esc_html__( 'This API is used for Map Shortcode', 'taskereasy' ),
- 'placeholder' => esc_html__( 'Google Map API', 'taskereasy' ),
- ),
- array(
- 'id' => 'map-icon',
- 'type' => 'media',
- 'url' => true,
- 'title' => esc_html__( 'Google Maps Icon', 'taskereasy' ),
- 'compiler' => 'true',
- 'subtitle' => esc_html__( 'Upload your Maps Icon image here, or leave empty to show the default icon', 'taskereasy' ),
- ),
- )
- ));
|