Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I am also using wordpress 3.3. with this widget and for me it worked with small tweaking in add header function in tabbed-widgets.php. Here is my add_header function

    function addHeader() {
      wp_enqueue_script('jquery-ui-tabs',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, false);
      wp_enqueue_script('jquery-ui-accordion',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, false);
      wp_enqueue_script('jquery-ui-cookie',  $this->plugin_path . 'js/jquery-cookie.min.js', array('jquery-ui-accordion'), false, false);
    
      // Add default widgets styles
      wp_enqueue_style('tabbed-widgets', $this->plugin_path . 'css/tabbed-widgets.css');
    
      if (get_current_theme() == 'Twenty Ten')
       wp_enqueue_style('tabbed-widgets-2010', $this->plugin_path . 'css/twenty-ten.css');
     }

    Hope it helps

    Hi guys,

    I am also using wordpress 3.3. with this widget and for me it worked with small tweaking in add header function in tabbed-widgets.php. Here is my add_header function

    function addHeader() {
      wp_enqueue_script('jquery-ui-tabs',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, false);
      wp_enqueue_script('jquery-ui-accordion',  $this->plugin_path . 'js/jquery-ui-custom.min.js', array('jquery'), false, false);
      wp_enqueue_script('jquery-ui-cookie',  $this->plugin_path . 'js/jquery-cookie.min.js', array('jquery-ui-accordion'), false, false);
    
      // Add default widgets styles
      wp_enqueue_style('tabbed-widgets', $this->plugin_path . 'css/tabbed-widgets.css');
    
      if (get_current_theme() == 'Twenty Ten')
       wp_enqueue_style('tabbed-widgets-2010', $this->plugin_path . 'css/twenty-ten.css');
     }

    Hope it helps

Viewing 2 replies - 1 through 2 (of 2 total)