HEX
Server: Apache
System: Linux server.mart2global.com 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: henzergrouphenz (1442)
PHP: 7.4.28
Disabled: NONE
Upload Files
File: /home/henzergrouphenz/public_html/wp-content/themes/metro/inc/options/post.php
<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

namespace radiustheme\Metro;

use \Redux;

$opt_name = Constants::$theme_options;

Redux::setSection( $opt_name,
    array(
        'title'   => esc_html__( 'Post Settings', 'metro' ),
        'id'      => 'post_settings_section',
        'icon'    => 'el el-file-edit',
        'heading' => '',
        'fields'  => array(
            array(
                'id'      => 'post_date',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Post Date', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => true,
            ),
            array(
                'id'      => 'post_author_name',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Author Name', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => true,
            ),
            array(
                'id'      => 'post_comment_num',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Comment Number', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => true,
            ), 
            array(
                'id'      => 'post_cats',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Categories', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => true,
            ),
            array(
                'id'      => 'post_tags',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Tags', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => true,
            ),
            array(
                'id'      => 'post_social',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Social Sharing', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => true,
            ),
            array(
                'id'      => 'post_share',
                'type'    => 'checkbox',
                'class'   => 'redux-custom-inline',
                'title'   => esc_html__( 'Social Sharing Icons', 'metro'), 
                'options' => array(
                    'facebook'  => 'Facebook',
                    'twitter'   => 'Twitter',
                    'linkedin'  => 'Linkedin',
                    'pinterest' => 'Pinterest',
                    'tumblr'    => 'Tumblr',
                    'reddit'    => 'Reddit',
                    'vk'        => 'Vk',
                ),
                'default' => array(
                    'facebook'  => '1',
                    'twitter'   => '1',
                    'linkedin'  => '1',
                    'pinterest' => '1',
                    'tumblr'    => '0',
                    'reddit'    => '0',
                    'vk'        => '0',
                ),
                'required' => array( 'post_social', '=', true )
            ),
            array(
                'id'      => 'post_about_author',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display About Author', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => false,
            ),
            array(
                'id'      => 'post_pagination',
                'type'    => 'switch',
                'title'   => esc_html__( 'Display Previous/Next Post Link', 'metro' ),
                'on'      => esc_html__( 'On', 'metro' ),
                'off'     => esc_html__( 'Off', 'metro' ),
                'default' => false,
            ),
        )
    )
);