gl_field_sl_style
The WordPress Core gl field sl style function.
Description
gl_field_sl_style();
Usage
if ( !function_exists( 'gl_field_sl_style' ) ) { require_once '/admin/pages.php'; } // NOTICE! Understand what this does before running. $result = gl_field_sl_style();
Defined (1)
The function is defined in the following location(s).
- /admin/pages.php
- function gl_field_sl_style() {
- $social_lock_settings = gl_get_social_lock_setting_values();
- ?>
- <select name="<?php echo gl_get_social_lock_settings_key(); ?>[sl_style]" id="<?php echo esc_attr( $social_lock_settings[ 'sl_style' ] ); ?>">
- <option value="starter" <?php if ( $social_lock_settings[ 'sl_style' ] == 'starter' ) { echo 'selected="selected"'; } ?>>Starter</option>
- <option value="corner" <?php if( $social_lock_settings[ 'sl_style' ] == 'corner' ) { echo 'selected="selected"'; } ?>>Corner</option>
- <option value="round" <?php if( $social_lock_settings[ 'sl_style' ] == 'round' ) { echo 'selected="selected"'; } ?>>Round</option>
- </select><br><br>
- <span style="color:#999"><em>Only use "Round Style" with "Count Social Layout"</em></span>
- <?php