gl_field_cl_style

The Google Locker for WordPress gl field cl style function.

Description

gl_field_cl_style(); 

Usage

  1. if ( !function_exists( 'gl_field_cl_style' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-locker-for-wordpress/admin/pages.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gl_field_cl_style(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin/pages.php  
  1. function gl_field_cl_style() { 
  2. $content_lock_settings = gl_get_content_lock_setting_values(); 
  3. ?> 
  4. <select name="<?php echo gl_get_content_lock_settings_key(); ?>[cl_style]" id="<?php echo esc_attr( $content_lock_settings[ 'cl_style' ] ); ?>"> 
  5. <option value="starter" <?php if ( $content_lock_settings[ 'cl_style' ] == 'starter' ) { echo 'selected="selected"'; } ?>>Starter</option> 
  6. <option value="corner" <?php if ( $content_lock_settings[ 'cl_style' ] == 'corner' ) { echo 'selected="selected"'; } ?>>Corner</option> 
  7. <option value="round" <?php if ( $content_lock_settings[ 'cl_style' ] == 'round' ) { echo 'selected="selected"'; } ?>>Round</option> 
  8. </select><br><br> 
  9. <span style="color:#999"><em>Only use "Round Style" with "Count Social Layout"</em></span> 
  10. <?php