media_css_hook

The SKT Pathway media css hook function.

Description

media_css_hook(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function media_css_hook() { 
  2. $output = ''; 
  3. $output ='<link rel="stylesheet" href="'.get_template_directory_uri().'/css/computer.css" type="text/css" media="screen and (min-width:1000px)" /> 
  4. <link rel="stylesheet" href="'.get_template_directory_uri().'/css/navigation.css?ver=3.9.1" type="text/css" media="screen and (max-width: 999px)" /> 
  5. <link rel="stylesheet" href="'.get_template_directory_uri().'/css/tablet.css" type="text/css" media="screen and (min-width: 768px) and (max-width: 999px)" /> 
  6. <link rel="stylesheet" href="'.get_template_directory_uri().'/css/mobile_hz.css" type="text/css" media="screen and (min-width: 480px) and (max-width: 767px)" /> 
  7. <link rel="stylesheet" id="skt_pathway-grid-320-css" href="'.get_template_directory_uri().'/css/mobile.css" type="text/css" media="screen and (max-width: 479px)" />'; 
  8. echo $output;