_instagram__modal_content.php
4 years ago
counter-setting.php
3 years ago
providers-counter.php
3 years ago
style-setting.php
3 years ago
tab-menu.php
3 years ago
counter-setting.php
89 lines
| 1 | <?php |
| 2 | defined( 'ABSPATH') || exit; |
| 3 | ?> |
| 4 | <div class="wslu-social-login-main-wrapper"> |
| 5 | <?php |
| 6 | require_once( WSLU_LOGIN_PLUGIN . '/template/admin/counter/tab-menu.php'); |
| 7 | if($message_global == 'show'){?> |
| 8 | <div class="admin-page-framework-admin-notice-animation-container"> |
| 9 | <div 0="XS_Social_Login_Settings" id="XS_Social_Login_Settings" class="updated admin-page-framework-settings-notice-message admin-page-framework-settings-notice-container notice is-dismissible" style="margin: 1em 0px; visibility: visible; opacity: 1;"> |
| 10 | <p><?php echo esc_html__('Global setting data have been updated.', 'wp-social');?></p> |
| 11 | <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php echo esc_html__('Dismiss this notice.', 'wp-social');?></span></button> |
| 12 | </div> |
| 13 | </div> |
| 14 | <?php } ?> |
| 15 | |
| 16 | <form action="<?php echo esc_url(admin_url().'admin.php?page=wslu_counter_setting');?>" name="global_setting_submit_form" method="post" id="xs_global_form"> |
| 17 | <div class="social-block-wraper"> |
| 18 | <div class="global-section"> |
| 19 | |
| 20 | <div class="wslu-single-item wslu-align-center"> |
| 21 | |
| 22 | <div class="wslu-left-label"> |
| 23 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Cache (hours)', 'wp-social');?></label> |
| 24 | </div> |
| 25 | |
| 26 | <div class="wslu-right-content"> |
| 27 | |
| 28 | <input class="global-input-text wslu-global-input" type="text" id="cache_setup" name="xs_counter[global][cache]" value="<?php echo esc_html(isset($return_data['global']['cache']) ? $return_data['global']['cache'] : 12);?>" > |
| 29 | |
| 30 | </div> |
| 31 | </div> <!-- ./ end item --> |
| 32 | |
| 33 | |
| 34 | <div class="wslu-single-item"> |
| 35 | |
| 36 | <div class="wslu-left-label"> |
| 37 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Use theme default font family', 'wp-social'); ?></label> |
| 38 | </div> |
| 39 | |
| 40 | <div class="wslu-right-content wslu-inline"> |
| 41 | |
| 42 | <label class="social_radio_button_label xs_label_wp_login"> |
| 43 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_counter[show_font_from_theme]" value="1" <?php echo esc_attr((!empty($return_data['show_font_from_theme'])) ? 'checked' : ''); ?>> |
| 44 | |
| 45 | <?php echo esc_html__('Yes', 'wp-social'); ?> |
| 46 | </label> |
| 47 | |
| 48 | <label class="social_radio_button_label xs_label_wp_login"> |
| 49 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_counter[show_font_from_theme]" value="0" <?php echo esc_attr((empty($return_data['show_font_from_theme'])) ? 'checked' : ''); ?>> |
| 50 | |
| 51 | <?php echo esc_html__('No', 'wp-social'); ?> |
| 52 | </label> |
| 53 | |
| 54 | <div class="wslu-help-text"> |
| 55 | <p><?php esc_html_e('Choose "Yes" if you want to use the default font family of the theme installed on your website.', 'wp-social'); ?></p> |
| 56 | </div> |
| 57 | </div> |
| 58 | </div> |
| 59 | |
| 60 | <!-- Submit Button --> |
| 61 | <div class="wslu-single-item wslu-align-center"> |
| 62 | |
| 63 | <div class="wslu-left-label"> </div> |
| 64 | |
| 65 | <div class="wslu-right-content"> |
| 66 | <?php wp_nonce_field( 'counter_settings_submit_form_global_nonce', 'nonce' ); ?> |
| 67 | <button type="submit" name="counter_settings_submit_form_global" class="xs-btn btn-special small"><?php echo esc_html__('Save Changes', 'wp-social');?></button> |
| 68 | </div> |
| 69 | </div> <!-- ./ End Single Item --> |
| 70 | |
| 71 | <!-- Shortcode section --> |
| 72 | <div class="wslu-single-item wslu-align-center"> |
| 73 | |
| 74 | <div class="wslu-left-label"><label class="wslu-sec-title" for=""><?php echo esc_html__('Shortcode ', 'wp-social');?></label></div> |
| 75 | |
| 76 | <div class="wslu-right-content"> |
| 77 | <ol class="wslu-social-shortcodes"> |
| 78 | <li>[xs_social_counter] </li> |
| 79 | <li>[xs_social_counter provider="facebook,twitter,instagram" class="custom-class"] </li> |
| 80 | <li>[xs_social_counter provider="facebook" class="custom-class" style="" hover="top-tooltip"]</li> |
| 81 | <li>[xs_social_counter provider="all" class="" style="style-2" hover="top-tooltip"]</li> |
| 82 | </ol> |
| 83 | </div> |
| 84 | </div> <!-- ./ End Single Item --> |
| 85 | |
| 86 | </div> |
| 87 | </div> |
| 88 | </form> |
| 89 | </div> |