function enqueue_styles()
 {
     if (is_admin()) {
         return;
     }
     // The user chooses a grid.
     $versions = array('grid960' => '20110221', 'grid720' => '20110221');
     $grid = wcb_get_option('grid');
     // Check whethec Custom CSS mode is set to Add or Replace.
     if (class_exists('Jetpack_Custom_CSS') && method_exists('Jetpack_Custom_CSS', 'get_current_revision')) {
         $safecss_post = Jetpack_Custom_CSS::get_current_revision();
         if (get_post_meta($safecss_post['ID'], 'custom_css_add', true) == 'no') {
             return;
         }
     }
     $start_fresh = apply_filters('wcb_start_fresh', false);
     $child_recs = array();
     if (!$start_fresh) {
         wp_enqueue_style('wcb-foundation', WCB_URL . '/style.css', array(), '20110212');
         $version = isset($versions[$grid]) ? $versions[$grid] : false;
         wp_enqueue_style("wcb-{$grid}", wcb_dev_url(WCB_URL . "/css/{$grid}.css"), array('wcb-foundation'), $version);
         wp_enqueue_style("wcb-style", wcb_dev_url(WCB_URL . '/css/default.css'), array('wcb-foundation', "wcb-{$grid}"), '20110421');
         $child_recs = array('wcb-foundation', "wcb-{$grid}", 'wcb-style');
     }
     if (is_child_theme()) {
         $child_version = apply_filters('wcb_child_css_version', false);
         wp_enqueue_style("wcb-child", get_stylesheet_uri(), $child_recs, $child_version);
     }
 }
 function enqueue_scripts()
 {
     wp_enqueue_script('wcb-options', wcb_dev_url(WCB_LIB_URL . '/options/js/options.js'), array('jquery'), '20110212');
     wp_enqueue_style('wcb-options-grid', wcb_dev_url(WCB_LIB_URL . '/options/css/options-grid.css'), array(), '20110212');
     wp_enqueue_style('wcb-options', wcb_dev_url(WCB_LIB_URL . '/options/css/options.css'), array('wcb-options-grid'), '20110212');
 }
 function enqueue_scripts()
 {
     wp_enqueue_script('wcb-sponsor-order', wcb_dev_url(WCB_LIB_URL . '/sponsors/js/order.js'), array('jquery-ui-sortable'), '20110212');
     wp_enqueue_style('wcb-sponsor-order', wcb_dev_url(WCB_LIB_URL . '/sponsors/css/order.css'), array(), '20110212');
 }