Plugin Directory

Changeset 3381685


Ignore:
Timestamp:
10/21/2025 07:43:46 AM (5 months ago)
Author:
pickelements
Message:
  • Added New Options.
  • Added New Social Icons.
  • Update CSS File.
Location:
team-ultimate/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • team-ultimate/trunk/admin/css/team-ultimate-admin.css

    r3113458 r3381685  
    179179    margin-right: 0px;
    180180}
    181 select#pe_team_types, #pe_team_styles, #pe_team_orderby, #pe_team_totall_pages, #pe_team_order, #pe_team_title_fontweight, #pe_team_locations_hides, #pe_team_location_fontsize, #pe_team_location_color, #pe_team_title_fontsize, #pe_team_title_transform, #pe_team_title_fontstyle, #pe_team_designation_fontsize, #pe_team_designation_transform, #pe_team_designation_fontstyle, #pe_team_hide_social, #pe_team_social_style, #pe_team_socialicon_size, #pe_team_details_size, #pe_team_item_paginationposition, #pe_team_item_pagination_style, #pe_team_item_pagination, #pe_team_item_navigation_position, #pe_team_item_navigation, #pe_team_item_margin, #pe_team_item_loop, #pe_team_all_itemsmobile, #pe_team_all_itemsdesktopsmall, #pe_team_all_itemsdesktop, #pe_team_all_items, #pe_team_item_autoplaytimeout, #pe_team_item_stophover, #pe_team_item_autoplayspeed, #pe_team_item_centermode, #pe_team_item_autohide, #pe_team_item_autoplay, #pe_team_gridtypes, #pe_teamtotal_column, #pe_team_marginleftright_size, #pe_team_marginbottom_size, #pe_team_filter_menu_position, #pe_team_filter_menu_style, #pe_team_email_hides, #pe_team_emails_fontsize, #pe_team_email_transform, #pe_team_email_fontstyle, #pe_team_designation_hides, #pe_team_hide_content, #pe_team_hide_skills, #pe_team_contact_hides, #pe_team_contact_fontsize{
     181select#pe_team_types, #pe_team_styles, #pe_teamtotal_mobile_columns, #pe_teamtotal_laptop_columns, #pe_teamtotal_tablet_columns, #pe_team_orderby, #pe_team_totall_pages, #pe_team_order, #pe_team_title_fontweight, #pe_team_locations_hides, #pe_team_location_fontsize, #pe_team_location_color, #pe_team_title_fontsize, #pe_team_title_transform, #pe_team_title_fontstyle, #pe_team_designation_fontsize, #pe_team_designation_transform, #pe_team_designation_fontstyle, #pe_team_hide_social, #pe_team_social_style, #pe_team_socialicon_size, #pe_team_details_size, #pe_team_item_paginationposition, #pe_team_item_pagination_style, #pe_team_item_pagination, #pe_team_item_navigation_position, #pe_team_item_navigation, #pe_team_item_margin, #pe_team_item_loop, #pe_team_all_itemsmobile, #pe_team_all_itemsdesktopsmall, #pe_team_all_itemsdesktop, #pe_team_all_items, #pe_team_item_autoplaytimeout, #pe_team_item_stophover, #pe_team_item_autoplayspeed, #pe_team_item_centermode, #pe_team_item_autohide, #pe_team_item_autoplay, #pe_team_gridtypes, #pe_teamtotal_column, #pe_team_marginleftright_size, #pe_team_marginbottom_size, #pe_team_filter_menu_position, #pe_team_filter_menu_style, #pe_team_email_hides, #pe_team_emails_fontsize, #pe_team_email_transform, #pe_team_email_fontstyle, #pe_team_designation_hides, #pe_team_hide_content, #pe_team_hide_skills, #pe_team_contact_hides, #pe_team_contact_fontsize{
    182182    height: 40px;
    183183    border-radius: 0;
  • team-ultimate/trunk/libs/meta-boxes/team-ultimate-post-metaboxes.php

    r3369437 r3381685  
    4444        $teamultimate_locations     = get_post_meta($post->ID, 'teamultimate_locations', true);
    4545        $teamultimate_sdescription  = get_post_meta($post->ID, 'teamultimate_sdescription', true);
     46
     47        // Add nonce field for security
     48        wp_nonce_field( 'pe_teamultimate_meta_save', 'pe_teamultimate_meta_nonce' );
     49       
    4650        ?>
    4751        <div class="wrap">
    4852            <div class="pe-teamcustomize-area">
     53
    4954                <div class="column-customize-inner">
    5055                    <div class="column-heading-area">
    51                         <span class="sub-heading"><?php _e('Designation', 'team-ultimate');?></span>
    52                         <span class="sub-description"><?php _e('Enter Your Designation here.', 'team-ultimate');?> </span>
     56                        <span class="sub-heading"><?php esc_html_e( 'Designation', 'team-ultimate' ); ?></span>
     57                        <span class="sub-description"><?php esc_html_e( 'Enter your designation here.', 'team-ultimate' ); ?></span>
    5358                    </div>
    5459                    <div class="column-dropdown-items">
    55                         <input type="text" name="teamultimate_designation" id="teamultimate_designation" class="timezone_string" value="<?php echo $teamultimate_designation; ?>" placeholder="Designation"/>
     60                        <input type="text"
     61                            name="teamultimate_designation"
     62                            id="teamultimate_designation"
     63                            value="<?php echo esc_attr( $teamultimate_designation ); ?>"
     64                            placeholder="<?php esc_attr_e( 'Designation', 'team-ultimate' ); ?>" />
    5665                    </div>
    57                 </div><!-- End Full Name -->
     66                </div>
    5867
    5968                <div class="column-customize-inner">
    6069                    <div class="column-heading-area">
    61                         <span class="sub-heading"><?php _e('Email', 'team-ultimate');?></span>
    62                         <span class="sub-description"><?php _e('Enter Your Email Address here.', 'team-ultimate');?> </span>
     70                        <span class="sub-heading"><?php esc_html_e( 'Email', 'team-ultimate' ); ?></span>
     71                        <span class="sub-description"><?php esc_html_e( 'Enter your email address here.', 'team-ultimate' ); ?></span>
    6372                    </div>
    6473                    <div class="column-dropdown-items">
    65                         <input type="text" name="teamultimate_emailaddress" id="teamultimate_emailaddress" class="timezone_string" value="<?php echo $teamultimate_emailaddress; ?>" placeholder="Email Address"/>
     74                        <input type="email"
     75                            name="teamultimate_emailaddress"
     76                            id="teamultimate_emailaddress"
     77                            value="<?php echo esc_attr( $teamultimate_emailaddress ); ?>"
     78                            placeholder="<?php esc_attr_e( 'Email Address', 'team-ultimate' ); ?>" />
    6679                    </div>
    67                 </div><!-- End Full Name -->
     80                </div>
    6881
    6982                <div class="column-customize-inner">
    7083                    <div class="column-heading-area">
    71                         <span class="sub-heading"><?php _e('Contact', 'team-ultimate');?></span>
    72                         <span class="sub-description"><?php _e('Enter Your Contact Number here.', 'team-ultimate');?> </span>
     84                        <span class="sub-heading"><?php esc_html_e( 'Contact', 'team-ultimate' ); ?></span>
     85                        <span class="sub-description"><?php esc_html_e( 'Enter your contact number here.', 'team-ultimate' ); ?></span>
    7386                    </div>
    7487                    <div class="column-dropdown-items">
    75                         <input type="text" name="teamultimate_contactnumber" id="teamultimate_contactnumber" class="timezone_string" value="<?php echo $teamultimate_contactnumber; ?>" placeholder="000 000 000 "/>
     88                        <input type="text"
     89                            name="teamultimate_contactnumber"
     90                            id="teamultimate_contactnumber"
     91                            value="<?php echo esc_attr( $teamultimate_contactnumber ); ?>"
     92                            placeholder="<?php esc_attr_e( 'xxx xxx xxx', 'team-ultimate' ); ?>" />
    7693                    </div>
    77                 </div><!-- End Full Name -->
     94                </div>
    7895
    7996                <div class="column-customize-inner">
    8097                    <div class="column-heading-area">
    81                         <span class="sub-heading"><?php _e('Address', 'team-ultimate');?></span>
    82                         <span class="sub-description"><?php _e('Enter Your location here.', 'team-ultimate');?> </span>
     98                        <span class="sub-heading"><?php esc_html_e( 'Address', 'team-ultimate' ); ?></span>
     99                        <span class="sub-description"><?php esc_html_e( 'Enter your location here.', 'team-ultimate' ); ?></span>
    83100                    </div>
    84101                    <div class="column-dropdown-items">
    85                         <input type="text" name="teamultimate_locations" id="teamultimate_locations" class="timezone_string" value="<?php echo $teamultimate_locations; ?>" placeholder="Dixon Avenue New York"/>
     102                        <input type="text"
     103                            name="teamultimate_locations"
     104                            id="teamultimate_locations"
     105                            value="<?php echo esc_attr( $teamultimate_locations ); ?>"
     106                            placeholder="<?php esc_attr_e( 'Dixon Avenue, New York', 'team-ultimate' ); ?>" />
    86107                    </div>
    87                 </div><!-- End Location -->
     108                </div>
    88109
    89110                <div class="column-customize-inner">
    90111                    <div class="column-heading-area">
    91                         <span class="sub-heading"><?php _e('Short Description', 'team-ultimate');?></span>
    92                         <span class="sub-description"><?php _e('Enter Your Short description here.', 'team-ultimate');?> </span>
     112                        <span class="sub-heading"><?php esc_html_e( 'Short Description', 'team-ultimate' ); ?></span>
     113                        <span class="sub-description"><?php esc_html_e( 'Enter your short description here.', 'team-ultimate' ); ?></span>
    93114                    </div>
    94115                    <div class="column-dropdown-items">
    95                         <textarea type="text" name="teamultimate_sdescription" id="teamultimate_sdescription" class="regular-text code" rows="5" cols="100" ><?php echo $teamultimate_sdescription; ?></textarea>
     116                        <textarea name="teamultimate_sdescription"
     117                            id="teamultimate_sdescription"
     118                            rows="5" cols="100"><?php echo esc_textarea( $teamultimate_sdescription ); ?></textarea>
    96119                    </div>
    97                 </div><!-- End Location -->
     120                </div>
     121
    98122            </div>
    99123        </div>
     
    102126
    103127    function pe_teamultimate_post_meta_boxes_save($post_id){
    104         // Doing autosave then return.
    105         if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
    106             return;
    107         }
    108 
    109         // Check if current user has permission to edit the post
    110         if ( ! current_user_can( 'edit_post', $post_id ) ) {
    111             return;
    112         }
    113 
    114         #Checks for input and sanitizes/saves if needed
    115         if ( isset( $_POST[ 'teamultimate_designation' ] ) ) {
    116             $teamultimate_designation = sanitize_text_field( $_POST['teamultimate_designation'] );
    117             update_post_meta( $post_id, 'teamultimate_designation', $teamultimate_designation );
    118         }
    119 
    120         #Checks for input and sanitizes/saves if needed
    121         if ( isset( $_POST[ 'teamultimate_emailaddress' ] ) ) {
    122             $teamultimate_emailaddress = sanitize_text_field( $_POST['teamultimate_emailaddress'] );
    123             update_post_meta( $post_id, 'teamultimate_emailaddress', $teamultimate_emailaddress );
    124         }
    125 
    126         #Checks for input and sanitizes/saves if needed
    127         if ( isset( $_POST[ 'teamultimate_contactnumber' ] ) ) {
    128             $teamultimate_contactnumber = sanitize_text_field( $_POST['teamultimate_contactnumber'] );
    129             update_post_meta( $post_id, 'teamultimate_contactnumber', $teamultimate_contactnumber );
    130         }
    131 
    132         #Checks for input and sanitizes/saves if needed
    133         if ( isset( $_POST[ 'teamultimate_locations' ] ) ) {
    134             $teamultimate_locations = sanitize_text_field( $_POST['teamultimate_locations'] );
    135             update_post_meta( $post_id, 'teamultimate_locations', $teamultimate_locations );
    136         }
    137 
    138         #Checks for input and sanitizes/saves if needed
    139         if ( isset( $_POST[ 'teamultimate_sdescription' ] ) ) {
    140             $teamultimate_sdescription = sanitize_text_field( $_POST['teamultimate_sdescription'] );
    141             update_post_meta( $post_id, 'teamultimate_sdescription', $teamultimate_sdescription );
     128        // Verify nonce
     129        if ( ! isset( $_POST['pe_teamultimate_meta_nonce'] ) ||
     130             ! wp_verify_nonce( $_POST['pe_teamultimate_meta_nonce'], 'pe_teamultimate_meta_save' ) ) {
     131            return;
     132        }
     133
     134        // Check for autosave
     135        if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
     136            return;
     137        }
     138
     139        // Check user capability
     140        if ( ! current_user_can( 'edit_post', $post_id ) ) {
     141            return;
     142        }
     143
     144        // Sanitize and update fields
     145        if ( isset( $_POST['teamultimate_designation'] ) ) {
     146            update_post_meta( $post_id, 'teamultimate_designation', sanitize_text_field( $_POST['teamultimate_designation'] ) );
     147        }
     148
     149        if ( isset( $_POST['teamultimate_emailaddress'] ) ) {
     150            update_post_meta( $post_id, 'teamultimate_emailaddress', sanitize_email( $_POST['teamultimate_emailaddress'] ) );
     151        }
     152
     153        if ( isset( $_POST['teamultimate_contactnumber'] ) ) {
     154            update_post_meta( $post_id, 'teamultimate_contactnumber', sanitize_text_field( $_POST['teamultimate_contactnumber'] ) );
     155        }
     156
     157        if ( isset( $_POST['teamultimate_locations'] ) ) {
     158            update_post_meta( $post_id, 'teamultimate_locations', sanitize_text_field( $_POST['teamultimate_locations'] ) );
     159        }
     160
     161        if ( isset( $_POST['teamultimate_sdescription'] ) ) {
     162            update_post_meta( $post_id, 'teamultimate_sdescription', sanitize_textarea_field( $_POST['teamultimate_sdescription'] ) );
    142163        }
    143164    }
     
    157178        $pe_team_order                    = get_post_meta($post->ID, 'pe_team_order', true);
    158179        $pe_team_gridtypes                = get_post_meta($post->ID, 'pe_team_gridtypes', true);
    159         $pe_teamtotal_column              = get_post_meta($post->ID, 'pe_teamtotal_column', true);
     180        $pe_teamtotal_column              = get_post_meta($post->ID, 'pe_teamtotal_column', true) ?: '3';
     181        $pe_teamtotal_laptop_columns      = get_post_meta( $post->ID, 'pe_teamtotal_laptop_columns', true) ?: '3';
     182        $pe_teamtotal_tablet_columns      = get_post_meta( $post->ID, 'pe_teamtotal_tablet_columns', true) ?: '2';
     183        $pe_teamtotal_mobile_columns      = get_post_meta( $post->ID, 'pe_teamtotal_mobile_columns', true) ?: '1';
     184
    160185        $pe_team_marginleftright_size     = get_post_meta($post->ID, 'pe_team_marginleftright_size', true);
    161186        $pe_team_marginbottom_size        = get_post_meta($post->ID, 'pe_team_marginbottom_size', true);
     
    211236        $pe_team_details_size             = get_post_meta($post->ID, 'pe_team_details_size', true);
    212237        $pe_team_navtabs                  = get_post_meta($post->ID, 'pe_team_navtabs', true);
    213        
     238        if ( empty( $pe_team_navtabs ) ) {
     239            $pe_team_navtabs = 1;
     240        }
     241
    214242        # Team Filter Option
    215243        $pe_team_filter_menu_position     = get_post_meta( $post->ID, 'pe_team_filter_menu_position', true );
     
    229257       
    230258        # Team Slider Responsive Option
    231         $pe_team_all_items                = get_post_meta($post->ID, 'pe_team_all_items', true);
    232         $pe_team_all_itemsdesktop         = get_post_meta($post->ID, 'pe_team_all_itemsdesktop', true);
    233         $pe_team_all_itemsdesktopsmall    = get_post_meta($post->ID, 'pe_team_all_itemsdesktopsmall', true);
    234         $pe_team_all_itemsmobile          = get_post_meta($post->ID, 'pe_team_all_itemsmobile', true);
     259        $pe_team_all_items                = get_post_meta($post->ID, 'pe_team_all_items', true) ?: '3';
     260        $pe_team_all_itemsdesktop         = get_post_meta($post->ID, 'pe_team_all_itemsdesktop', true) ?: '3';
     261        $pe_team_all_itemsdesktopsmall    = get_post_meta($post->ID, 'pe_team_all_itemsdesktopsmall', true) ?: '2';
     262        $pe_team_all_itemsmobile          = get_post_meta($post->ID, 'pe_team_all_itemsmobile', true) ?: '1';
    235263        $pe_team_item_loop                = get_post_meta($post->ID, 'pe_team_item_loop', true);
    236264        $pe_team_item_margin              = get_post_meta($post->ID, 'pe_team_item_margin', true);
     
    249277        $pe_team_item_pagination_style    = get_post_meta($post->ID, 'pe_team_item_pagination_style', true);
    250278        $sort_array                       = get_post_meta($post->ID, 'sort_array', true);
     279
     280        // Add nonce field for security
     281        wp_nonce_field( 'pe_teamultimate_custom_meta_save', 'pe_teamultimate_meta_custom_nonce' );
    251282
    252283        ?>
     
    444475                                                        <select name="pe_team_title_fontstyle" id="pe_team_title_fontstyle" class="timezone_string">
    445476                                                            <option value="normal" <?php if ( isset ( $pe_team_title_fontstyle ) ) selected( $pe_team_title_fontstyle, 'normal' ); ?>><?php _e('Normal', 'team-ultimate');?></option>
    446                                                             <option disabled value="italic" <?php if ( isset ( $pe_team_title_fontstyle ) ) selected( $pe_team_title_fontstyle, 'italic' ); ?>><?php _e('Italic (Only Pro)', 'team-ultimate');?></option>
     477                                                            <option value="italic" <?php if ( isset ( $pe_team_title_fontstyle ) ) selected( $pe_team_title_fontstyle, 'italic' ); ?>><?php _e('Italic', 'team-ultimate');?></option>
    447478                                                        </select>
    448479                                                    </div>
    449480                                                </div><!-- End -->
    450481
    451                                                 <div class="column-customize-inner">
    452                                                     <div class="column-heading-area">
    453                                                         <span class="sub-heading"><?php _e('Name Font Weight', 'team-ultimate');?></span>
    454                                                         <span class="sub-description"><?php _e('Choose team member name font weight. Available on the premium version only.', 'team-ultimate');?> </span>
    455                                                     </div>
    456                                                     <div class="column-dropdown-items">
    457                                                         <select name="pe_team_title_fontweight" id="pe_team_title_fontweight" class="timezone_string">
    458                                                             <option value="500" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '500' ); ?>><?php _e('500', 'team-ultimate');?></option>
    459                                                             <option value="600" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '600' ); ?>><?php _e('600', 'team-ultimate');?></option>
    460                                                             <option value="700" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '700' ); ?>><?php _e('700', 'team-ultimate');?></option>
    461                                                             <option value="400" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '400' ); ?>><?php _e('400', 'team-ultimate');?></option>
    462                                                             <option value="300" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '300' ); ?>><?php _e('300', 'team-ultimate');?></option>
    463                                                         </select>
    464                                                     </div>
     482
     483                                                <?php
     484                                                $pe_team_title_fontweight = isset($pe_team_title_fontweight) ? $pe_team_title_fontweight : '500';
     485                                                ?>
     486                                                <div class="column-customize-inner">
     487                                                    <div class="column-heading-area">
     488                                                        <span class="sub-heading"><?php _e('Name Font Weight', 'team-ultimate'); ?></span>
     489                                                        <span class="sub-description"><?php _e('Choose team member name font weight.', 'team-ultimate'); ?></span>
     490                                                    </div>
     491                                                    <div class="column-dropdown-items">
     492                                                        <select name="pe_team_title_fontweight" id="pe_team_title_fontweight" class="timezone_string">
     493                                                            <?php
     494                                                            $weights = array('300','400','500','600','700','800', '900');
     495                                                            foreach($weights as $weight){
     496                                                                echo '<option value="'.esc_attr($weight).'" '.selected($pe_team_title_fontweight,$weight,false).'>'.esc_html($weight).'</option>';
     497                                                            }
     498                                                            ?>
     499                                                        </select>
     500                                                    </div>
    465501                                                </div><!-- End -->
    466502
     
    9991035                                            </div><!-- End -->
    10001036
    1001                                             <div class="column-customize-inner">
    1002                                                 <div class="column-heading-area">
    1003                                                     <span class="sub-heading"><?php _e('Name Font Weight', 'team-ultimate');?></span>
    1004                                                     <span class="sub-description"><?php _e('Choose team member name font weight. Available on the premium version only.', 'team-ultimate');?> </span>
    1005                                                 </div>
    1006                                                 <div class="column-dropdown-items">
    1007                                                     <select name="pe_team_title_fontweight" id="pe_team_title_fontweight" class="timezone_string">
    1008                                                         <option value="500" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '500' ); ?>><?php _e('500', 'team-ultimate');?></option>
    1009                                                         <option value="600" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '600' ); ?>><?php _e('600', 'team-ultimate');?></option>
    1010                                                         <option value="700" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '700' ); ?>><?php _e('700', 'team-ultimate');?></option>
    1011                                                         <option value="400" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '400' ); ?>><?php _e('400', 'team-ultimate');?></option>
    1012                                                         <option value="300" <?php if ( isset ( $pe_team_title_fontweight ) ) selected( $pe_team_title_fontweight, '300' ); ?>><?php _e('300', 'team-ultimate');?></option>
    1013                                                     </select>
    1014                                                 </div>
     1037                                            <?php
     1038                                            $pe_team_title_fontweight = isset($pe_team_title_fontweight) ? $pe_team_title_fontweight : '500';
     1039                                            ?>
     1040                                            <div class="column-customize-inner">
     1041                                                <div class="column-heading-area">
     1042                                                    <span class="sub-heading"><?php _e('Name Font Weight', 'team-ultimate'); ?></span>
     1043                                                    <span class="sub-description"><?php _e('Choose team member name font weight.', 'team-ultimate'); ?></span>
     1044                                                </div>
     1045                                                <div class="column-dropdown-items">
     1046                                                    <select name="pe_team_title_fontweight" id="pe_team_title_fontweight" class="timezone_string">
     1047                                                        <?php
     1048                                                        $weights = array('300','400','500','600','700','800', '900');
     1049                                                        foreach($weights as $weight){
     1050                                                            echo '<option value="'.esc_attr($weight).'" '.selected($pe_team_title_fontweight,$weight,false).'>'.esc_html($weight).'</option>';
     1051                                                        }
     1052                                                        ?>
     1053                                                    </select>
     1054                                                </div>
    10151055                                            </div><!-- End -->
    10161056
     
    15281568                                    </div>
    15291569                                    <div class="column-dropdown-items">
    1530                                         <select name="pe_teamtotal_column" id="pe_teamtotal_column" class="timezone_string">
    1531                                             <option value="3" <?php if ( isset ( $pe_teamtotal_column ) ) selected( $pe_teamtotal_column, '3' ); ?>><?php _e('Column 3', 'team-ultimate');?></option>
    1532                                             <option value="2" <?php if ( isset ( $pe_teamtotal_column ) ) selected( $pe_teamtotal_column, '2' ); ?>><?php _e('Column 2', 'team-ultimate');?></option>
    1533                                             <option value="4" <?php if ( isset ( $pe_teamtotal_column ) ) selected( $pe_teamtotal_column, '4' ); ?>><?php _e('Column 4', 'team-ultimate');?></option>
    1534                                             <option value="5" <?php if ( isset ( $pe_teamtotal_column ) ) selected( $pe_teamtotal_column, '5' ); ?>><?php _e('Column 5', 'team-ultimate');?></option>
    1535                                             <option value="6" <?php if ( isset ( $pe_teamtotal_column ) ) selected( $pe_teamtotal_column, '6' ); ?>><?php _e('Column 6', 'team-ultimate');?></option>
    1536                                         </select>
     1570                                        <div class="pic-device-columns">
     1571                                            <!-- Desktop Columns -->
     1572                                            <label for="pe_teamtotal_column" class="tp-device-label">
     1573                                                <div class="tp-device-header">
     1574                                                    <span class="dashicons dashicons-desktop"></span>
     1575                                                    <span><?php echo __('Desktop', 'team-ultimate'); ?></span>
     1576                                                </div>
     1577                                                <input type="number" name="pe_teamtotal_column" id="pe_teamtotal_column" value="<?php echo esc_attr($pe_teamtotal_column); ?>" min="1" max="6">
     1578                                            </label>
     1579
     1580                                            <!-- Laptop Columns -->
     1581                                            <label for="pe_teamtotal_laptop_columns" class="tp-device-label">
     1582                                                <div class="tp-device-header">
     1583                                                    <span class="dashicons dashicons-laptop"></span>
     1584                                                    <span><?php echo __('Laptop', 'team-ultimate'); ?></span>
     1585                                                </div>
     1586                                                <input type="number" min="1" max="6" name="pe_teamtotal_laptop_columns" id="pe_teamtotal_laptop_columns" value="<?php echo esc_attr($pe_teamtotal_laptop_columns); ?>">
     1587                                            </label>
     1588
     1589                                            <!-- Tablet Columns -->
     1590                                            <label for="pe_teamtotal_tablet_columns" class="tp-device-label">
     1591                                                <div class="tp-device-header">
     1592                                                    <span class="dashicons dashicons-tablet"></span>
     1593                                                    <span><?php echo __('Tablet', 'team-ultimate'); ?></span>
     1594                                                </div>
     1595                                                <input type="number" name="pe_teamtotal_tablet_columns" id="pe_teamtotal_tablet_columns" value="<?php echo esc_attr($pe_teamtotal_tablet_columns); ?>" min="1" max="6">
     1596                                            </label>
     1597
     1598                                            <!-- Mobile Columns -->
     1599                                            <label for="pe_teamtotal_mobile_columns" class="tp-device-label">
     1600                                                <div class="tp-device-header">
     1601                                                    <span class="dashicons dashicons-smartphone"></span>
     1602                                                    <span><?php echo __('Mobile', 'team-ultimate'); ?></span>
     1603                                                </div>
     1604                                                <input type="number" name="pe_teamtotal_mobile_columns" id="pe_teamtotal_mobile_columns" value="<?php echo esc_attr($pe_teamtotal_mobile_columns); ?>" min="1" max="6">
     1605                                            </label>
     1606                                        </div>
     1607
    15371608                                    </div>
    15381609                                </div><!-- End Testimonial Grid Select Column -->
     
    16451716                                    <div class="column-dropdown-items">
    16461717                                        <select name="pe_team_item_autoplay" id="pe_team_item_autoplay" class="timezone_string">
    1647                                             <option value="true" <?php if ( isset ( $pe_team_item_autoplay ) ) selected( $pe_team_item_autoplay, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>
    1648                                             <option value="false" <?php if ( isset ( $pe_team_item_autoplay ) ) selected( $pe_team_item_autoplay, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
     1718                                            <option value="true" <?php if ( isset ( $pe_team_item_autoplay ) ) selected( $pe_team_item_autoplay, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>
     1719                                            <option value="false" <?php if ( isset ( $pe_team_item_autoplay ) ) selected( $pe_team_item_autoplay, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
    16491720                                        </select>
    16501721                                    </div>
     
    16531724                                <div class="column-customize-inner">
    16541725                                    <div class="column-heading-area">
    1655                                         <span class="sub-heading"><?php _e('Auto Hide Mode', 'team-ultimate');?></span>
    1656                                         <span class="sub-description"><?php _e('Select Team Auto Hide Mode. default Mode: Enable', 'team-ultimate');?> </span>
     1726                                        <span class="sub-heading"><?php _e('AutoHeight', 'team-ultimate');?></span>
     1727                                        <span class="sub-description"><?php _e('Select Team Auto Height Mode.', 'team-ultimate');?> </span>
    16571728                                    </div>
    16581729                                    <div class="column-dropdown-items">
    16591730                                        <select name="pe_team_item_autohide" id="pe_team_item_autohide" class="timezone_string">
    1660                                             <option value="true" <?php if ( isset ( $pe_team_item_autohide ) ) selected( $pe_team_item_autohide, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>
    1661                                             <option value="false" <?php if ( isset ( $pe_team_item_autohide ) ) selected( $pe_team_item_autohide, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
     1731                                            <option value="true" <?php if ( isset ( $pe_team_item_autohide ) ) selected( $pe_team_item_autohide, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>
     1732                                            <option value="false" <?php if ( isset ( $pe_team_item_autohide ) ) selected( $pe_team_item_autohide, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
    16621733                                        </select>
    16631734                                    </div>
     
    16711742                                    <div class="column-dropdown-items">
    16721743                                        <select name="pe_team_item_centermode" id="pe_team_item_centermode" class="timezone_string">
    1673                                             <option value="false" <?php if ( isset ( $pe_team_item_centermode ) ) selected( $pe_team_item_centermode, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
    1674                                             <option value="true" <?php if ( isset ( $pe_team_item_centermode ) ) selected( $pe_team_item_centermode, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>
     1744                                            <option value="false" <?php if ( isset ( $pe_team_item_centermode ) ) selected( $pe_team_item_centermode, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
     1745                                            <option value="true" <?php if ( isset ( $pe_team_item_centermode ) ) selected( $pe_team_item_centermode, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>
    16751746                                        </select>
    16761747                                    </div>
     
    16941765                                    <div class="column-dropdown-items">
    16951766                                        <select name="pe_team_item_stophover" id="pe_team_item_stophover" class="timezone_string">
    1696                                             <option value="true" <?php if ( isset ( $pe_team_item_stophover ) ) selected( $pe_team_item_stophover, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>   
    1697                                             <option value="false" <?php if ( isset ( $pe_team_item_stophover ) ) selected( $pe_team_item_stophover, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
     1767                                            <option value="true" <?php if ( isset ( $pe_team_item_stophover ) ) selected( $pe_team_item_stophover, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>   
     1768                                            <option value="false" <?php if ( isset ( $pe_team_item_stophover ) ) selected( $pe_team_item_stophover, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
    16981769                                        </select>
    16991770                                    </div>
     
    17271798                                    </div>
    17281799                                    <div class="column-dropdown-items">
    1729                                         <select name="pe_team_all_items" id="pe_team_all_items" class="timezone_string">
    1730                                             <option value="3" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '3' ); ?>><?php _e('3', 'team-ultimate');?></option>
    1731                                             <option value="1" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '1' ); ?>><?php _e('1', 'team-ultimate');?></option>
    1732                                             <option value="2" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '2' ); ?>><?php _e('2', 'team-ultimate');?></option>
    1733                                             <option value="4" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '4' ); ?>><?php _e('4', 'team-ultimate');?></option>
    1734                                             <option value="5" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '5' ); ?>><?php _e('5 ', 'team-ultimate');?></option>
    1735                                             <option value="6" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '6' ); ?>><?php _e('6 ', 'team-ultimate');?></option>
    1736                                             <option value="7" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '7' ); ?>><?php _e('7 ', 'team-ultimate');?></option>
    1737                                             <option value="8" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '8' ); ?>><?php _e('8 ', 'team-ultimate');?></option>
    1738                                             <option value="9" <?php if ( isset ( $pe_team_all_items ) )  selected( $pe_team_all_items, '9' ); ?>><?php _e('9 ', 'team-ultimate');?></option>
    1739                                             <option value="10" <?php if ( isset ( $pe_team_all_items ) ) selected( $pe_team_all_items, '10' ); ?>><?php _e('10 ', 'team-ultimate');?></option>
    1740                                         </select>
     1800                                        <div class="pic-device-columns">
     1801                                            <!-- Desktop Columns -->
     1802                                            <label for="pe_team_all_items" class="tp-device-label">
     1803                                                <div class="tp-device-header">
     1804                                                    <span class="dashicons dashicons-desktop"></span>
     1805                                                    <span><?php echo __('Desktop', 'post-slider-free'); ?></span>
     1806                                                </div>
     1807                                                <input type="number" name="pe_team_all_items" id="pe_team_all_items" value="<?php echo esc_attr($pe_team_all_items); ?>" min="1" max="10">
     1808                                            </label>
     1809
     1810                                            <!-- Laptop Columns -->
     1811                                            <label for="pe_team_all_itemsdesktop" class="tp-device-label">
     1812                                                <div class="tp-device-header">
     1813                                                    <span class="dashicons dashicons-laptop"></span>
     1814                                                    <span><?php echo __('Laptop', 'post-slider-free'); ?></span>
     1815                                                </div>
     1816                                                <input type="number" name="pe_team_all_itemsdesktop" id="pe_team_all_itemsdesktop" value="<?php echo esc_attr($pe_team_all_itemsdesktop); ?>" min="1" max="10">
     1817                                            </label>
     1818
     1819                                            <!-- Tablet Columns -->
     1820                                            <label for="pe_team_all_itemsdesktopsmall" class="tp-device-label">
     1821                                                <div class="tp-device-header">
     1822                                                    <span class="dashicons dashicons-tablet"></span>
     1823                                                    <span><?php echo __('Tablet', 'post-slider-free'); ?></span>
     1824                                                </div>
     1825                                                <input type="number" name="pe_team_all_itemsdesktopsmall" id="pe_team_all_itemsdesktopsmall" value="<?php echo esc_attr($pe_team_all_itemsdesktopsmall); ?>" min="1" max="10">
     1826                                            </label>
     1827
     1828                                            <!-- Mobile Columns -->
     1829                                            <label for="pe_team_all_itemsmobile" class="tp-device-label">
     1830                                                <div class="tp-device-header">
     1831                                                    <span class="dashicons dashicons-smartphone"></span>
     1832                                                    <span><?php echo __('Mobile', 'post-slider-free'); ?></span>
     1833                                                </div>
     1834                                                <input type="number" name="pe_team_all_itemsmobile" id="pe_team_all_itemsmobile" value="<?php echo esc_attr($pe_team_all_itemsmobile); ?>" min="1" max="10">
     1835                                            </label>
     1836                                        </div>
    17411837                                    </div>
    17421838                                </div><!-- End Testimonial Slider Items No -->
    17431839
    1744                                 <div class="column-customize-inner">
    1745                                     <div class="column-heading-area">
    1746                                         <span class="sub-heading"><?php _e('Items Desktop', 'team-ultimate');?></span>
    1747                                         <span class="sub-description"><?php _e('Choose Team total items display on desktop. default:3 ', 'team-ultimate');?> </span>
    1748                                     </div>
    1749                                     <div class="column-dropdown-items">
    1750                                         <select name="pe_team_all_itemsdesktop" id="pe_team_all_itemsdesktop" class="timezone_string">
    1751                                             <option value="3" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '3' ); ?>><?php _e('3', 'team-ultimate');?></option>
    1752                                             <option value="1" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '1' ); ?>><?php _e('1', 'team-ultimate');?></option>
    1753                                             <option value="2" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '2' ); ?>><?php _e('2', 'team-ultimate');?></option>
    1754                                             <option value="4" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '4' ); ?>><?php _e('4', 'team-ultimate');?></option>
    1755                                             <option value="5" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '5' ); ?>><?php _e('5', 'team-ultimate');?></option>
    1756                                             <option value="6" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '6' ); ?>><?php _e('6', 'team-ultimate');?></option>
    1757                                             <option value="7" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '7' ); ?>><?php _e('7', 'team-ultimate');?></option>
    1758                                             <option value="8" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '8' ); ?>><?php _e('8', 'team-ultimate');?></option>
    1759                                             <option value="9" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '9' ); ?>><?php _e('9', 'team-ultimate');?></option>
    1760                                             <option value="10" <?php if ( isset ( $pe_team_all_itemsdesktop ) ) selected( $pe_team_all_itemsdesktop, '10' ); ?>><?php _e('10', 'team-ultimate');?></option>
    1761                                         </select>
    1762                                     </div>
    1763                                 </div><!-- End Testimonial Slider Items Desktop -->
    1764 
    1765                                 <div class="column-customize-inner">
    1766                                     <div class="column-heading-area">
    1767                                         <span class="sub-heading"><?php _e('Items Desktop Small', 'team-ultimate');?></span>
    1768                                         <span class="sub-description"><?php _e('Choose Team total items display on desktop small. default:1', 'team-ultimate');?> </span>
    1769                                     </div>
    1770                                     <div class="column-dropdown-items">
    1771                                         <select name="pe_team_all_itemsdesktopsmall" id="pe_team_all_itemsdesktopsmall" class="timezone_string">
    1772                                             <option value="1" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '1' ); ?>><?php _e('1', 'team-ultimate');?></option>
    1773                                             <option value="2" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '2' ); ?>><?php _e('2', 'team-ultimate');?></option>
    1774                                             <option value="3" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '3' ); ?>><?php _e('3', 'team-ultimate');?></option>
    1775                                             <option value="4" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '4' ); ?>><?php _e('4', 'team-ultimate');?></option>
    1776                                             <option value="5" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '5' ); ?>><?php _e('5', 'team-ultimate');?></option>
    1777                                             <option value="6" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '6' ); ?>><?php _e('6', 'team-ultimate');?></option>
    1778                                             <option value="7" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '7' ); ?>><?php _e('7', 'team-ultimate');?></option>
    1779                                             <option value="8" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '8' ); ?>><?php _e('8', 'team-ultimate');?></option>
    1780                                             <option value="9" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '9' ); ?>><?php _e('9', 'team-ultimate');?></option>
    1781                                             <option value="10" <?php if ( isset ( $pe_team_all_itemsdesktopsmall ) ) selected( $pe_team_all_itemsdesktopsmall, '10' ); ?>><?php _e('10', 'team-ultimate');?></option>
    1782                                         </select>
    1783                                     </div>
    1784                                 </div><!-- End Testimonial Slider Items Desktop Small -->
    1785 
    1786                                 <div class="column-customize-inner">
    1787                                     <div class="column-heading-area">
    1788                                         <span class="sub-heading"><?php _e('Items Mobile', 'team-ultimate');?></span>
    1789                                         <span class="sub-description"><?php _e('Choose Team total items display on Mobile. default:1', 'team-ultimate');?> </span>
    1790                                     </div>
    1791                                     <div class="column-dropdown-items">
    1792                                         <select name="pe_team_all_itemsmobile" id="pe_team_all_itemsmobile" class="timezone_string">
    1793                                             <option value="1" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '1' ); ?>><?php _e('1', 'team-ultimate');?></option>
    1794                                             <option value="2" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '2' ); ?>><?php _e('2', 'team-ultimate');?></option>
    1795                                             <option value="3" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '3' ); ?>><?php _e('3', 'team-ultimate');?></option>
    1796                                             <option value="4" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '4' ); ?>><?php _e('4', 'team-ultimate');?></option>
    1797                                             <option value="5" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '5' ); ?>><?php _e('5', 'team-ultimate');?></option>
    1798                                             <option value="6" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '6' ); ?>><?php _e('6', 'team-ultimate');?></option>
    1799                                             <option value="7" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '7' ); ?>><?php _e('7', 'team-ultimate');?></option>
    1800                                             <option value="8" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '8' ); ?>><?php _e('8', 'team-ultimate');?></option>
    1801                                             <option value="9" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '9' ); ?>><?php _e('9', 'team-ultimate');?></option>
    1802                                             <option value="10" <?php if ( isset ( $pe_team_all_itemsmobile ) ) selected( $pe_team_all_itemsmobile, '10' ); ?>><?php _e('10', 'team-ultimate');?></option>
    1803                                         </select>
    1804                                     </div>
    1805                                 </div><!-- End Testimonial Slider Items Mobile -->
     1840                                <style>
     1841                                .pic-device-columns {
     1842                                    display: flex;
     1843                                    gap: 15px;
     1844                                }
     1845                                .tp-device-label {
     1846                                    display: flex;
     1847                                    flex-direction: column;
     1848                                    align-items: center;
     1849                                }
     1850                                input#pe_teamtotal_column,
     1851                                input#pe_teamtotal_mobile_columns,
     1852                                input#pe_teamtotal_tablet_columns,
     1853                                input#pe_teamtotal_laptop_columns,
     1854                                input#pe_team_all_items,
     1855                                input#pe_team_all_itemsdesktop,
     1856                                input#pe_team_all_itemsdesktopsmall,
     1857                                input#pe_team_all_itemsmobile {
     1858                                    width: 75px;
     1859                                }
     1860                                </style>
    18061861
    18071862                                <div class="column-customize-inner">
     
    18121867                                    <div class="column-dropdown-items">
    18131868                                        <select name="pe_team_item_loop" id="pe_team_item_loop" class="timezone_string">
    1814                                             <option value="true" <?php if ( isset ( $pe_team_item_loop ) ) selected( $pe_team_item_loop, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>
    1815                                             <option value="false" <?php if ( isset ( $pe_team_item_loop ) ) selected( $pe_team_item_loop, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
     1869                                            <option value="true" <?php if ( isset ( $pe_team_item_loop ) ) selected( $pe_team_item_loop, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>
     1870                                            <option value="false" <?php if ( isset ( $pe_team_item_loop ) ) selected( $pe_team_item_loop, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
    18161871                                        </select>
    18171872                                    </div>
     
    18351890                                    <div class="column-dropdown-items">
    18361891                                        <select name="pe_team_item_navigation" id="pe_team_item_navigation" class="timezone_string">
    1837                                             <option value="true" <?php if ( isset ( $pe_team_item_navigation ) ) selected( $pe_team_item_navigation, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>
    1838                                             <option value="false" <?php if ( isset ( $pe_team_item_navigation ) ) selected( $pe_team_item_navigation, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
     1892                                            <option value="true" <?php if ( isset ( $pe_team_item_navigation ) ) selected( $pe_team_item_navigation, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>
     1893                                            <option value="false" <?php if ( isset ( $pe_team_item_navigation ) ) selected( $pe_team_item_navigation, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
    18391894                                        </select>
    18401895                                    </div>
     
    19031958                                    <div class="column-dropdown-items">
    19041959                                        <select name="pe_team_item_pagination" id="pe_team_item_pagination" class="timezone_string">
    1905                                             <option value="true" <?php if ( isset ( $pe_team_item_pagination ) ) selected( $pe_team_item_pagination, 'true' ); ?>><?php _e('True', 'team-ultimate');?></option>
    1906                                             <option value="false" <?php if ( isset ( $pe_team_item_pagination ) ) selected( $pe_team_item_pagination, 'false' ); ?>><?php _e('False', 'team-ultimate');?></option>
     1960                                            <option value="true" <?php if ( isset ( $pe_team_item_pagination ) ) selected( $pe_team_item_pagination, 'true' ); ?>><?php _e('Yes', 'team-ultimate');?></option>
     1961                                            <option value="false" <?php if ( isset ( $pe_team_item_pagination ) ) selected( $pe_team_item_pagination, 'false' ); ?>><?php _e('No', 'team-ultimate');?></option>
    19071962                                        </select>
    19081963                                    </div>
     
    19702025    function pe_teamultimate_scode_meta_boxes_save($post_id){
    19712026
    1972         # Doing autosave then return.
    1973         if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
    1974         return;
    1975 
    1976         #Checks for input and sanitizes/saves if needed
    1977         if( isset( $_POST['pe_team_catslist'] ) ) {
    1978             update_post_meta( $post_id, 'pe_team_catslist', $_POST[ 'pe_team_catslist' ] );
     2027        // Verify nonce
     2028        if ( ! isset( $_POST['pe_teamultimate_meta_custom_nonce'] ) ||
     2029             ! wp_verify_nonce( $_POST['pe_teamultimate_meta_custom_nonce'], 'pe_teamultimate_custom_meta_save' ) ) {
     2030            return;
     2031        }
     2032
     2033        // Check for autosave
     2034        if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
     2035            return;
     2036        }
     2037
     2038        // Check user capability
     2039        if ( ! current_user_can( 'edit_post', $post_id ) ) {
     2040            return;
     2041        }
     2042
     2043        // Checks for input and sanitizes/saves if needed
     2044        if ( isset( $_POST['pe_team_catslist'] ) ) {
     2045            if ( is_array( $_POST['pe_team_catslist'] ) ) {
     2046                // Sanitize each value in the array
     2047                $sanitized_cats = array_map( 'sanitize_text_field', $_POST['pe_team_catslist'] );
     2048            } else {
     2049                // Sanitize the single value if not an array
     2050                $sanitized_cats = sanitize_text_field( $_POST['pe_team_catslist'] );
     2051            }
     2052            update_post_meta( $post_id, 'pe_team_catslist', $sanitized_cats );
    19792053        } else {
    1980             update_post_meta( $post_id, 'pe_team_catslist', 'unchecked' );
    1981         }
     2054            update_post_meta( $post_id, 'pe_team_catslist', 'unchecked' );
     2055        }
    19822056
    19832057        #Checks for input and sanitizes/saves if needed
     
    19992073        }
    20002074
     2075        // Checks for input and sanitizes/saves if needed
     2076        if ( isset( $_POST[ 'pe_teamtotal_laptop_columns' ] ) ) {
     2077            $pe_teamtotal_laptop_columns = sanitize_text_field( $_POST['pe_teamtotal_laptop_columns'] );
     2078            update_post_meta( $post_id, 'pe_teamtotal_laptop_columns', $pe_teamtotal_laptop_columns );
     2079        }
     2080
     2081        // Checks for input and sanitizes/saves if needed
     2082        if ( isset( $_POST[ 'pe_teamtotal_tablet_columns' ] ) ) {
     2083            $pe_teamtotal_tablet_columns = sanitize_text_field( $_POST['pe_teamtotal_tablet_columns'] );
     2084            update_post_meta( $post_id, 'pe_teamtotal_tablet_columns', $pe_teamtotal_tablet_columns );
     2085        }
     2086
     2087        // Checks for input and sanitizes/saves if needed
     2088        if ( isset( $_POST[ 'pe_teamtotal_mobile_columns' ] ) ) {
     2089            $pe_teamtotal_mobile_columns = sanitize_text_field( $_POST['pe_teamtotal_mobile_columns'] );
     2090            update_post_meta( $post_id, 'pe_teamtotal_mobile_columns', $pe_teamtotal_mobile_columns );
     2091        }
     2092
    20012093        #Checks for input and sanitizes/saves if needed
    20022094        if ( isset( $_POST[ 'pe_team_marginleftright_size' ] ) ) {
     
    21012193        }
    21022194
    2103 
    2104 
    21052195        #Checks for input and sanitizes/saves if needed
    21062196        if ( isset( $_POST[ 'pe_team_designation_hides' ] ) ) {
     
    23082398        }
    23092399
    2310         #Checks for input and sanitizes/saves if needed   
    2311         if( isset( $_POST['pe_team_item_margin'] ) ) {
    2312             if(strlen($_POST['pe_team_item_margin']) > 2){     // input value length greate than 2
    2313             } else{
    2314                 if( $_POST['pe_team_item_margin'] == '' || $_POST['pe_team_item_margin'] == is_null($_POST['pe_team_item_margin']) ){
    2315                     update_post_meta( $post_id, 'pe_team_item_margin', 0 );
    2316                 }else{
    2317                     if (is_numeric($_POST['pe_team_item_margin'])) {
    2318                         update_post_meta( $post_id, 'pe_team_item_margin', esc_html($_POST['pe_team_item_margin']) );
    2319                     }
    2320                 }
    2321             }
    2322         }
     2400        #Checks for input and sanitizes/saves if needed
     2401        if ( isset( $_POST[ 'pe_team_item_margin' ] ) ) {
     2402            $pe_team_item_margin = sanitize_text_field( $_POST['pe_team_item_margin'] );
     2403            update_post_meta( $post_id, 'pe_team_item_margin', $pe_team_item_margin );
     2404        }
    23232405
    23242406        #Checks for input and sanitizes/saves if needed
     
    23702452        }
    23712453
    2372         #Checks for input and sanitizes/saves if needed   
    2373         if( isset( $_POST['pe_team_item_autoplayspeed'] ) ) {
    2374             if(strlen($_POST['pe_team_item_autoplayspeed']) > 4 ){
    2375             } else{
    2376                 if($_POST['pe_team_item_autoplayspeed'] == '' || is_null($_POST['pe_team_item_autoplayspeed'])){
    2377                     update_post_meta( $post_id, 'pe_team_item_autoplayspeed', 1500 );
    2378                 }else{
    2379                     if (is_numeric($_POST['pe_team_item_margin']) && strlen($_POST['pe_team_item_autoplayspeed']) <= 4) {
    2380                         update_post_meta( $post_id, 'pe_team_item_autoplayspeed', esc_html($_POST['pe_team_item_autoplayspeed']) );
    2381                     }
    2382                 }
    2383             }
    2384         }
     2454        #Checks for input and sanitizes/saves if needed
     2455        if ( isset( $_POST[ 'pe_team_item_autoplayspeed' ] ) ) {
     2456            $pe_team_item_autoplayspeed = sanitize_text_field( $_POST['pe_team_item_autoplayspeed'] );
     2457            update_post_meta( $post_id, 'pe_team_item_autoplayspeed', $pe_team_item_autoplayspeed );
     2458        }
    23852459
    23862460        #Checks for input and sanitizes/saves if needed
     
    24542528        }
    24552529
    2456         #Value check and saves if needed
    2457         if ( isset( $_POST[ 'pe_team_navtabs' ] ) ) {
    2458             $pe_team_navtabs = sanitize_text_field( $_POST['pe_team_navtabs'] ); // Sanitize pe_team_navtabs input
    2459             update_post_meta( $post_id, 'pe_team_navtabs', $pe_team_navtabs );
    2460         } else {
    2461             update_post_meta( $post_id, 'pe_team_navtabs', 1 ); // Default value
    2462         }
     2530        // Save nav tab value
     2531        if ( isset( $_POST['pe_team_navtabs'] ) ) {
     2532            $pe_team_navtabs = sanitize_text_field( $_POST['pe_team_navtabs'] );
     2533            update_post_meta( $post_id, 'pe_team_navtabs', $pe_team_navtabs );
     2534        } else {
     2535            update_post_meta( $post_id, 'pe_team_navtabs', 1 ); // default tab
     2536        }
     2537
    24632538    }
    24642539    add_action('save_post', 'pe_teamultimate_scode_meta_boxes_save');
     
    24682543        <textarea cols="35" rows="1" onClick="this.select();" >[tmultmate <?php echo 'id="'.$post->ID.'"';?>]</textarea>
    24692544        <?php
    2470     }   
     2545    }
    24712546
    24722547    function pe_teamultimate_code_display_rate( $post, $args ) {?>
  • team-ultimate/trunk/libs/post-types/team-ultimate-post-type.php

    r3334684 r3381685  
    249249        add_meta_box(
    250250            'wpteammeta_inner_register',                            # Metabox
    251             __( 'Member Social Profiles', 'team-ultimate' ),           # Title
     251            __( 'Member Social Profiles', 'team-ultimate' ),        # Title
    252252            'display_wpsteamcpm_metasbox',                          # Call Back func
    253253            $wpsvg,                                                 # post type
     
    255255        );
    256256        add_meta_box(
    257             'wpsvgallery_meta_box_id121',                          # Metabox
    258             __( 'Add Member Skills', 'team-ultimate' ),                     # Title
    259             'display_all_skills_inputs_fields',                       # Call Back func
     257            'wpsvgallery_meta_box_id121',                           # Metabox
     258            __( 'Add Member Skills', 'team-ultimate' ),             # Title
     259            'display_all_skills_inputs_fields',                     # Call Back func
    260260            $wpsvg,                                                 # post type
    261261            'normal'                                                # Text Content
     
    283283
    284284                        <div class="skillsbarnamefield"><input type="number" class="widefat" name="skillnumbers[]" value="<?php if($skillfields['skillnumbers'] != '') echo esc_attr( $skillfields['skillnumbers'] ); ?>" /></div>
    285                         <div class="skillsbarremove"><a class="button remove-row" href="#">Remove Skill</a></div>
     285                        <div class="skillsbarremove"><a class="button remove-row" href="#"><?php esc_html_e( 'Remove Skill', 'team-ultimate' ); ?></a></div>
    286286                    </div>
    287287                <?php
     
    298298                    <div class="skillsbarnamefield"><input type="text" class="widefat" placeholder="Skill Name" name="name[]" /></div>
    299299                    <div class="skillsbarnamefield"><input type="number" class="widefat" placeholder="95" name="skillnumbers[]" /></div>
    300                     <div class="skillsbarremove"><a class="button remove-row" href="#">Remove Skill</a></div>
     300                    <div class="skillsbarremove"><a class="button remove-row" href="#"><?php esc_html_e( 'Remove Skill', 'team-ultimate' ); ?></a></div>
    301301                </div>
    302302            </div>
    303303        </div>
    304304
    305         <div class="addskills"><a id="add-row" class="button" href="#">Add Skills</a></div>
    306         <span class="dragnote" style="padding: 10px 0px; display: block; overflow: hidden;">Note: Drag and Drop Order Features Available only Pro version.</span>
     305        <div class="addskills"><a id="add-row" class="button" href="#"><?php esc_html_e( 'Add Skill', 'team-ultimate' ); ?></a></div>
     306        <span class="dragnote" style="padding: 10px 0px; display: block; overflow: hidden;"><?php esc_html_e( 'Note: Drag and Drop Order Features Available only Pro version.', 'team-ultimate' ); ?></span>
    307307
    308308        <script>
     
    318318                return false;
    319319            });
    320          //     $('#repeatable-fieldset-one .allskills').sortable({
     320            //  $('#repeatable-fieldset-one .allskills').sortable({
    321321            //  opacity: 0.6,
    322322            //  revert: true,
     
    332332    function pe_teamultimate_reg_socialskillsaveboxes($post_id) {
    333333
    334         if ( ! isset( $_POST['wpteams_social_repetable_metanonce'] ) ||
    335         ! wp_verify_nonce( $_POST['wpteams_social_repetable_metanonce'], 'wpteams_social_repetable_metanonce' ) )
    336             return;
    337 
    338         if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
    339             return;
    340 
    341         if (!current_user_can('edit_post', $post_id))
    342             return;
     334        // Security checks before saving meta box data
     335        if (
     336            ! isset( $_POST['wpteams_social_repetable_metanonce'] ) ||
     337            ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['wpteams_social_repetable_metanonce'] ) ), 'wpteams_social_repetable_metanonce' )
     338        ) {
     339            return;
     340        }
     341
     342        if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
     343            return;
     344        }
     345
     346        if ( ! current_user_can( 'edit_post', $post_id ) ) {
     347            return;
     348        }
    343349
    344350        $old = get_post_meta($post_id, 'wpteams_social_repetable_fields', true);
    345351        $new = array();
    346        
    347         $names = $_POST['name'];
    348         $skillnumberss = $_POST['skillnumbers'];
     352
     353        // Sanity check before accessing $_POST values
     354        $names = isset( $_POST['name'] ) ? (array) $_POST['name'] : array();
     355        $skillnumberss = isset( $_POST['skillnumbers'] ) ? (array) $_POST['skillnumbers'] : array();
    349356       
    350357        $count = count( $names );
    351        
     358
    352359        for ( $i = 0; $i < $count; $i++ ) {
    353360            if ( $names[$i] != '' ) :
    354361                $new[$i]['name'] = stripslashes( strip_tags( $names[$i] ) );
    355362
    356 
    357                 if ( $skillnumberss[$i] == '' )
     363                if ( $skillnumberss[$i] == '' ) {
    358364                    $new[$i]['skillnumbers'] = '';
    359                 else
    360                     $new[$i]['skillnumbers'] = stripslashes( $skillnumberss[$i] ); // and however you want to sanitize
    361 
     365                } else {
     366                    $new[$i]['skillnumbers'] = stripslashes( $skillnumberss[$i] );
     367                }
    362368            endif;
    363369        }
    364         if ( !empty( $new ) && $new != $old )
     370
     371        if ( ! empty( $new ) && $new !== $old ) {
    365372            update_post_meta( $post_id, 'wpteams_social_repetable_fields', $new );
    366         elseif ( empty($new) && $old )
     373        } elseif ( empty( $new ) && $old ) {
    367374            delete_post_meta( $post_id, 'wpteams_social_repetable_fields', $old );
     375        }
     376
    368377    }
    369378    add_action('save_post', 'pe_teamultimate_reg_socialskillsaveboxes');
     
    374383            'Facebook'      => 'fa-facebook',
    375384            'Twitter'       => 'fa-twitter',
     385            'Google'        => 'fa-google',
    376386            'Google Plus'   => 'fa-google-plus',
     387            'Instagram'     => 'fa-instagram',
     388            'Pinterest'     => 'fa-pinterest',
    377389            'Linkedin'      => 'fa-linkedin',
     390            'Dribbble'      => 'fa-dribbble',
     391            'Behance'       => 'fa-behance',
     392            'Youtube'       => 'fa-youtube',
     393            'RSS'           => 'fa-rss',
     394            'VK'            => 'fa-vk',
     395            'Skype'         => 'fa-skype',
     396            'Slack'         => 'fa-slack',
     397            'Github'        => 'fa-github',
    378398        );
    379399        return $totlacionsarray;
     
    386406        $wpsteam_social_iconbox_repeat  = get_post_meta($post->ID, 'wpsteam_social_iconbox_repeat', true);
    387407        $totlacionsarray                = wpstesm_total_iocns_listers();
     408
    388409        wp_nonce_field( 'wpteam_socialmetabox_nonces', 'wpteam_socialmetabox_nonces' );
    389410       
     
    404425                            <select name="select[]">
    405426                            <?php foreach ( $totlacionsarray as $label => $value ) : ?>
    406                             <option value="<?php echo $value; ?>"<?php selected( $sciconsfield['select'], $value ); ?>><?php echo $label; ?></option>
     427                            <option value="<?php echo esc_attr( $value ); ?>"<?php selected( $sciconsfield['select'], $value ); ?>><?php echo esc_html( $label ); ?></option>
    407428                            <?php endforeach; ?>
    408429                            </select>
    409430                        </div>
    410                         <div class="icondeletemove"><a class="button removeiconcolumns" href="#">Remove Social Profile</a></div>
     431                        <div class="icondeletemove"><a class="button removeiconcolumns" href="#"><?php esc_html_e( 'Remove Social Profile', 'team-ultimate' ); ?></a></div>
    411432                    </div>
    412433                <?php
     
    421442                <div class="emptyicons screen-reader-text removescicons">
    422443                    <div class="sciconsdrag"><a class="sorticonlists"><i class="fa fa-arrows"></i></a></div>
    423                     <div class="socialicons_field"><input type="text" placeholder="https://example.com/username" class="widefat" name="sciconsurl[]" /></div>
     444                    <div class="socialicons_field"><input type="text" placeholder="<?php esc_attr_e( 'https://example.com/username', 'team-ultimate' ); ?>" class="widefat" name="sciconsurl[]" /></div>
    424445                    <div class="socialicons_select_field">
    425446                        <select name="select[]">
    426447                        <?php foreach ( $totlacionsarray as $label => $value ) : ?>
    427                         <option value="<?php echo $value; ?>"><?php echo $label; ?></option>
     448                        <option value="<?php echo esc_attr( $value ); ?>"><?php echo esc_html( $label ); ?></option>
    428449                        <?php endforeach; ?>
    429450                        </select>
    430451                    </div>
    431                     <div class="icondeletemove"><a class="button removeiconcolumns" href="#">Remove Social Profile</a></div>
     452                    <div class="icondeletemove"><a class="button removeiconcolumns" href="#"><?php esc_html_e( 'Remove Social Profile', 'team-ultimate' ); ?></a></div>
    432453                </div>
     454
    433455            </div>
    434456        </div>
    435457
    436         <div class="addsocialbtn"><a id="addsocialicons" class="button" href="#">Add Social Profile</a></div>
    437         <span class="dragnote" style="padding: 10px 0px; display: block; overflow: hidden;">Note: Unlimited Icons & Drag/Drop Order Features Available only Pro version.</span>
     458        <div class="addsocialbtn"><a id="addsocialicons" class="button" href="#"><?php esc_html_e( 'Add Social Profile', 'team-ultimate' ); ?></a></div>
     459        <span class="dragnote" style="padding: 10px 0px; display: block; overflow: hidden;"><?php esc_html_e( 'Note: Drag/Drop Icon Order Features Available only Pro version.', 'team-ultimate' ); ?></span>
    438460
    439461        <script>
     
    449471                return false;
    450472            });
    451          //     $('#repeatable_socialicons .allicolist').sortable({
     473            //  $('#repeatable_socialicons .allicolist').sortable({
    452474            //  opacity: 0.6,
    453475            //  revert: true,
     
    462484    function wpsteamsocial_icons_metasaves($post_id) {
    463485
    464         if ( ! isset( $_POST['wpteam_socialmetabox_nonces'] ) ||
    465         ! wp_verify_nonce( $_POST['wpteam_socialmetabox_nonces'], 'wpteam_socialmetabox_nonces' ) )
    466             return;
    467 
    468         if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
    469             return;
    470 
    471         if (!current_user_can('edit_post', $post_id))
    472             return;
    473 
    474         $sciconrepeat = get_post_meta($post_id, 'wpsteam_social_iconbox_repeat', true);
     486        // Security checks before saving meta box data
     487        if (
     488            ! isset( $_POST['wpteam_socialmetabox_nonces'] ) ||
     489            ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['wpteam_socialmetabox_nonces'] ) ), 'wpteam_socialmetabox_nonces' )
     490        ) {
     491            return;
     492        }
     493
     494        if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
     495            return;
     496        }
     497
     498        if ( ! current_user_can( 'edit_post', $post_id ) ) {
     499            return;
     500        }
     501
     502        $sciconrepeat = get_post_meta( $post_id, 'wpsteam_social_iconbox_repeat', true );
    475503        $sciconsarray = array();
    476        
     504
    477505        $totlacionsarray = wpstesm_total_iocns_listers();
    478        
    479         $sciconsurls = $_POST['sciconsurl'];
    480         $selectsicon = $_POST['select'];
    481        
     506
     507        // Sanitize input arrays safely
     508        $sciconsurls = isset( $_POST['sciconsurl'] ) && is_array( $_POST['sciconsurl'] )
     509            ? array_map( 'sanitize_text_field', wp_unslash( $_POST['sciconsurl'] ) )
     510            : array();
     511
     512        $selectsicon = isset( $_POST['select'] ) && is_array( $_POST['select'] )
     513            ? array_map( 'sanitize_text_field', wp_unslash( $_POST['select'] ) )
     514            : array();
     515
    482516        $sccount = count( $sciconsurls );
    483        
     517
    484518        for ( $i = 0; $i < $sccount; $i++ ) {
    485             if ( $sciconsurls[$i] != '' ) :
    486                 $sciconsarray[$i]['sciconsurl'] = stripslashes( $sciconsurls[$i] );
    487 
    488                 if ( in_array( $selectsicon[$i], $totlacionsarray ) )
    489                     $sciconsarray[$i]['select'] = $selectsicon[$i];
    490                 else
    491                     $sciconsarray[$i]['select'] = '';
    492             endif;
    493         }
    494         if ( !empty( $sciconsarray ) && $sciconsarray != $sciconrepeat )
     519            $url  = isset( $sciconsurls[ $i ] ) ? esc_url_raw( trim( $sciconsurls[ $i ] ) ) : '';
     520            $icon = isset( $selectsicon[ $i ] ) ? sanitize_text_field( $selectsicon[ $i ] ) : '';
     521
     522            if ( ! empty( $url ) ) {
     523                $sciconsarray[ $i ]['sciconsurl'] = $url;
     524
     525                if ( in_array( $icon, $totlacionsarray, true ) ) {
     526                    $sciconsarray[ $i ]['select'] = $icon;
     527                } else {
     528                    $sciconsarray[ $i ]['select'] = '';
     529                }
     530            }
     531        }
     532
     533        if ( ! empty( $sciconsarray ) && $sciconsarray !== $sciconrepeat ) {
    495534            update_post_meta( $post_id, 'wpsteam_social_iconbox_repeat', $sciconsarray );
    496         elseif ( empty($sciconsarray) && $sciconrepeat )
     535        } elseif ( empty( $sciconsarray ) && $sciconrepeat ) {
    497536            delete_post_meta( $post_id, 'wpsteam_social_iconbox_repeat', $sciconrepeat );
     537        }
    498538    }
    499539
  • team-ultimate/trunk/libs/shortcode/team-ultimate-shortcode.php

    r3369437 r3381685  
    2020        $pe_team_gridtypes                = get_post_meta($postid, 'pe_team_gridtypes', true);
    2121        $pe_teamtotal_column              = get_post_meta($postid, 'pe_teamtotal_column', true);
     22        $pe_teamtotal_laptop_columns              = get_post_meta($postid, 'pe_teamtotal_laptop_columns', true);
     23        $pe_teamtotal_tablet_columns              = get_post_meta($postid, 'pe_teamtotal_tablet_columns', true);
     24        $pe_teamtotal_mobile_columns              = get_post_meta($postid, 'pe_teamtotal_mobile_columns', true);
    2225        $pe_team_marginleftright_size     = get_post_meta($postid, 'pe_team_marginleftright_size', true);
    2326        $pe_team_marginbottom_size        = get_post_meta($postid, 'pe_team_marginbottom_size', true);
     
    164167    }
    165168    add_shortcode( 'tmultmate', 'pe_teamultimate_shortcode_attr' );
    166    
  • team-ultimate/trunk/libs/shortcode/template/theme-1.php

    r3334684 r3381685  
    6868                    vertical-align: middle;
    6969                    margin: 0;
     70                    width: 100%;
    7071                }
    7172                .teamultimate-<?php echo esc_attr( $postid ); ?> .teamultimate-style01-info {
     
    8182                    font-style: <?php echo $pe_team_title_fontstyle;?>;
    8283                    margin: 0 0 10px;
    83                     font-weight: normal;
     84                    font-weight: <?php echo $pe_team_title_fontweight;?>;
    8485                }
    8586                .teamultimate-<?php echo esc_attr( $postid ); ?> .teamultimate-style01-designation h3 {
     
    222223                ?>
    223224
    224                 <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-2 teamcolumn-col-sm-2 teamcolumn-col-xs-1">
     225                <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-<?php echo esc_attr( $pe_teamtotal_laptop_columns ); ?> teamcolumn-col-sm-<?php echo esc_attr( $pe_teamtotal_tablet_columns ); ?> teamcolumn-col-xs-<?php echo esc_attr( $pe_teamtotal_mobile_columns ); ?>">
    225226                    <div class="teamultimate-style01-items-<?php echo esc_attr( $postid ); ?>">
    226227                        <div class="teamultimate-style01-thumb">
  • team-ultimate/trunk/libs/shortcode/template/theme-2.php

    r3334684 r3381685  
    3131                font-style: <?php echo $pe_team_title_fontstyle;?>;
    3232                margin: 0 0 10px;
    33                 font-weight: normal;
     33                font-weight: <?php echo $pe_team_title_fontweight;?>;
    3434            }
    3535            .teamultimate-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designation h3 {
     
    108108                vertical-align: middle;
    109109                margin: 0;
     110                width: 100%;
    110111            }
    111112            .teamultimate-<?php echo esc_attr( $postid ); ?> .teamcolumn-col-lg-1,
     
    178179            ?>
    179180
    180             <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-2 teamcolumn-col-sm-2 teamcolumn-col-xs-1">
     181            <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-<?php echo esc_attr( $pe_teamtotal_laptop_columns ); ?> teamcolumn-col-sm-<?php echo esc_attr( $pe_teamtotal_tablet_columns ); ?> teamcolumn-col-xs-<?php echo esc_attr( $pe_teamtotal_mobile_columns ); ?>">
    181182                <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>">
    182183                    <div class="single-teamultimate-thumb">
  • team-ultimate/trunk/libs/shortcode/template/theme-3.php

    r3334684 r3381685  
    3535                font-style: <?php echo $pe_team_title_fontstyle;?>;
    3636                margin: 0 0 10px;
    37                 font-weight: normal;
     37                font-weight: <?php echo $pe_team_title_fontweight;?>;
    3838            }
    3939            .teamultimate-three-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designatioin h3 {
     
    123123                vertical-align: middle;
    124124                margin: 0;
     125                width: 100%;
    125126            }
    126127            .teamultimate-three-<?php echo esc_attr( $postid ); ?> .teamcolumn-col-lg-1,
     
    193194            ?>
    194195
    195             <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-2 teamcolumn-col-sm-2 teamcolumn-col-xs-1">
     196            <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-<?php echo esc_attr( $pe_teamtotal_laptop_columns ); ?> teamcolumn-col-sm-<?php echo esc_attr( $pe_teamtotal_tablet_columns ); ?> teamcolumn-col-xs-<?php echo esc_attr( $pe_teamtotal_mobile_columns ); ?>">
    196197                <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>">
    197198                    <div class="single-teamultimate-thumb">
  • team-ultimate/trunk/libs/shortcode/template/theme-4.php

    r3334684 r3381685  
    6565                font-style: <?php echo $pe_team_title_fontstyle;?>;
    6666                margin: 0 0 10px;
    67                 font-weight: normal;
     67                font-weight: <?php echo $pe_team_title_fontweight;?>;
    6868            }
    6969            .teamultimate-four-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designation h3 {
     
    142142                vertical-align: middle;
    143143                margin: 0;
     144                width: 100%;
    144145            }
    145146            .teamultimate-four-<?php echo esc_attr( $postid ); ?> .teamcolumn-col-lg-1,
     
    212213            ?>
    213214
    214             <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-2 teamcolumn-col-sm-2 teamcolumn-col-xs-1">
     215            <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-<?php echo esc_attr( $pe_teamtotal_laptop_columns ); ?> teamcolumn-col-sm-<?php echo esc_attr( $pe_teamtotal_tablet_columns ); ?> teamcolumn-col-xs-<?php echo esc_attr( $pe_teamtotal_mobile_columns ); ?>">
    215216                <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>">
    216217                    <div class="single-teamultimate-thumb">
  • team-ultimate/trunk/libs/shortcode/template/theme-5.php

    r3334684 r3381685  
    4545                font-style: <?php echo $pe_team_title_fontstyle;?>;
    4646                margin: 0 0 10px;
    47                 font-weight: normal;
     47                font-weight: <?php echo $pe_team_title_fontweight;?>;
    4848            }
    4949            .teamultimate-five-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designation h3 {
     
    122122                vertical-align: middle;
    123123                margin: 0;
     124                width: 100%;
    124125            }
    125126           
     
    193194            ?>
    194195
    195             <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-2 teamcolumn-col-sm-2 teamcolumn-col-xs-1">
     196            <div class="teamcolumn-col-lg-<?php echo esc_attr( $pe_teamtotal_column ); ?> teamcolumn-col-md-<?php echo esc_attr( $pe_teamtotal_laptop_columns ); ?> teamcolumn-col-sm-<?php echo esc_attr( $pe_teamtotal_tablet_columns ); ?> teamcolumn-col-xs-<?php echo esc_attr( $pe_teamtotal_mobile_columns ); ?>">
    196197                <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>">
    197198                    <div class="single-teamultimate-thumb">
     
    202203                            <h2><?php the_title();?></h2>
    203204                        </div>
    204                         <?php if (!empty($teamultimate_designation) && $pe_team_designation_hides == 1): ?>
     205                        <?php if (!empty($teamultimate_designation) && $pe_team_designation_hides == 1) : ?>
    205206                            <div class="single-teamultimate-designation">
    206207                                <h3><?php echo esc_html($teamultimate_designation); ?></h3>
  • team-ultimate/trunk/readme.txt

    r3369437 r3381685  
    44Tags: team, members profiles, our teams, team WordPress plugin, team showcase
    55Requires at least: 4.0
    6 Tested up to: 6.8.2
    7 Stable tag: 3.0.0
     6Tested up to: 6.8.3
     7Stable tag: 3.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    135135== Changelog ==
    136136
     137= 3.0.1 =
     138* Added New Options.
     139* Added New Social Icons.
     140* Update CSS File.
     141
    137142= 3.0.0 =
    138143* Added New Options.
  • team-ultimate/trunk/team-ultimate.php

    r3369437 r3381685  
    44    Plugin URI: https://pickelements.com/team-ultimate
    55    Description: Team Ultimate is a powerful plugin that allows you to easily create and manage beautiful team pages. You can add unlimited teams, members, and categories.
    6     Version: 3.0.0
     6    Version: 3.0.1
    77    Author: Pickelements
    88    Author URI: https://pickelements.com
Note: See TracChangeset for help on using the changeset viewer.