inkthemes_style_path

The Black Rider Lite Responsive Theme inkthemes style path function.

Description

inkthemes_style_path(); 

Usage

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

Defined (1)

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

/functions/admin-functions.php  
  1. function inkthemes_style_path() { 
  2. $style = $_REQUEST['style']; 
  3. if ($style != '') { 
  4. $style_path = $style; 
  5. } else { 
  6. $stylesheet = inkthemes_get_option('of_alt_stylesheet'); 
  7. $style_path = str_replace(".css", "", $stylesheet); 
  8. if ($style_path == "default") 
  9. echo 'images'; 
  10. else 
  11. echo 'styles/'.$style_path;