wp_enqueue_script('google-typography'); //wp_enqueue_script('chosen2'); wp_enqueue_script('select2'); // Stylesheets wp_register_style('google-typography', get_template_directory_uri() . '/options/google-typography/stylesheets/google-typography.css', false, '1.1'); //wp_register_style('chosen', get_template_directory_uri() .'/options/google-typography/stylesheets/chosen.css', false, '1.0.0'); wp_register_style('select2', get_template_directory_uri() . '/options/css/select2.css'); wp_register_style('google-font', 'http://fonts.googleapis.com/css?family=Lato:300,400'); wp_enqueue_style('google-typography'); //wp_enqueue_style('chosen'); wp_enqueue_style('select2'); wp_enqueue_style('google-font'); wp_enqueue_style('wp-color-picker'); } } GoogleTypography::init(); /** * Function for registering default typography collections * * * @uses get_option() * @uses update_option() * */ function register_typography($collections) { if (!get_option(MTS_TYPOGRAPHY_DEFAULT_OPT)) { $defaults = array(); delete_option(MTS_TYPOGRAPHY_COLLECTIONS_OPT); foreach ($collections as $key => $collection) { array_push($defaults, array_merge(array('default' => true), $collection));