mh_sb_css

The MH Corporate basic mh sb css function.

Description

mh_sb_css( (string) $sb_pos = '', (string) $float = '' ); 

Parameters (2)

0. $sb_pos — Optional. (string) => ''
The sb pos.
1. $float — Optional. (string) => ''
The float.

Usage

  1. if ( !function_exists( 'mh_sb_css' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The sb pos. 
  5. $sb_pos = ''; 
  6.  
  7. // The float. 
  8. $float = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = mh_sb_css($sb_pos, $float); 
  12.  

Defined (1)

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

/functions.php  
  1. function mh_sb_css($sb_pos = '', $float = '') { 
  2. $options = mh_theme_options(); 
  3. if ($options['sb_position'] == 'left') { 
  4. $sb_pos = 'sb-left'; 
  5. } else { 
  6. $sb_pos = 'sb-right'; 
  7. echo $sb_pos;