Changeset 3381685
- Timestamp:
- 10/21/2025 07:43:46 AM (5 months ago)
- Location:
- team-ultimate/trunk
- Files:
-
- 11 edited
-
admin/css/team-ultimate-admin.css (modified) (1 diff)
-
libs/meta-boxes/team-ultimate-post-metaboxes.php (modified) (24 diffs)
-
libs/post-types/team-ultimate-post-type.php (modified) (12 diffs)
-
libs/shortcode/team-ultimate-shortcode.php (modified) (2 diffs)
-
libs/shortcode/template/theme-1.php (modified) (3 diffs)
-
libs/shortcode/template/theme-2.php (modified) (3 diffs)
-
libs/shortcode/template/theme-3.php (modified) (3 diffs)
-
libs/shortcode/template/theme-4.php (modified) (3 diffs)
-
libs/shortcode/template/theme-5.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
team-ultimate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
team-ultimate/trunk/admin/css/team-ultimate-admin.css
r3113458 r3381685 179 179 margin-right: 0px; 180 180 } 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{181 select#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{ 182 182 height: 40px; 183 183 border-radius: 0; -
team-ultimate/trunk/libs/meta-boxes/team-ultimate-post-metaboxes.php
r3369437 r3381685 44 44 $teamultimate_locations = get_post_meta($post->ID, 'teamultimate_locations', true); 45 45 $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 46 50 ?> 47 51 <div class="wrap"> 48 52 <div class="pe-teamcustomize-area"> 53 49 54 <div class="column-customize-inner"> 50 55 <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> 53 58 </div> 54 59 <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' ); ?>" /> 56 65 </div> 57 </div> <!-- End Full Name -->66 </div> 58 67 59 68 <div class="column-customize-inner"> 60 69 <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> 63 72 </div> 64 73 <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' ); ?>" /> 66 79 </div> 67 </div> <!-- End Full Name -->80 </div> 68 81 69 82 <div class="column-customize-inner"> 70 83 <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> 73 86 </div> 74 87 <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' ); ?>" /> 76 93 </div> 77 </div> <!-- End Full Name -->94 </div> 78 95 79 96 <div class="column-customize-inner"> 80 97 <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> 83 100 </div> 84 101 <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' ); ?>" /> 86 107 </div> 87 </div> <!-- End Location -->108 </div> 88 109 89 110 <div class="column-customize-inner"> 90 111 <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> 93 114 </div> 94 115 <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> 96 119 </div> 97 </div><!-- End Location --> 120 </div> 121 98 122 </div> 99 123 </div> … … 102 126 103 127 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'] ) ); 142 163 } 143 164 } … … 157 178 $pe_team_order = get_post_meta($post->ID, 'pe_team_order', true); 158 179 $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 160 185 $pe_team_marginleftright_size = get_post_meta($post->ID, 'pe_team_marginleftright_size', true); 161 186 $pe_team_marginbottom_size = get_post_meta($post->ID, 'pe_team_marginbottom_size', true); … … 211 236 $pe_team_details_size = get_post_meta($post->ID, 'pe_team_details_size', true); 212 237 $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 214 242 # Team Filter Option 215 243 $pe_team_filter_menu_position = get_post_meta( $post->ID, 'pe_team_filter_menu_position', true ); … … 229 257 230 258 # 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'; 235 263 $pe_team_item_loop = get_post_meta($post->ID, 'pe_team_item_loop', true); 236 264 $pe_team_item_margin = get_post_meta($post->ID, 'pe_team_item_margin', true); … … 249 277 $pe_team_item_pagination_style = get_post_meta($post->ID, 'pe_team_item_pagination_style', true); 250 278 $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' ); 251 282 252 283 ?> … … 444 475 <select name="pe_team_title_fontstyle" id="pe_team_title_fontstyle" class="timezone_string"> 445 476 <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> 447 478 </select> 448 479 </div> 449 480 </div><!-- End --> 450 481 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> 465 501 </div><!-- End --> 466 502 … … 999 1035 </div><!-- End --> 1000 1036 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> 1015 1055 </div><!-- End --> 1016 1056 … … 1528 1568 </div> 1529 1569 <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 1537 1608 </div> 1538 1609 </div><!-- End Testimonial Grid Select Column --> … … 1645 1716 <div class="column-dropdown-items"> 1646 1717 <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> 1649 1720 </select> 1650 1721 </div> … … 1653 1724 <div class="column-customize-inner"> 1654 1725 <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 H ide 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> 1657 1728 </div> 1658 1729 <div class="column-dropdown-items"> 1659 1730 <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> 1662 1733 </select> 1663 1734 </div> … … 1671 1742 <div class="column-dropdown-items"> 1672 1743 <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> 1675 1746 </select> 1676 1747 </div> … … 1694 1765 <div class="column-dropdown-items"> 1695 1766 <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> 1698 1769 </select> 1699 1770 </div> … … 1727 1798 </div> 1728 1799 <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> 1741 1837 </div> 1742 1838 </div><!-- End Testimonial Slider Items No --> 1743 1839 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> 1806 1861 1807 1862 <div class="column-customize-inner"> … … 1812 1867 <div class="column-dropdown-items"> 1813 1868 <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> 1816 1871 </select> 1817 1872 </div> … … 1835 1890 <div class="column-dropdown-items"> 1836 1891 <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> 1839 1894 </select> 1840 1895 </div> … … 1903 1958 <div class="column-dropdown-items"> 1904 1959 <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> 1907 1962 </select> 1908 1963 </div> … … 1970 2025 function pe_teamultimate_scode_meta_boxes_save($post_id){ 1971 2026 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 ); 1979 2053 } else { 1980 update_post_meta( $post_id, 'pe_team_catslist', 'unchecked' );1981 }2054 update_post_meta( $post_id, 'pe_team_catslist', 'unchecked' ); 2055 } 1982 2056 1983 2057 #Checks for input and sanitizes/saves if needed … … 1999 2073 } 2000 2074 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 2001 2093 #Checks for input and sanitizes/saves if needed 2002 2094 if ( isset( $_POST[ 'pe_team_marginleftright_size' ] ) ) { … … 2101 2193 } 2102 2194 2103 2104 2105 2195 #Checks for input and sanitizes/saves if needed 2106 2196 if ( isset( $_POST[ 'pe_team_designation_hides' ] ) ) { … … 2308 2398 } 2309 2399 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 } 2323 2405 2324 2406 #Checks for input and sanitizes/saves if needed … … 2370 2452 } 2371 2453 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 } 2385 2459 2386 2460 #Checks for input and sanitizes/saves if needed … … 2454 2528 } 2455 2529 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 2463 2538 } 2464 2539 add_action('save_post', 'pe_teamultimate_scode_meta_boxes_save'); … … 2468 2543 <textarea cols="35" rows="1" onClick="this.select();" >[tmultmate <?php echo 'id="'.$post->ID.'"';?>]</textarea> 2469 2544 <?php 2470 } 2545 } 2471 2546 2472 2547 function pe_teamultimate_code_display_rate( $post, $args ) {?> -
team-ultimate/trunk/libs/post-types/team-ultimate-post-type.php
r3334684 r3381685 249 249 add_meta_box( 250 250 'wpteammeta_inner_register', # Metabox 251 __( 'Member Social Profiles', 'team-ultimate' ), # Title251 __( 'Member Social Profiles', 'team-ultimate' ), # Title 252 252 'display_wpsteamcpm_metasbox', # Call Back func 253 253 $wpsvg, # post type … … 255 255 ); 256 256 add_meta_box( 257 'wpsvgallery_meta_box_id121', # Metabox258 __( 'Add Member Skills', 'team-ultimate' ), # Title259 'display_all_skills_inputs_fields', # Call Back func257 'wpsvgallery_meta_box_id121', # Metabox 258 __( 'Add Member Skills', 'team-ultimate' ), # Title 259 'display_all_skills_inputs_fields', # Call Back func 260 260 $wpsvg, # post type 261 261 'normal' # Text Content … … 283 283 284 284 <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> 286 286 </div> 287 287 <?php … … 298 298 <div class="skillsbarnamefield"><input type="text" class="widefat" placeholder="Skill Name" name="name[]" /></div> 299 299 <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> 301 301 </div> 302 302 </div> 303 303 </div> 304 304 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> 307 307 308 308 <script> … … 318 318 return false; 319 319 }); 320 // $('#repeatable-fieldset-one .allskills').sortable({320 // $('#repeatable-fieldset-one .allskills').sortable({ 321 321 // opacity: 0.6, 322 322 // revert: true, … … 332 332 function pe_teamultimate_reg_socialskillsaveboxes($post_id) { 333 333 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 } 343 349 344 350 $old = get_post_meta($post_id, 'wpteams_social_repetable_fields', true); 345 351 $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(); 349 356 350 357 $count = count( $names ); 351 358 352 359 for ( $i = 0; $i < $count; $i++ ) { 353 360 if ( $names[$i] != '' ) : 354 361 $new[$i]['name'] = stripslashes( strip_tags( $names[$i] ) ); 355 362 356 357 if ( $skillnumberss[$i] == '' ) 363 if ( $skillnumberss[$i] == '' ) { 358 364 $new[$i]['skillnumbers'] = ''; 359 else360 $new[$i]['skillnumbers'] = stripslashes( $skillnumberss[$i] ); // and however you want to sanitize361 365 } else { 366 $new[$i]['skillnumbers'] = stripslashes( $skillnumberss[$i] ); 367 } 362 368 endif; 363 369 } 364 if ( !empty( $new ) && $new != $old ) 370 371 if ( ! empty( $new ) && $new !== $old ) { 365 372 update_post_meta( $post_id, 'wpteams_social_repetable_fields', $new ); 366 elseif ( empty($new) && $old )373 } elseif ( empty( $new ) && $old ) { 367 374 delete_post_meta( $post_id, 'wpteams_social_repetable_fields', $old ); 375 } 376 368 377 } 369 378 add_action('save_post', 'pe_teamultimate_reg_socialskillsaveboxes'); … … 374 383 'Facebook' => 'fa-facebook', 375 384 'Twitter' => 'fa-twitter', 385 'Google' => 'fa-google', 376 386 'Google Plus' => 'fa-google-plus', 387 'Instagram' => 'fa-instagram', 388 'Pinterest' => 'fa-pinterest', 377 389 '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', 378 398 ); 379 399 return $totlacionsarray; … … 386 406 $wpsteam_social_iconbox_repeat = get_post_meta($post->ID, 'wpsteam_social_iconbox_repeat', true); 387 407 $totlacionsarray = wpstesm_total_iocns_listers(); 408 388 409 wp_nonce_field( 'wpteam_socialmetabox_nonces', 'wpteam_socialmetabox_nonces' ); 389 410 … … 404 425 <select name="select[]"> 405 426 <?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> 407 428 <?php endforeach; ?> 408 429 </select> 409 430 </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> 411 432 </div> 412 433 <?php … … 421 442 <div class="emptyicons screen-reader-text removescicons"> 422 443 <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> 424 445 <div class="socialicons_select_field"> 425 446 <select name="select[]"> 426 447 <?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> 428 449 <?php endforeach; ?> 429 450 </select> 430 451 </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> 432 453 </div> 454 433 455 </div> 434 456 </div> 435 457 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> 438 460 439 461 <script> … … 449 471 return false; 450 472 }); 451 // $('#repeatable_socialicons .allicolist').sortable({473 // $('#repeatable_socialicons .allicolist').sortable({ 452 474 // opacity: 0.6, 453 475 // revert: true, … … 462 484 function wpsteamsocial_icons_metasaves($post_id) { 463 485 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 ); 475 503 $sciconsarray = array(); 476 504 477 505 $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 482 516 $sccount = count( $sciconsurls ); 483 517 484 518 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 ) { 495 534 update_post_meta( $post_id, 'wpsteam_social_iconbox_repeat', $sciconsarray ); 496 elseif ( empty($sciconsarray) && $sciconrepeat )535 } elseif ( empty( $sciconsarray ) && $sciconrepeat ) { 497 536 delete_post_meta( $post_id, 'wpsteam_social_iconbox_repeat', $sciconrepeat ); 537 } 498 538 } 499 539 -
team-ultimate/trunk/libs/shortcode/team-ultimate-shortcode.php
r3369437 r3381685 20 20 $pe_team_gridtypes = get_post_meta($postid, 'pe_team_gridtypes', true); 21 21 $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); 22 25 $pe_team_marginleftright_size = get_post_meta($postid, 'pe_team_marginleftright_size', true); 23 26 $pe_team_marginbottom_size = get_post_meta($postid, 'pe_team_marginbottom_size', true); … … 164 167 } 165 168 add_shortcode( 'tmultmate', 'pe_teamultimate_shortcode_attr' ); 166 -
team-ultimate/trunk/libs/shortcode/template/theme-1.php
r3334684 r3381685 68 68 vertical-align: middle; 69 69 margin: 0; 70 width: 100%; 70 71 } 71 72 .teamultimate-<?php echo esc_attr( $postid ); ?> .teamultimate-style01-info { … … 81 82 font-style: <?php echo $pe_team_title_fontstyle;?>; 82 83 margin: 0 0 10px; 83 font-weight: normal;84 font-weight: <?php echo $pe_team_title_fontweight;?>; 84 85 } 85 86 .teamultimate-<?php echo esc_attr( $postid ); ?> .teamultimate-style01-designation h3 { … … 222 223 ?> 223 224 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 ); ?>"> 225 226 <div class="teamultimate-style01-items-<?php echo esc_attr( $postid ); ?>"> 226 227 <div class="teamultimate-style01-thumb"> -
team-ultimate/trunk/libs/shortcode/template/theme-2.php
r3334684 r3381685 31 31 font-style: <?php echo $pe_team_title_fontstyle;?>; 32 32 margin: 0 0 10px; 33 font-weight: normal;33 font-weight: <?php echo $pe_team_title_fontweight;?>; 34 34 } 35 35 .teamultimate-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designation h3 { … … 108 108 vertical-align: middle; 109 109 margin: 0; 110 width: 100%; 110 111 } 111 112 .teamultimate-<?php echo esc_attr( $postid ); ?> .teamcolumn-col-lg-1, … … 178 179 ?> 179 180 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 ); ?>"> 181 182 <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>"> 182 183 <div class="single-teamultimate-thumb"> -
team-ultimate/trunk/libs/shortcode/template/theme-3.php
r3334684 r3381685 35 35 font-style: <?php echo $pe_team_title_fontstyle;?>; 36 36 margin: 0 0 10px; 37 font-weight: normal;37 font-weight: <?php echo $pe_team_title_fontweight;?>; 38 38 } 39 39 .teamultimate-three-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designatioin h3 { … … 123 123 vertical-align: middle; 124 124 margin: 0; 125 width: 100%; 125 126 } 126 127 .teamultimate-three-<?php echo esc_attr( $postid ); ?> .teamcolumn-col-lg-1, … … 193 194 ?> 194 195 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 ); ?>"> 196 197 <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>"> 197 198 <div class="single-teamultimate-thumb"> -
team-ultimate/trunk/libs/shortcode/template/theme-4.php
r3334684 r3381685 65 65 font-style: <?php echo $pe_team_title_fontstyle;?>; 66 66 margin: 0 0 10px; 67 font-weight: normal;67 font-weight: <?php echo $pe_team_title_fontweight;?>; 68 68 } 69 69 .teamultimate-four-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designation h3 { … … 142 142 vertical-align: middle; 143 143 margin: 0; 144 width: 100%; 144 145 } 145 146 .teamultimate-four-<?php echo esc_attr( $postid ); ?> .teamcolumn-col-lg-1, … … 212 213 ?> 213 214 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 ); ?>"> 215 216 <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>"> 216 217 <div class="single-teamultimate-thumb"> -
team-ultimate/trunk/libs/shortcode/template/theme-5.php
r3334684 r3381685 45 45 font-style: <?php echo $pe_team_title_fontstyle;?>; 46 46 margin: 0 0 10px; 47 font-weight: normal;47 font-weight: <?php echo $pe_team_title_fontweight;?>; 48 48 } 49 49 .teamultimate-five-<?php echo esc_attr( $postid ); ?> .single-teamultimate-designation h3 { … … 122 122 vertical-align: middle; 123 123 margin: 0; 124 width: 100%; 124 125 } 125 126 … … 193 194 ?> 194 195 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 ); ?>"> 196 197 <div class="single-teamultimate-items-<?php echo esc_attr( $postid ); ?>"> 197 198 <div class="single-teamultimate-thumb"> … … 202 203 <h2><?php the_title();?></h2> 203 204 </div> 204 <?php if (!empty($teamultimate_designation) && $pe_team_designation_hides == 1) : ?>205 <?php if (!empty($teamultimate_designation) && $pe_team_designation_hides == 1) : ?> 205 206 <div class="single-teamultimate-designation"> 206 207 <h3><?php echo esc_html($teamultimate_designation); ?></h3> -
team-ultimate/trunk/readme.txt
r3369437 r3381685 4 4 Tags: team, members profiles, our teams, team WordPress plugin, team showcase 5 5 Requires at least: 4.0 6 Tested up to: 6.8. 27 Stable tag: 3.0. 06 Tested up to: 6.8.3 7 Stable tag: 3.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 135 135 == Changelog == 136 136 137 = 3.0.1 = 138 * Added New Options. 139 * Added New Social Icons. 140 * Update CSS File. 141 137 142 = 3.0.0 = 138 143 * Added New Options. -
team-ultimate/trunk/team-ultimate.php
r3369437 r3381685 4 4 Plugin URI: https://pickelements.com/team-ultimate 5 5 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. 06 Version: 3.0.1 7 7 Author: Pickelements 8 8 Author URI: https://pickelements.com
Note: See TracChangeset
for help on using the changeset viewer.