mh_theme_options

The MH Corporate lite mh theme options function.

Description

mh_theme_options(); 

Usage

  1. if ( !function_exists( 'mh_theme_options' ) ) { 
  2. require_once '/includes/mh-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = mh_theme_options(); 
  7.  

Defined (1)

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

/includes/mh-options.php  
  1. function mh_theme_options() { 
  2. $options = get_option('mhc_options'); 
  3. $default_options = array( 
  4. 'excerpt_length' => '175',  
  5. 'excerpt_more' => '[...]',  
  6. 'sb_position' => 'right',  
  7. 'full_bg' => '' 
  8. ); 
  9. if (!$options) { 
  10. $options = $default_options; 
  11. return $options;