__("Do not use the drag and drop feature here. Please choose one of the menu widgets found at the “Inactive Widgets” section at the bottom of this page. Also remember that you should also have the “Widget” option selected at the “Menu Positioning Method” property of the AllWebMenus plugin settings page. ")); $this->WP_Widget('Widget_AllWebMenus', __('AllWebMenus'), $widget_ops); } function widget($args, $instance) { global $wpdb, $awm_table_name; extract($args, EXTR_SKIP); if (isset($instance['div_name'])) { $awmName = $wpdb->get_var('SELECT name from ' . $awm_table_name . ' where position LIKE "awm_widget" && id = ' . (int)$instance['div_name']); } else { $awmName = ''; } if ( ! empty($awmName)) { echo $before_widget; $div_name = "awmAnchor-" . $awmName; echo "
Warning!!!
It seems that you chose the AllWebMenus menu widget from the 'Available
Widgets' panel. Instead, you should drag and drop the related AllWebMenus menu widget from the 'Inactive
Widgets' panel. If you cannot find the widget that you want, go to AllWebMenus
settings, select the tab of the menu that you want and choose the "Widget" value in the "Menu Positioning Method"
property.