mangomatic_create_doctype

The MangoMatic (Responsive) mangomatic create doctype function.

Description

mangomatic_create_doctype(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mangomatic_create_doctype() { 
  2. $content = "<!doctype html>" . "\n"; 
  3. $content .= '<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" dir="' . get_bloginfo ('text_direction') . '" lang="'. get_bloginfo ('language') . '"> <![endif]-->' . "\n"; 
  4. $content .= '<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" dir="' . get_bloginfo ('text_direction') . '" lang="'. get_bloginfo ('language') . '"> <![endif]-->'. "\n"; 
  5. $content .= '<!--[if IE 8]> <html class="no-js lt-ie9" dir="' . get_bloginfo ('text_direction') . '" lang="'. get_bloginfo ('language') . '"> <![endif]-->' . "\n"; 
  6. $content .= "<!--[if gt IE 8]><!-->" . "\n"; 
  7. $content .= "<html class=\"no-js\""; 
  8. return $content;