share-providers.php
3 years ago
share-setting.php
3 years ago
style-setting.php
3 years ago
tab-menu.php
3 years ago
share-setting.php
166 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/share/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 | |
| 17 | <form action="<?php echo esc_url(admin_url() . 'admin.php?page=wslu_share_setting'); ?>" name="share_global_setting_form" method="post" id="share_global_setting_form"> |
| 18 | |
| 19 | <div class="xs-social-block-wraper"> |
| 20 | <div class="xs-global-section"> |
| 21 | |
| 22 | <div class="wslu-single-item"> |
| 23 | |
| 24 | <div class="wslu-left-label"> |
| 25 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Use theme default font family', 'wp-social'); ?></label> |
| 26 | </div> |
| 27 | |
| 28 | <div class="wslu-right-content wslu-inline"> |
| 29 | |
| 30 | <label class="social_radio_button_label xs_label_wp_login"> |
| 31 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_share[show_font_from_theme]" value="1" <?php echo esc_attr((!empty($return_data['show_font_from_theme'])) ? 'checked' : ''); ?>> |
| 32 | |
| 33 | <?php echo esc_html__('Yes', 'wp-social'); ?> |
| 34 | </label> |
| 35 | |
| 36 | <label class="social_radio_button_label xs_label_wp_login"> |
| 37 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_share[show_font_from_theme]" value="0" <?php echo esc_attr((empty($return_data['show_font_from_theme'])) ? 'checked' : ''); ?>> |
| 38 | |
| 39 | <?php echo esc_html__('No', 'wp-social'); ?> |
| 40 | </label> |
| 41 | |
| 42 | <div class="wslu-help-text"> |
| 43 | <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> |
| 44 | </div> |
| 45 | </div> |
| 46 | </div> |
| 47 | |
| 48 | <div class="wslu-single-item"> |
| 49 | <div class="wslu-left-label"> </div> |
| 50 | <div class="wslu-right-content"> |
| 51 | <?php wp_nonce_field( 'share_global_setting_submit_form_nonce', 'nonce' ); ?> |
| 52 | <button type="submit" name="share_global_setting_submit_form" class="xs-btn btn-special small"><?php echo esc_html__('Save Changes', 'wp-social'); ?></button> |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | |
| 57 | </div> |
| 58 | </div> |
| 59 | |
| 60 | </form> |
| 61 | |
| 62 | <!-- <form action="<?php echo esc_url(admin_url() . 'admin.php?page=wslu_share_setting'); ?>" name="global_setting_submit_form" method="post" id="xs_global_form"> |
| 63 | <div class="social-block-wraper"> |
| 64 | <div class="global-section"> |
| 65 | |
| 66 | <div class="wslu-single-item"> |
| 67 | |
| 68 | <div class="wslu-left-label"> |
| 69 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Hide Icon', 'wp-social'); ?></label> |
| 70 | </div> |
| 71 | |
| 72 | <div class="wslu-right-content"> |
| 73 | |
| 74 | <input class="social_switch_button" type="checkbox" id="enable_shoe_icon_enable" name="xs_share[global][show_icon][enable]" value="1" <?php echo (isset($return_data['global']['show_icon']['enable']) && $return_data['global']['show_icon']['enable'] == 1) ? 'checked' : ''; ?>> |
| 75 | <label for="enable_shoe_icon_enable" class="social_switch_button_label"></label> |
| 76 | |
| 77 | </div> |
| 78 | </div> |
| 79 | |
| 80 | <div class="wslu-single-item"> |
| 81 | |
| 82 | <div class="wslu-left-label"> |
| 83 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Hide Text', 'wp-social'); ?></label> |
| 84 | </div> |
| 85 | |
| 86 | <div class="wslu-right-content"> |
| 87 | |
| 88 | <input class="social_switch_button" type="checkbox" id="enable_shoe_text_enable" name="xs_share[global][show_text][enable]" value="1" <?php echo esc_attr((isset($return_data['global']['show_text']['enable']) && $return_data['global']['show_text']['enable'] == 1) ? 'checked' : ''); ?>> |
| 89 | <label for="enable_shoe_text_enable" class="social_switch_button_label"></label> |
| 90 | |
| 91 | </div> |
| 92 | </div> |
| 93 | |
| 94 | <div class="wslu-single-item"> |
| 95 | |
| 96 | <div class="wslu-left-label"> |
| 97 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Hide Label', 'wp-social'); ?></label> |
| 98 | </div> |
| 99 | |
| 100 | <div class="wslu-right-content"> |
| 101 | |
| 102 | <input class="social_switch_button" type="checkbox" id="enable_shoe_label_enable" name="xs_share[global][show_label][enable]" value="1" <?php echo esc_attr((isset($return_data['global']['show_label']['enable']) && $return_data['global']['show_label']['enable'] == 1) ? 'checked' : ''); ?>> |
| 103 | <label for="enable_shoe_label_enable" class="social_switch_button_label"></label> |
| 104 | |
| 105 | </div> |
| 106 | </div> |
| 107 | |
| 108 | <div class="wslu-single-item"> |
| 109 | |
| 110 | <div class="wslu-left-label"> |
| 111 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Hide Share Count', 'wp-social'); ?></label> |
| 112 | </div> |
| 113 | |
| 114 | <div class="wslu-right-content"> |
| 115 | |
| 116 | <input class="social_switch_button" type="checkbox" id="enable_shoe_counter_enable" name="xs_share[global][show_counter][enable]" value="1" <?php echo esc_attr((isset($return_data['global']['show_counter']['enable']) && $return_data['global']['show_counter']['enable'] == 1) ? 'checked' : ''); ?>> |
| 117 | <label for="enable_shoe_counter_enable" class="social_switch_button_label"></label> |
| 118 | |
| 119 | </div> |
| 120 | </div> |
| 121 | |
| 122 | <div class="wslu-single-item"> |
| 123 | |
| 124 | <div class="wslu-left-label"> </div> |
| 125 | |
| 126 | <div class="wslu-right-content"> |
| 127 | <button type="submit" name="share_settings_submit_form_global" class="xs-btn btn-special small"><?php echo esc_html__('Save Changes', 'wp-social'); ?></button> |
| 128 | </div> |
| 129 | </div> |
| 130 | |
| 131 | <div class="wslu-single-item"> |
| 132 | |
| 133 | <div class="wslu-left-label"><label class="wslu-sec-title" for=""><?php echo esc_html__('Shortcode ', 'wp-social'); ?></label></div> |
| 134 | |
| 135 | <div class="wslu-right-content"> |
| 136 | <ol class="wslu-social-shortcodes"> |
| 137 | <li>[xs_social_share] </li> |
| 138 | <li>[xs_social_share provider="facebook,twitter,instagram" class="custom-class"] </li> |
| 139 | <li>[xs_social_share provider="facebook" class="custom-class" style=""]</li> |
| 140 | </ol> |
| 141 | </div> |
| 142 | </div> |
| 143 | |
| 144 | </div> |
| 145 | </div> |
| 146 | </form> --> |
| 147 | |
| 148 | <br> |
| 149 | <br> |
| 150 | <br> |
| 151 | |
| 152 | <div class="wslu-single-item"> |
| 153 | |
| 154 | <div class="wslu-left-label"><label class="wslu-sec-title" for=""><?php echo esc_html__('Shortcode ', 'wp-social'); ?></label></div> |
| 155 | |
| 156 | <div class="wslu-right-content"> |
| 157 | <ol class="wslu-social-shortcodes"> |
| 158 | <li>[xs_social_share] </li> |
| 159 | <li>[xs_social_share provider="facebook,twitter,instagram" class="custom-class"] </li> |
| 160 | <li>[xs_social_share provider="facebook" class="custom-class" style="" hover=""]</li> |
| 161 | <li>[xs_social_share provider="all" class="" style="style-3" hover="top-tooltip" layout="horizontal/vertical" count="Yes/No"]</li> |
| 162 | </ol> |
| 163 | </div> |
| 164 | </div> |
| 165 | |
| 166 | </div> |