share-providers.php
3 years ago
share-setting.php
3 years ago
style-setting.php
3 years ago
tab-menu.php
3 years ago
style-setting.php
400 lines
| 1 | <?php |
| 2 | defined( 'ABSPATH') || exit; |
| 3 | |
| 4 | $share_layout_alignment = empty($return_data['layout']) ? |
| 5 | \WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_VERTICAL : |
| 6 | \WP_Social\Helper\Helper::sanitize_white_list( |
| 7 | $return_data['layout'], |
| 8 | \WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_VERTICAL, |
| 9 | [\WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_VERTICAL, \WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_HORIZONTAL] |
| 10 | ); |
| 11 | |
| 12 | ?> |
| 13 | |
| 14 | <div class="wslu-social-login-main-wrapper"> |
| 15 | <?php |
| 16 | require_once(WSLU_LOGIN_PLUGIN . '/template/admin/share/tab-menu.php'); |
| 17 | if ($message_provider == 'show') { ?> |
| 18 | <div class="admin-page-framework-admin-notice-animation-container"> |
| 19 | <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;"> |
| 20 | <p><?php echo esc_html__('Styles data have been updated.', 'wp-social'); ?></p> |
| 21 | <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php echo esc_html__('Dismiss this notice.', 'wp-social'); ?></span></button> |
| 22 | </div> |
| 23 | </div> |
| 24 | <?php } ?> |
| 25 | |
| 26 | <?php if( did_action('wslu_social_pro/plugin_loaded') ): ?> |
| 27 | <template id="hover_preview_template"> |
| 28 | <div class="wslu-single-item__hover-preview"> |
| 29 | <img src="<?php echo esc_url(WSLU_PRO_LOGIN_PLUGIN_URL . 'assets/images/preview/'); ?>"/> |
| 30 | </div> |
| 31 | </template> |
| 32 | <?php endif; ?> |
| 33 | |
| 34 | |
| 35 | |
| 36 | <form class="wslu-share-styles-form" data-action="<?php echo esc_url(admin_url() . 'admin.php?page=wslu_share_setting&tab=wslu_style_setting'); ?>" action="<?php echo esc_url(admin_url() . 'admin.php?page=wslu_share_setting&tab=wslu_style_setting'); ?>" name="xs_style_submit_form" method="post" id="xs_style_form"> |
| 37 | <div class="xs-social-block-wraper"> |
| 38 | <div class="xs-global-section"> |
| 39 | |
| 40 | <ul class="wslu-display-type-container"> |
| 41 | <li> |
| 42 | <a href="#primary_content" data-id="primary_content"> |
| 43 | <?php echo esc_html__('Primary Content', 'wp-social'); ?> |
| 44 | <span><?php esc_html_e('Choose where to show share buttons.', 'wp-social'); ?></span> |
| 45 | </a> |
| 46 | </li> |
| 47 | <li> |
| 48 | <a href="#fixed_display" data-id="fixed_display"> |
| 49 | <?php echo esc_html__('Fixed Display ', 'wp-social'); ?> |
| 50 | <span><?php esc_html_e('Choose where to show share buttons.', 'wp-social'); ?></span> |
| 51 | </a> |
| 52 | </li> |
| 53 | </ul> |
| 54 | |
| 55 | |
| 56 | |
| 57 | <div class="wslu-display-content"> |
| 58 | <div class="wslu-single-item" id="wslu-primary_content"> |
| 59 | |
| 60 | |
| 61 | <!-- show count --> |
| 62 | <div class="wslu-single-item"> |
| 63 | |
| 64 | <div class="wslu-left-label"> |
| 65 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Show total count', 'wp-social'); ?></label> |
| 66 | </div> |
| 67 | |
| 68 | <div class="wslu-right-content horizontial"> |
| 69 | |
| 70 | <label class="social_radio_button_label xs_label_wp_login"> |
| 71 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_style[main_content][show_social_count_share]" value="1" <?php echo esc_attr((!empty($return_data['main_content']['show_social_count_share'])) ? 'checked' : ''); ?>> |
| 72 | |
| 73 | <?php echo esc_html__('Yes', 'wp-social'); ?> |
| 74 | </label> |
| 75 | |
| 76 | <label class="social_radio_button_label xs_label_wp_login"> |
| 77 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_style[main_content][show_social_count_share]" value="0" <?php echo esc_attr((empty($return_data['main_content']['show_social_count_share'])) ? 'checked' : ''); ?>> |
| 78 | |
| 79 | <?php echo esc_html__('No', 'wp-social'); ?> |
| 80 | </label> |
| 81 | </div> |
| 82 | </div> |
| 83 | |
| 84 | </div> <!-- ./ End Single Item --> |
| 85 | |
| 86 | <!-------------------------- |
| 87 | fixed position styles |
| 88 | ---------------------------> |
| 89 | |
| 90 | <div class="wslu-single-item" id="wslu-fixed_display"> |
| 91 | <div class="primary-content-setting"> |
| 92 | |
| 93 | <h2 class="primary-content-setting__title" for=""> |
| 94 | <?php echo esc_html__('Fixed Display', 'wp-social'); ?> |
| 95 | </h2> |
| 96 | |
| 97 | <div class="primary-content-setting__content mb-5"> |
| 98 | |
| 99 | <label for="_login_button_style__login_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 100 | |
| 101 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__login_content" name="xs_style[login_button_content]" value="no_content" <?php echo esc_attr((empty($return_data['login_button_content']) || $return_data['login_button_content'] == 'no_content') ? 'checked' : ''); ?>> |
| 102 | <span class="primary-content-setting__content__item"> |
| 103 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/share-primary-content/disable.png'); ?>"/> |
| 104 | <span class="primary-content-setting__content__item--name"> |
| 105 | <?php echo esc_html__('Disable ', 'wp-social'); ?> |
| 106 | </span> |
| 107 | </span> |
| 108 | </label> |
| 109 | |
| 110 | |
| 111 | <label for="_login_button_style__left_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 112 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__left_content" name="xs_style[login_button_content]" value="left_content" <?php echo esc_attr((isset($return_data['login_button_content']) && $return_data['login_button_content'] == 'left_content') ? 'checked' : ''); ?>> |
| 113 | <span class="primary-content-setting__content__item"> |
| 114 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/fixed-display-preview/left_floating.jpg'); ?>"/> |
| 115 | <span class="primary-content-setting__content__item--name"> |
| 116 | <?php echo esc_html__('Left Floating ', 'wp-social'); ?> |
| 117 | </span> |
| 118 | </span> |
| 119 | |
| 120 | </label> |
| 121 | |
| 122 | |
| 123 | <label for="_login_button_style__right_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 124 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__right_content" name="xs_style[login_button_content]" value="right_content" <?php echo esc_attr((isset($return_data['login_button_content']) && $return_data['login_button_content'] == 'right_content') ? 'checked' : ''); ?>> |
| 125 | <span class="primary-content-setting__content__item"> |
| 126 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/fixed-display-preview/right_floating.jpg'); ?>"/> |
| 127 | <span class="primary-content-setting__content__item--name"> |
| 128 | <?php echo esc_html__('Right Floating ', 'wp-social'); ?> |
| 129 | </span> |
| 130 | </span> |
| 131 | |
| 132 | </label> |
| 133 | |
| 134 | |
| 135 | <label for="_login_button_style__top_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 136 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__top_content" name="xs_style[login_button_content]" value="top_content" <?php echo esc_attr((isset($return_data['login_button_content']) && $return_data['login_button_content'] == 'top_content') ? 'checked' : ''); ?>> |
| 137 | <span class="primary-content-setting__content__item"> |
| 138 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/fixed-display-preview/top_inline.jpg'); ?>"/> |
| 139 | <span class="primary-content-setting__content__item--name"> |
| 140 | <?php echo esc_html__('Top Inline ', 'wp-social'); ?> |
| 141 | </span> |
| 142 | </span> |
| 143 | |
| 144 | </label> |
| 145 | |
| 146 | |
| 147 | <label for="_login_button_style__bottom_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 148 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__bottom_content" name="xs_style[login_button_content]" value="bottom_content" <?php echo esc_attr((isset($return_data['login_button_content']) && $return_data['login_button_content'] == 'bottom_content') ? 'checked' : ''); ?>> |
| 149 | <span class="primary-content-setting__content__item"> |
| 150 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/fixed-display-preview/bottom_inline.jpg'); ?>"/> |
| 151 | <span class="primary-content-setting__content__item--name"> |
| 152 | <?php echo esc_html__('Bottom Inline ', 'wp-social'); ?> |
| 153 | </span> |
| 154 | </span> |
| 155 | |
| 156 | </label> |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | </div> |
| 163 | |
| 164 | <!-- Show count --> |
| 165 | <div class="wslu-single-item"> |
| 166 | |
| 167 | <div class="wslu-left-label"> |
| 168 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Show total count', 'wp-social'); ?></label> |
| 169 | </div> |
| 170 | |
| 171 | <div class="wslu-right-content horizontial"> |
| 172 | |
| 173 | <label class="social_radio_button_label xs_label_wp_login"> |
| 174 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_style[fixed_display][show_social_count_share]" value="1" <?php echo esc_attr((!empty($return_data['fixed_display']['show_social_count_share'])) ? 'checked' : ''); ?>> |
| 175 | |
| 176 | <?php echo esc_html__('Yes', 'wp-social'); ?> |
| 177 | </label> |
| 178 | |
| 179 | <label class="social_radio_button_label xs_label_wp_login"> |
| 180 | <input class="social_radio_button wslu-global-radio-input" type="radio" name="xs_style[fixed_display][show_social_count_share]" value="0" <?php echo esc_attr((empty($return_data['fixed_display']['show_social_count_share'])) ? 'checked' : ''); ?>> |
| 181 | |
| 182 | <?php echo esc_html__('No', 'wp-social'); ?> |
| 183 | </label> |
| 184 | </div> |
| 185 | </div> |
| 186 | |
| 187 | </div> |
| 188 | |
| 189 | |
| 190 | </div> <!-- ./ End Single Item --> |
| 191 | |
| 192 | |
| 193 | </div> |
| 194 | |
| 195 | <!-- Layout --> |
| 196 | <div class="wslu-single-item wslu-share-layout"> |
| 197 | <div class="wslu-left-label"> |
| 198 | <label class="wslu-sec-title" for=""><?php echo esc_html__('Layout', 'wp-social'); ?></label> |
| 199 | </div> |
| 200 | |
| 201 | <div class="wslu-right-content horizontial"> |
| 202 | <label class="social_radio_button_label xs_label_wp_login"> |
| 203 | <input |
| 204 | class="social_radio_button wslu-layout-btn wslu-global-radio-input" |
| 205 | type="radio" |
| 206 | name="xs_style[layout]" |
| 207 | <?php checked($share_layout_alignment, \WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_HORIZONTAL) ?> |
| 208 | value="<?php echo esc_attr(\WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_HORIZONTAL) ?>" /> |
| 209 | |
| 210 | <?php echo esc_html__('Horizontal', 'wp-social'); ?> |
| 211 | </label> |
| 212 | |
| 213 | <label class="social_radio_button_label wslu-layout-btn xs_label_wp_login"> |
| 214 | <input |
| 215 | class="social_radio_button wslu-global-radio-input" |
| 216 | type="radio" |
| 217 | name="xs_style[layout]" |
| 218 | <?php checked($share_layout_alignment, \WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_VERTICAL) ?> |
| 219 | value="<?php echo esc_attr(\WP_Social\Keys::KEY_SHARE_LAYOUT_ALIGNMENT_VERTICAL) ?>" > |
| 220 | |
| 221 | <?php echo esc_html__('Vertical', 'wp-social'); ?> |
| 222 | </label> |
| 223 | </div> |
| 224 | </div> <!-- ./ End Single Item --> |
| 225 | |
| 226 | <!-------------------------- |
| 227 | Primary Content Settings |
| 228 | ---------------------------> |
| 229 | |
| 230 | <div class="wslu-single-item"> |
| 231 | <div class="primary-content-setting"> |
| 232 | |
| 233 | <h2 class="primary-content-setting__title" for=""> |
| 234 | <?php echo esc_html__('Primary Content', 'wp-social'); ?> |
| 235 | </h2> |
| 236 | |
| 237 | <div class="primary-content-setting__content"> |
| 238 | |
| 239 | <label for="_login_button_style__login_content1" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 240 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__login_content1" name="xs_style[login_content]" value="no_content" <?php echo esc_attr((empty($return_data['login_content']) || $return_data['login_content'] == 'no_content') ? 'checked' : ''); ?>> |
| 241 | <span class="primary-content-setting__content__item"> |
| 242 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/share-primary-content/disable.png'); ?>"/> |
| 243 | <span class="primary-content-setting__content__item--name"> |
| 244 | <?php echo esc_html__('Disable ', 'wp-social'); ?> |
| 245 | </span> |
| 246 | </span> |
| 247 | |
| 248 | </label> |
| 249 | |
| 250 | <label for="_login_button_style__after_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 251 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__after_content" name="xs_style[login_content]" value="after_content" <?php echo (isset($return_data['login_content']) && $return_data['login_content'] == 'after_content') ? 'checked' : ''; ?>> |
| 252 | |
| 253 | <span class="primary-content-setting__content__item"> |
| 254 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/share-primary-content/after_content.png'); ?>"/> |
| 255 | <span class="primary-content-setting__content__item--name"> |
| 256 | <?php echo esc_html__('After Content ', 'wp-social'); ?> |
| 257 | </span> |
| 258 | </span> |
| 259 | |
| 260 | </label> |
| 261 | |
| 262 | |
| 263 | <label for="_login_button_style__before_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 264 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__before_content" name="xs_style[login_content]" value="before_content" <?php echo esc_attr((isset($return_data['login_content']) && $return_data['login_content'] == 'before_content') ? 'checked' : ''); ?>> |
| 265 | |
| 266 | <span class="primary-content-setting__content__item"> |
| 267 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/share-primary-content/before_content.png'); ?>"/> |
| 268 | <span class="primary-content-setting__content__item--name"> |
| 269 | <?php echo esc_html__('Before Content ', 'wp-social'); ?> |
| 270 | </span> |
| 271 | </span> |
| 272 | |
| 273 | </label> |
| 274 | |
| 275 | <label for="_login_button_style__both_content" class="social_radio_button_label xs_label_wp_login primary-content-setting__item"> |
| 276 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="_login_button_style__both_content" name="xs_style[login_content]" value="both_content" <?php echo esc_attr((isset($return_data['login_content']) && $return_data['login_content'] == 'both_content') ? 'checked' : ''); ?>> |
| 277 | |
| 278 | <span class="primary-content-setting__content__item"> |
| 279 | <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/share-primary-content/both_content.png'); ?>"/> |
| 280 | <span class="primary-content-setting__content__item--name"> |
| 281 | <?php echo esc_html__('Both', 'wp-social'); ?> |
| 282 | </span> |
| 283 | </span> |
| 284 | |
| 285 | </label> |
| 286 | |
| 287 | |
| 288 | |
| 289 | </div> |
| 290 | |
| 291 | </div> |
| 292 | |
| 293 | </div> <!-- ./ End primary content setting --> |
| 294 | |
| 295 | <!-------------------------------- |
| 296 | Social Share hover aniamtion |
| 297 | --------------------------------> |
| 298 | <?php if (isset($share_hover_effects)) : ?> |
| 299 | <div class="wslu-single-item"> |
| 300 | <div class="wlsu-hover-effect"> |
| 301 | |
| 302 | <h2 class="wlsu-hover-effect__title"> |
| 303 | <?php echo esc_html__('Select Hover Effects', 'wp-social'); ?> |
| 304 | </h2> |
| 305 | <div class="wlsu-hover-effect__content"> |
| 306 | <?php foreach ($share_hover_effects as $key => $value) : ?> |
| 307 | <div class="wlsu-hover-effect__item"> |
| 308 | <input |
| 309 | <?php echo esc_attr((isset($value['exclude']))) ? 'data-exclude="' . esc_attr(json_encode($value['exclude'])) . '"' : '' ?> |
| 310 | type="radio" |
| 311 | class="wlsu-hover-effect-select" |
| 312 | name="xs_style[hover_effect]" |
| 313 | id="<?php echo esc_attr($key); ?>" |
| 314 | value="<?php echo esc_attr($key); ?>" |
| 315 | <?php echo esc_attr(($mainEffect == $key) ? 'checked' : ''); ?>/> |
| 316 | |
| 317 | <label for="<?php echo esc_attr($key); ?>" > |
| 318 | <img src="<?php echo esc_url(WSLU_PRO_LOGIN_PLUGIN_URL . 'assets/images/share-hover-preview/' . $key . '.png'); ?>"/> |
| 319 | <span> <?php echo esc_html($value['name']); ?> </span> |
| 320 | </label> |
| 321 | </div> |
| 322 | |
| 323 | <?php endforeach; ?> |
| 324 | </div> |
| 325 | |
| 326 | </div> |
| 327 | |
| 328 | </div> |
| 329 | <?php endif; ?><!-- ./ End social share hover animation --> |
| 330 | |
| 331 | <!-------------------------------- |
| 332 | Social media Styles |
| 333 | --------------------------------> |
| 334 | <h2 class="wlsu-hover-effect__title wlsu-style-data"> |
| 335 | <?php echo esc_html__('Select Share Style', 'wp-social'); ?> |
| 336 | </h2> |
| 337 | <div class="wslu-social-style-data "> |
| 338 | |
| 339 | <?php |
| 340 | foreach ($styleArr as $k => $v) : ?> |
| 341 | <div class="wslu-single-social-style-item <?php echo esc_attr( ( (!did_action('wslu_social_pro/plugin_loaded')) && ($v['package'] == 'pro') ) ? 'wslu-style-pro': 'wslu-style-free' ); ?>"> |
| 342 | |
| 343 | <label class="social_radio_button_label xs_label_wp_login"> |
| 344 | |
| 345 | <div class="wslu-style-img xs-login-<?php echo esc_attr($k); ?> <?php echo esc_attr((isset($return_data['login_button_style']) && $return_data['login_button_style'] == $k) ? 'style-active ' : ''); ?>"> |
| 346 | <img class="wslu-style-img-h" src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/screenshort/share/' . $v['design'] . '.png'); ?>" alt="<?php echo esc_attr($k); ?>"> |
| 347 | <img class="wslu-style-img-v" src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL . 'assets/images/screenshort/share/' . $v['design'].'-v' . '.png'); ?>" alt="<?php echo esc_attr($k); ?>"> |
| 348 | |
| 349 | <?php if(!in_array('wp-social-pro/wp-social-pro.php', apply_filters('active_plugins', get_option('active_plugins')))) : ?> |
| 350 | <a href="https://wpmet.com/plugin/wp-social/pricing/" class="wslu-buy-now-btn"><?php esc_html_e('Buy Now', 'wp-social'); ?></a> |
| 351 | <?php endif; ?> |
| 352 | </div> |
| 353 | |
| 354 | <input class="social_radio_button wslu-global-radio-input share-input-name" type="radio" id="_login_button_style__<?php echo esc_attr($k); ?>" name="xs_style[login_button_style][main]" value="<?php echo esc_attr($k); ?>" <?php echo esc_attr( ( (!did_action('wslu_social_pro/plugin_loaded')) && ($v['package'] == 'pro') ) ? 'disabled="disabled"': '' ); ?>> |
| 355 | <?php |
| 356 | echo esc_html__($v['name'], 'wp-social'); |
| 357 | echo wp_kses(((!did_action('wslu_social_pro/plugin_loaded')) && ($v['package'] == 'pro') ? '<span class="wslu-go-pro-text">(' . esc_html('Pro Only', 'elementskit') . ')</span>' : ''), \WP_Social\Helper\Helper::get_kses_array()); |
| 358 | ?> |
| 359 | |
| 360 | <?php |
| 361 | $effect = isset($v['effect']) ? $v['effect'] : []; |
| 362 | if (!empty($effect)) { |
| 363 | foreach ($effect as $kk => $vv) : |
| 364 | ?> |
| 365 | <label for="wslu-effect-<?php echo esc_attr($k); ?>-<?php echo esc_attr($kk); ?>"> |
| 366 | <input class="social_radio_button wslu-global-radio-input" type="radio" id="wslu-effect-<?php echo esc_attr($k); ?>-<?php esc_attr($kk); ?>" value="<?php echo esc_attr($kk); ?>" <?php echo esc_attr((isset($return_data['login_button_style']['effect']) && $return_data['login_button_style']['effect'] == $kk) ? 'checked' : ''); ?>> |
| 367 | <?php echo esc_html__($vv['name'], 'wp-social') ?> |
| 368 | </label> |
| 369 | <?php |
| 370 | endforeach; |
| 371 | } |
| 372 | ?> |
| 373 | </label> |
| 374 | |
| 375 | </div> |
| 376 | <?php |
| 377 | endforeach; ?> |
| 378 | </div> |
| 379 | |
| 380 | <div class="wslu-social-style-hidden-inputs"> |
| 381 | <label> |
| 382 | <input type="text" class="wslu-main-content-input" name="xs_style[main_content][style]" value="<?php echo esc_attr($return_data['main_content']['style']); ?>"> |
| 383 | <?php esc_html_e('Main Content', 'wp-social'); ?> |
| 384 | </label> |
| 385 | <label> |
| 386 | <input type="text" class="wslu-fixed-display-input" name="xs_style[fixed_display][style]" value="<?php echo esc_attr($return_data['fixed_display']['style']); ?>"> |
| 387 | <?php esc_html_e('Fixed Display', 'wp-social'); ?> |
| 388 | </label> |
| 389 | </div> |
| 390 | |
| 391 | <div class="wslu-right-content wslu-right-content--share"> |
| 392 | <?php wp_nonce_field( 'style_setting_submit_form_share_nonce', 'nonce' ); ?> |
| 393 | <button type="submit" name="style_setting_submit_form" class="xs-btn btn-special small"><?php echo esc_html__('Save Changes', 'wp-social'); ?></button> |
| 394 | </div> |
| 395 | |
| 396 | </div> |
| 397 | </div> |
| 398 | <div class="xs-backdrop"></div> |
| 399 | </form> |
| 400 | </div> |