HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux box12.multicloud.host 4.18.0-553.52.1.el8_10.x86_64 #1 SMP Wed May 14 09:36:12 EDT 2025 x86_64
User: kashmira (1008)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /home/kashmira/public_html/razitahir.com/wp-content/themes/upress/admin/options-init.php
<?php

    /**
     * For full documentation, please visit: http://docs.reduxframework.com/
     * For a more extensive sample-config file, you may look at:
     * https://github.com/reduxframework/redux-framework/blob/master/sample/sample-config.php
     */

    if ( ! class_exists( 'Redux' ) ) {
        return;
    }

    // This is your option name where all the Redux data is stored.
    $opt_name = "xpanel";

    /**
     * ---> 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(
        'opt_name' => 'xpanel',
        'use_cdn' => TRUE,
        'display_name' => 'xPanel - UrduPress',
        'display_version' => FALSE,
        'page_slug' => 'xpanel',
        'page_title' => 'xPanel Theme Settings',
        'update_notice' => FALSE,
        'intro_text' => '<p>You can customize your theme with different options with this panel</p>’',
        'footer_text' => '<p>Powered by <a href="http://www.stylothemes.com">StyloThemes</a></p>',
        'admin_bar' => TRUE,
        'menu_type' => 'submenu',
        'menu_title' => 'Theme Settings',
        'allow_sub_menu' => TRUE,
        'page_parent' => 'themes.php',
        'page_parent_post_type' => 'your_post_type',
        'customizer' => TRUE,
        'default_show' => TRUE,
        'default_mark' => '*',
        'google_api_key' => 'AIzaSyAZncm6O4E0LFyFh3Fv0MUDkJMSbJJkLIk',
        'class' => 'xpanel',
        'hints' => array(
            'icon' => 'el el-comment',
            'icon_position' => 'right',
            'icon_size' => 'normal',
            'tip_style' => array(
                'color' => 'light',
            ),
            'tip_position' => array(
                'my' => 'top left',
                'at' => 'bottom right',
            ),
            'tip_effect' => array(
                'show' => array(
                    'duration' => '500',
                    'event' => 'mouseover',
                ),
                'hide' => array(
                    'duration' => '500',
                    'event' => 'mouseleave unfocus',
                ),
            ),
        ),
        'output' => TRUE,
        'output_tag' => TRUE,
        'settings_api' => TRUE,
        'cdn_check_time' => '1440',
        'compiler' => TRUE,
        'page_permissions' => 'manage_options',
        'save_defaults' => TRUE,
        'show_import_export' => TRUE,
        'database' => 'options',
        'transient_time' => '3600',
        'network_sites' => TRUE,
    );

    // SOCIAL ICONS -> Setup custom links in the footer for quick links in your panel footer icons.
    $args['share_icons'][] = array(
        'url'   => 'https://www.facebook.com/stylotheme',
        'title' => 'Like us on Facebook',
        'icon'  => 'el el-facebook'
    );
    $args['share_icons'][] = array(
        'url'   => 'http://twitter.com/StyloThemes',
        'title' => 'Follow us on Twitter',
        'icon'  => 'el el-twitter'
    );
    $args['share_icons'][] = array(
        'url'   => 'http://www.linkedin.com/company/xitclub-solutions',
        'title' => 'Find us on LinkedIn',
        'icon'  => 'el el-linkedin'
    );

    Redux::setArgs( $opt_name, $args );

    /*
     * ---> END ARGUMENTS
     */

    /*
     * ---> START HELP TABS
     */

    $tabs = array(
        array(
            'id'      => 'redux-help-tab-1',
            'title'   => __( 'Need Support ?', 'admin_folder' ),
            'content' => __( '<h3>Having trouble setting up the theme ? Go ahead and submit a support ticket via <a href="http://stylothemes.com/shop/support" target="_blank">http://stylothemes.com/shop/support</a></h3>', 'admin_folder' )
        ),
        array(
            'id'      => 'redux-help-tab-2',
            'title'   => __( 'More Themes', 'admin_folder' ),
            'content' => __( '<p>Browse collection of our more themes <a href="http://stylothemes.com/shop/support" target="_blank">http://stylothemes.com/shop</a></p>', 'admin_folder' )
        )
    );
    Redux::setHelpTab( $opt_name, $tabs );

    // Set the help sidebar
    $content = __( '<p><a href="http://stylothemes.com/shop" target="_blank"><img src="http://stylothemes.com/shop/wp-content/themes/styloshop/images/logo-footer.png" width="150" height="80"></a></p>', 'admin_folder' );
    Redux::setHelpSidebar( $opt_name, $content );


    /*
     * <--- END HELP TABS
     */


    /*
     *
     * ---> START SECTIONS
     *
     */

    Redux::setSection( $opt_name, array(
        'title' => __( 'General Settings', 'xpanel-framework' ),
        'id'    => 'general',
        'desc'  => __( 'General Theme Settings.', 'xpanel-framework' ),
        'icon'  => 'el el-home'
    ) );

    Redux::setSection( $opt_name, array(
        'title'      => __( 'Logo & Favicon', 'xpanel-framework' ),
        'desc'       => __( 'Upload Your Website Logo & Favicon', 'xpanel-framework' ),
        'id'         => 'logo-favicon',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'       => 'logo',
                'type'     => 'media', 
                'url'      => true,
                'title'    => __('Logo URL', 'xpanel-framework'),
                'desc'     => __('Upload Your Website Logo.', 'xpanel-framework'),
                'subtitle' => __('Select Valid Image File ie: .png, .jpg, .gif', 'xpanel-framework'),
                'default'  => array(
                    'url'=>''.get_template_directory_uri().'/images/logo.png'
                ),
            ),

            array(
                'id'       => 'favicon',
                'type'     => 'media', 
                'url'      => true,
                'title'    => __('Favicon URL', 'xpanel-framework'),
                'desc'     => __('Upload Favicon Image for your website.', 'xpanel-framework'),
                'subtitle' => __('Select Valid Favicon File ie: .ico, .png', 'xpanel-framework'),
                'default'  => array(
                    'url'=>''.get_template_directory_uri().'/favicon.png'
                ),
            ),
        )
    ) );

    Redux::setSection( $opt_name, array(
        'title'      => __( 'Layout Settings', 'xpanel-framework' ),
        'desc'       => __( 'Manage your website Layout', 'xpanel-framework' ),
        'id'         => 'layout-settings',
        'subsection' => true,
        'fields'     => array(
                        array(
                'id'       => 'preloader',
                'type'     => 'checkbox',
                'title'    => __('Enable Preloader?', 'xpanel-framework'), 
                'subtitle' => __('Enable or Disable Preloader animation while your website is being loaded', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'default'  => '1'// 1 = on | 0 = off
            ),
            array(
                'id'       => 'totop',
                'type'     => 'checkbox',
                'title'    => __('Enable Back To Top?', 'xpanel-framework'), 
                'subtitle' => __('Enable or Disable Back To Top Button at bottom of your website', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'default'  => '1'// 1 = on | 0 = off
            ),
            array(
                'id'       => 'stickynav',
                'type'     => 'checkbox',
                'title'    => __('Enable Sticky Nav', 'xpanel-framework'), 
                'subtitle' => __('Make ypur top navigation bar stick to top while scroll down', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'default'  => '0'// 1 = on | 0 = off
            ),
        )
    ) );
    //End of Layout Settings 
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Body Backgrounds', 'xpanel-framework' ),
        'desc'       => __( 'Manage Background colors and images for main website body', 'xpanel-framework' ),
        'id'         => 'background-settings',
        'subsection' => true,
        'output'     => array('body'),
        'fields'     => array(
            
            array(
                'id'       => 'body-bg-color',
                'type'     => 'color',
                'title'    => __('Body Background Color', 'xpanel-framework'), 
                'subtitle' => __('Pick a background color for the theme (default: #fff).', 'xpanel-framework'),
                'default'  => '#f0f0f0',
                'validate' => 'color', 
            ),
            array(
                'id'       => 'body-bg-img',
                'type'     => 'media', 
                'url'      => true,
                'title'    => __('Body Background', 'xpanel-framework'),
                'desc'     => __('Select image for body background.', 'xpanel-framework'),
                'subtitle' => __('Select Valid Favicon File ie: .jpg, .png, .gif', 'xpanel-framework'),
                'default'  => '',
            ),
            array(
                'id'       => 'body-bg-repeat',
                'type'     => 'select',
                'title'    => __('Repeat Background', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'options'  => array(
                    'repeat' => 'Repeat',
                    'no-repeat' => 'No-Repeat',
                    'repeat-x' => 'Repeat-X',
                    'repeat-y' => 'Repeat-Y'
                ),
                'default'  => '1',
            )
        )
    ) );
    //End of Body Backgrounds Settings
    Redux::setSection( $opt_name, array(
        'title'      => __( 'News Ticker', 'xpanel-framework' ),
        'desc'       => __( 'Manage Top Scrollig News Bar', 'xpanel-framework' ),
        'id'         => 'news-ticker-settings',
        'subsection' => true,
        'output'     => "",
        'fields'     => array(
            
            array(
                'id'       => 'news-ticker-cat',
                'type'     => 'select',
                'title'    => __('Select Category', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Choose which category posts will be shown in News ticker. Leave empty fo all categories', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'news-ticker-limit',
                'type'     => 'select',
                'title'    => __('Limit Posts', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select how many posts you want to show in News Ticker', 'xpanel-framework'),
                'options'  => array(
                        '5' =>  '5',
                        '6' =>  '5',
                        '7' =>  '7',
                        '8' =>  '8',
                        '9' =>  '9',
                        '10' =>  '10'
                    ),
                'default'  => '5',
            ),
            array(
                'id'       => 'ticker-label',
                'type'     => 'text',
                'title'    => __('Ticker Label', 'redux-framework-demo'),
                'subtitle' => __(''),
                'desc'     => __('You can change your ticker label here.', 'redux-framework-demo'),
                'default'  => ' اہم خبریں'
            )
            
        )
    ) );
    //End of News Ticker Settings
    
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Weather', 'xpanel-framework' ),
        'desc'       => __( 'Manage Weather Widget in Header', 'xpanel-framework' ),
        'id'         => 'weather-settings',
        'subsection' => true,
        'output'     => "",
        'fields'     => array(
            
            array(
                'id'       => 'weather-widget',
                'type'     => 'select',
                'title'    => __('Enable Weather?', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select if you want to display the widget in header or not.', 'xpanel-framework'),
                'options'  => array(
                        '1' =>  'Yes',
                        '0' =>  'No',
                    ),
                'default'  => '1',
            ),
            
        )
    ) );
    //End of Weather Settings
    
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Footer Settings', 'xpanel-framework' ),
        'desc'       => __( 'Manage Footer copyright text', 'xpanel-framework' ),
        'id'         => 'footer-text-settings',
        'subsection' => true,
        'output'     => '',
        'fields'     => array(
            
            array(
                'id'=>'footer-copyright',
                'type' => 'textarea',
                'title' => __('Footer Copyright', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc' => __('Enter your website copyright text for footer. some HTML is allowed such as, <p>, <a>, <br>, <em>, <strong>', 'xpanel-framework'),
                'validate' => 'html_custom',
                'default' => 'Copyright © 2015, UrduPress all rights reserved. Theme Designed by <a href="http://www.stylothemes.com">StyloThemes</a>',
                'allowed_html' => array(
                    'a' => array(
                        'href' => array(),
                        'title' => array()
                    ),
                    'p' => array(
                        'class' => array(),
                        'id'    => array(),
                        'style' => array(),
                    ),
                    'br' => array(),
                    'em' => array(),
                    'strong' => array()
                )
            ),
            array(
                'id'       => 'footer-logo',
                'type'     => 'media', 
                'url'      => true,
                'title'    => __('Footer Logo', 'xpanel-framework'),
                'desc'     => __('Upload Your Website Logo For Footer.', 'xpanel-framework'),
                'subtitle' => __('Select Valid Image File ie: .png, .jpg, .gif', 'xpanel-framework'),
                'default'  => array(
                    'url'=>''.get_template_directory_uri().'/images/logo-footer.png'
                ),
            ),
            array(
                'id'=>'footer-about-text',
                'type' => 'textarea',
                'title' => __('Footer About', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc' => __('Enter your short about us text for footer. some HTML is allowed such as, <p>, <a>, <br>, <em>, <strong>', 'xpanel-framework'),
                'validate' => 'html_custom',
                'default' => 'اردو پریس ورڈپریس تھیمز کی دنیا میں پہلا مکمل اردو تھیم ہے، جس میں ایک اردو ویب سائٹ بنانے کے لیے درکار تمام سہولتیں موجود ہیں.',
                'allowed_html' => array(
                    'a' => array(
                        'href' => array(),
                        'title' => array()
                    ),
                    'p' => array(
                        'class' => array(),
                        'id'    => array(),
                        'style' => array(),
                    ),
                    'br' => array(),
                    'em' => array(),
                    'strong' => array()
                )
            ),//Footer copyright area

            
        )
    ) );
    //End of Header Backgrounds Settings
    
    Redux::setSection( $opt_name, array(
        'title' => __( 'Homepage', 'xpanel-framework' ),
        'id'    => 'homepage',
        'desc'  => __( 'Manage Homepage blocks and content areas.', 'xpanel-framework' ),
        'icon'  => 'el el-cogs'
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Post Blocks', 'xpanel-framework' ),
        'desc'       => __( 'Homepage Post blocks', 'xpanel-framework' ),
        'id'         => 'homepage-blocks',
        'subsection' => true,
        'fields'     => array(

            array(
                'id'       => 'homepage-block-count',
                'type'     => 'select',
                'title'    => __('Number of Blocks', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select how many post blocks you want to dispaly on Homepage', 'xpanel-framework'),
                'options'  => array(
                           '1' => '1',
                           '2' => '2',
                           '3' => '3',
                           '4' => '4',
                           '5' => '5',
                           '6' => '6',
                           '7' => '7'
                ),
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-1',
                'type'     => 'select',
                'title'    => __('Block 1', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 1 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-2',
                'type'     => 'select',
                'title'    => __('Block 2', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 2 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-3',
                'type'     => 'select',
                'title'    => __('Block 3', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 3 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-4',
                'type'     => 'select',
                'title'    => __('Block 4', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 4 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-5',
                'type'     => 'select',
                'title'    => __('Block 5', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 5 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-6',
                'type'     => 'select',
                'title'    => __('Block 6', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 6 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
            array(
                'id'       => 'homepage-block-7',
                'type'     => 'select',
                'title'    => __('Block 7', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Select Category For Block 7 Posts on Homepage', 'xpanel-framework'),
                'data'     => 'categories',
                'default'  => '0',
            ),
        )
    ) ); // Post Blocks 
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Sidebars', 'xpanel-framework' ),
        'desc'       => __( 'Homepage Sidebars Settings', 'xpanel-framework' ),
        'id'         => 'homepage-sidebars',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'       => 'mainsidebar-on-mobile',
                'type'     => 'switch',
                'title'    => __('Main Sidebar on Mobile', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Show Main Sidebar on Mobile Devices OR small resolution', 'xpanel-framework'),
                'default'  => true,
            ),
            array(
                'id'       => 'minisidebar-on-mobile',
                'type'     => 'switch',
                'title'    => __('Mini Sidebar on Mobile', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc'     => __('Show Mini Sidebar on Mobile Devices OR small resolution', 'xpanel-framework'),
                'default'  => true,
            )
        )
    ) ); // Sidebars

    //End of Homepage Setings
    Redux::setSection( $opt_name, array(
        'title' => __( 'Typography', 'xpanel-framework' ),
        'id'    => 'typography',
        'desc'  => __( 'Manage Font Family, Style, Size & Color.', 'xpanel-framework' ),
        'icon'  => 'el el-font'
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Headings', 'xpanel-framework' ),
        'desc'       => __( 'Select Font Styling for Headings', 'xpanel-framework' ),
        'id'         => 'font-headings',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'          => 'font-h1',
                'type'        => 'typography', 
                'title'       => __('H1', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                              'Sameer Regular' => 'Sameer Regular',
                              'AhmadLT Regular' => 'AhmadLT Regular',
                              'AkramUnicode Regular' => 'Akram Unicode',
                              'Alkatib Regular' => 'Alkatib Regular',
                              'AlQalam Regular' => 'AlQalam Regular',
                              'AlQalam Telenor' => 'AlQalam Telenor',
                              'Batool Unicode Regular' => 'Batool Unicode',
                              'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                              'Nastaleeq Like' => 'Nastaleeq Like',
                              'Pak Lotus' => 'Pak Lotus',
                              'Sameer Zikran' => 'Sameer Zikran',
                              'Microsoft Uighur' => 'Microsoft Uighur',
                              'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ),
                'font-backup' => true,
                'output'      => array('h1'),
                'units'       =>'px',
                'subtitle'    => __('Heading 1 (H1 tag)', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '38px',
                    'line-height'   => '70px'
                ),
            ),
            array(
                'id'          => 'font-h2',
                'type'        => 'typography', 
                'title'       => __('H2', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                              'Sameer Regular' => 'Sameer Regular',
                              'AhmadLT Regular' => 'AhmadLT Regular',
                              'AkramUnicode Regular' => 'Akram Unicode',
                              'Alkatib Regular' => 'Alkatib Regular',
                              'AlQalam Regular' => 'AlQalam Regular',
                              'AlQalam Telenor' => 'AlQalam Telenor',
                              'Batool Unicode Regular' => 'Batool Unicode',
                              'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                              'Nastaleeq Like' => 'Nastaleeq Like',
                              'Pak Lotus' => 'Pak Lotus',
                              'Sameer Zikran' => 'Sameer Zikran',
                              'Microsoft Uighur' => 'Microsoft Uighur',
                              'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ),
                'font-backup' => true,
                'output'      => array('h2'),
                'units'       =>'px',
                'subtitle'    => __('Heading 2 (H2 tag)', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size' => '34px',
                    'line-height' => '68px'
                ),
            ),
            array(
                'id'          => 'font-h3',
                'type'        => 'typography', 
                'title'       => __('H3', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                              'Sameer Regular' => 'Sameer Regular',
                              'AhmadLT Regular' => 'AhmadLT Regular',
                              'AkramUnicode Regular' => 'Akram Unicode',
                              'Alkatib Regular' => 'Alkatib Regular',
                              'AlQalam Regular' => 'AlQalam Regular',
                              'AlQalam Telenor' => 'AlQalam Telenor',
                              'Batool Unicode Regular' => 'Batool Unicode',
                              'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                              'Nastaleeq Like' => 'Nastaleeq Like',
                              'Pak Lotus' => 'Pak Lotus',
                              'Sameer Zikran' => 'Sameer Zikran',
                              'Microsoft Uighur' => 'Microsoft Uighur',
                              'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ),
                'font-backup' => true,
                'output'      => array('h3'),
                'units'       =>'px',
                'subtitle'    => __('Heading 3 (H3 tag)', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '30px',
                    'line-height' => '60px'
                ),
            ),
            array(
                'id'          => 'font-h4',
                'type'        => 'typography', 
                'title'       => __('H4', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ),
                'font-backup' => true,
                'output'      => array('h4'),
                'units'       =>'px',
                'subtitle'    => __('Heading 4 (H4 tag)', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '26px',
                    'line-height' => '48px'
                ),
            ),
            array(
                'id'          => 'font-h5',
                'type'        => 'typography', 
                'title'       => __('H5', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ),
                'font-backup' => true,
                'output'      => array('h5'),
                'units'       =>'px',
                'subtitle'    => __('Heading 5 (H5 tag)', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '18px',
                    'line-height' => '36px'
                ),
            ),
            array(
                'id'          => 'font-h6',
                'type'        => 'typography', 
                'title'       => __('H6', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ), 
                'font-backup' => true,
                'output'      => array('h6'),
                'units'       => 'px',
                'subtitle'    => __('Heading 6 (H6 tag)', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '18px',
                    'line-height' => '36px'
                ),
            ),
            
        )
    ) );
    //End of Headings
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Footer Widgets', 'xpanel-framework' ),
        'desc'       => __( 'Select Font Styling for Footer Widgets', 'xpanel-framework' ),
        'id'         => 'font-footer',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'          => 'font-footer-widgets',
                'type'        => 'typography', 
                'title'       => __('Footer Widget', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ), 
                'font-backup' => true,
                'output'      => array('.footer-widget'),
                'units'       =>'px',
                'subtitle'    => __('Main Navigation Font Settings', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#f0f0f0', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '16px',
                    'line-height' => '32px'
                ),
            ),
            
        )
    ) );
    //End of Footer Widget Font Settings
    
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Paragraphs', 'xpanel-framework' ),
        'desc'       => __( 'Select Font Styling for Paragraphs', 'xpanel-framework' ),
        'id'         => 'font-paragraphs',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'          => 'font-p',
                'type'        => 'typography', 
                'title'       => __('<p>', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ), 
                'font-backup' => true,
                'output'      => array('.entry-content p'),
                'units'       =>'px',
                'subtitle'    => __('Paragraph Font Settings', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#555', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '22px',
                    'line-height' => '44px'
                ),
            ),
            
        )
    ) );
    //End of Paragraphs
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Menu', 'xpanel-framework' ),
        'desc'       => __( 'Select Font Styling for Top Menu', 'xpanel-framework' ),
        'id'         => 'font-navigation',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'          => 'font-nav',
                'type'        => 'typography', 
                'title'       => __('<p>', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ), 
                'font-backup' => true,
                'output'      => '.main-menu',
                'units'       =>'px',
                'subtitle'    => __('Main Navigation Font Settings', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#f0f0f0', 
                    'font-style'  => '400', 
                    'font-family' => 'Alkatib Regular', 
                    'google'      => false,
                    'font-size'   => '20px',
                    'line-height' => '30px'
                ),
            ),
            
        )
    ) );
    //End of Navigation
    Redux::setSection( $opt_name, array(
        'title'      => __( 'News Ticker', 'xpanel-framework' ),
        'desc'       => __( 'Select Font Styling for News Ticker', 'xpanel-framework' ),
        'id'         => 'font-ticker',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'          => 'font-ticker-label',
                'type'        => 'typography', 
                'title'       => __('News Ticker Label', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ), 
                'font-backup' => true,
                'output'      => array('.breaking_head'),
                'units'       =>'px',
                'subtitle'    => __('News Ticker Label Font Settings', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '20px',
                    'line-height' => '24px'
                ),
            ),
            array(
                'id'          => 'font-ticker-body',
                'type'        => 'typography', 
                'title'       => __('News Ticker Body', 'xpanel-framework'),
                'google'      => false, 
                'fonts'       => array(
                      'Sameer Regular' => 'Sameer Regular',
                      'AhmadLT Regular' => 'AhmadLT Regular',
                      'AkramUnicode Regular' => 'Akram Unicode',
                      'Alkatib Regular' => 'Alkatib Regular',
                      'AlQalam Regular' => 'AlQalam Regular',
                      'AlQalam Telenor' => 'AlQalam Telenor',
                      'Batool Unicode Regular' => 'Batool Unicode',
                      'Fajar Nastaleeq' => 'Fajar Nastaleeq',
                      'Nastaleeq Like' => 'Nastaleeq Like',
                      'Pak Lotus' => 'Pak Lotus',
                      'Sameer Zikran' => 'Sameer Zikran',
                      'Microsoft Uighur' => 'Microsoft Uighur',
                      'nafeesnastaleeq' => 'Nafees Nastaleeq',
                ), 
                'font-backup' => true,
                'output'      => array('.breaking_body'),
                'units'       =>'px',
                'subtitle'    => __('News Ticker Body Font Settings', 'xpanel-framework'),
                'default'     => array(
                    'color'       => '#222', 
                    'font-style'  => '400', 
                    'font-family' => 'nafeesnastaleeq', 
                    'google'      => false,
                    'font-size'   => '18px',
                    'line-height' => '36px'
                ),
            ),
            
        )
    ) );
    //End of News Ticker Font Settings
    Redux::setSection( $opt_name, array(
        'title' => __( 'Social Media', 'xpanel-framework' ),
        'id'    => 'social',
        'desc'  => __( 'Social Media Icons & Sharing Settings.', 'xpanel-framework' ),
        'icon'  => 'el el-share'
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'URL Settings', 'xpanel-framework' ),
        'desc'       => __( 'Enter Your Social Media Profile Links. These linked icons will be displayed in footer.', 'xpanel-framework' ),
        'id'         => 'social-urls',
        'subsection' => true,

        'fields'     => array(
            array(
                'id'       => 'fb-url',
                'type'     => 'text',
                'title'    => __('Facebook URL', 'xpanel-framework'),
                'subtitle' => __('Enter your facebook page or profile URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.facebook.com/xitclubsolutions'
            ),
            array(
                'id'       => 'twitter-url',
                'type'     => 'text',
                'title'    => __('Twitter URL', 'xpanel-framework'),
                'subtitle' => __('Enter your twitter profile URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.twitter.com/xitclub'
            ),
            array(
                'id'       => 'gplus-url',
                'type'     => 'text',
                'title'    => __('Google+ URL', 'xpanel-framework'),
                'subtitle' => __('Enter your Google+ page or profile URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://plus.google.com/+Xitclubpage'
            ),
            array(
                'id'       => 'pinterest-url',
                'type'     => 'text',
                'title'    => __('Pinterest URL', 'xpanel-framework'),
                'subtitle' => __('Enter your Pinterest profile URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.pinterest.com/xitclub'
            ),
            array(
                'id'       => 'linkedin-url',
                'type'     => 'text',
                'title'    => __('LinkedIn URL', 'xpanel-framework'),
                'subtitle' => __('Enter your LinkedIn profile or Company URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.linkedin.com/company/xitclub-solutions'
            ),
            array(
                'id'       => 'reddit-url',
                'type'     => 'text',
                'title'    => __('Reddit URL', 'xpanel-framework'),
                'subtitle' => __('Enter your Reddit profile or sub-reddit URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.reddit.com/xitclub'
            ),
            array(
                'id'       => 'stumble-url',
                'type'     => 'text',
                'title'    => __('StumbleUpon URL', 'xpanel-framework'),
                'subtitle' => __('Enter your StumbleUpon profile URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.stumbleupon.com/xitclub'
            ),
            array(
                'id'       => 'youtube-url',
                'type'     => 'text',
                'title'    => __('YouTube URL', 'xpanel-framework'),
                'subtitle' => __('Enter your YouTube Channel or profile URL here.', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'validate' => 'url',
                'msg'      => 'Please enter a valid URL',
                'default'  => 'http://www.youtube.com/user/xitclub'
            ),
        )
    ) );
    //End of Social Media URL Settings
    
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Sharing Settings', 'xpanel-framework' ),
        'desc'       => __( 'Manage Sharing & Social Media Button Settings', 'xpanel-framework' ),
        'id'         => 'social-settings',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'       => 'social-sidebar',
                'type'     => 'checkbox',
                'title'    => __('Enable Sharing Bar', 'xpanel-framework'), 
                'subtitle' => __('Enable or Disable Social Media Sharing Vertical Sidebar', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'default'  => '1'// 1 = on | 0 = off
            ),
            array(
                'id'       => 'social-postion',
                'type'     => 'select',
                'title'    => __('Select Position', 'xpanel-framework'), 
                'subtitle' => __('Slect where you want to display sidebar, Left or Right', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'options'  => array(
                    '1' => 'Right',
                    '2' => 'Left'
                ),
                'default'  => '1',
            ),
            array(
                'id'       => 'social-rounded',
                'type'     => 'checkbox',
                'title'    => __('Enable Rounded Icons?', 'xpanel-framework'), 
                'subtitle' => __('If Enabled, Icons will be in round shape. Default are Square', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'default'  => '0'// 1 = on | 0 = off
            ),
            array(
                'id'       => 'social-hover',
                'type'     => 'checkbox',
                'title'    => __('Hover Effects?', 'xpanel-framework'), 
                'subtitle' => __('Enable or Disable Beautiful Hover effect on social media icons', 'xpanel-framework'),
                'desc'     => __('', 'xpanel-framework'),
                'default'  => '1'// 1 = on | 0 = off
            ),
        )
    ) );
    /* End of Social Media Icons Settings */
    Redux::setSection( $opt_name, array(
        'title' => __( 'Advertisements', 'xpanel-framework' ),
        'id'    => 'adverts',
        'desc'  => __( 'Manage Ads within your website.', 'xpanel-framework' ),
        'icon'  => 'el el-website'
    ) );

    Redux::setSection( $opt_name, array(
        'title'      => __( 'Manage Ads', 'xpanel-framework' ),
        'desc'       => __( 'Manage Ads on your website', 'xpanel-framework' ),
        'id'         => 'manage-ads',
        'subsection' => true,
        'fields'     => array(
            array(
                'id'=>'header-a',
                'type' => 'textarea',
                'title' => __('Header Advertisement (728x90)', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc' => __('Enter your adsense or other advertisement code of 728x90.', 'xpanel-framework'),
                'validate' => 'html_custom',
                'default' => '',
                'allowed_html' => array(
                    'a' => array(
                        'href' => array(),
                        'title' => array()
                    ),
                    'img' => array(
                        'src' => array(),
                        'title' => array(),
                        'alt'   => array(),
                        'width' => array(),
                        'height' => array(),
                        'class' => array(),
                        'id' => array(),
                        'style' => array()

                    ),
                    'iframe' => array(
                        'src' => array(),
                        'width' => array(),
                        'height' => array(),
                        'class' => array(),
                        'id' => array(),
                        'style' => array()
                    ),
                    "ins" => array(
                            "style"=>array(),
                            "class"=>array(),
                            "data-ad-client"=>array(),
                            "data-ad-slot"=>array(),
                        ),
                    "script" => array(
                            "async"=>array(),
                            "src"=>array(),
                            "type"=>array(),
                            "data-id"=>array(),
                            "data-format"=>array(),
                    ),
                    'br' => array(),
                    'em' => array(),
                    'strong' => array()
                )
            ),//Header Ad Large Screen

            array(
                'id'=>'header-a-f',
                'type' => 'textarea',
                'title' => __('Header Advertisement - Responsive (468x60)', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc' => __('This Ad wil be showen on small screen devices.', 'xpanel-framework'),
                'validate' => 'html_custom',
                'default' => '',
                'allowed_html' => array(
                    'a' => array(
                        'href' => array(),
                        'title' => array()
                    ),
                    'img' => array(
                        'src' => array(),
                        'title' => array(),
                        'alt'   => array(),
                        'width' => array(),
                        'height' => array(),
                        'class' => array(),
                        'id' => array(),
                        'style' => array()

                    ),
                    'iframe' => array(
                        'src' => array(),
                        'width' => array(),
                        'height' => array(),
                        'class' => array(),
                        'id' => array(),
                        'style' => array()
                    ),
                    "ins" => array(
                            "style"=>array(),
                            "class"=>array(),
                            "data-ad-client"=>array(),
                            "data-ad-slot"=>array(),
                    ),
                    "script" => array(
                            "async"=>array(),
                            "src"=>array(),
                            "type"=>array(),
                            "data-id"=>array(),
                            "data-format"=>array(),
                    ),
                    'br' => array(),
                    'em' => array(),
                    'strong' => array()
                )
            ),//Header Ad Responsive

            array(
                'id'=>'post-below-a',
                'type' => 'textarea',
                'title' => __('Below Post Ad', 'xpanel-framework'), 
                'subtitle' => __('', 'xpanel-framework'),
                'desc' => __('Enter your adsense or other advertisement. This will be displayed at the bottom of each Post.', 'xpanel-framework'),
                'validate' => 'html_custom',
                'default' => '',
                'allowed_html' => array(
                    'a' => array(
                        'href' => array(),
                        'title' => array()
                    ),
                    'iframe' => array(
                        'src' => array(),
                        'width' => array(),
                        'height' => array(),
                        'class' => array(),
                        'id' => array(),
                        'style' => array()
                    ),
                    'img' => array(
                        'src' => array(),
                        'title' => array(),
                        'alt'   => array(),
                        'width' => array(),
                        'height' => array(),
                        'class' => array(),
                        'id' => array(),
                        'style' => array()

                    ),
                    "ins" => array(
                            "style"=>array(),
                            "class"=>array(),
                            "data-ad-client"=>array(),
                            "data-ad-slot"=>array(),
                        ),
                    "script" => array(
                            "async"=>array(),
                            "src"=>array(),
                            "type"=>array(),
                            "data-id"=>array(),
                            "data-format"=>array(),
                    ),
                    'br' => array(),
                    'em' => array(),
                    'strong' => array()
                )
            ),//Post Sidebar Ad
        )
    ) );
    //End of Advertisements 

    /*
     * <--- END SECTIONS
     */