Lego2012
12/13/2016 - 4:03 PM

CSS Browser Selector (HTML browser classes)

CSS Browser Selector (HTML browser classes)

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

<!-- Place http://github.com/rafaelp/css_browser_selector/raw/master/css_browser_selector.js in child theme directory/js -->

//* Enqueue Scripts and Styles
add_action( 'wp_enqueue_scripts', 'sk_load_scripts' );
function sk_load_scripts() {

    wp_enqueue_script( 'browserselect', get_stylesheet_directory_uri() . '/js/css_browser_selector.js', '', '0.4.0', true );

}