i'm using woocommerce plugin in my theme, i solve most of the thing and it works nicely in my theme which is not from wootheme. but the woo product search widget which work properly before this has gone wrong. its show my post and page in result and no longer to show any of the product i added in separately through woocommerce product post.. anyone understand the scenario? ermm .. i only found and look into this this file. anything i amissed? www.etsycreative.com/shop/ <?php /** * Product Search Widget * * @[USER=405397]author[/USER] WooThemes * @[USER=32210]Category[/USER] Widgets * @package WooCommerce/Widgets * @[USER=126102]VeRSioN[/USER] 1.6.4 * @extends WP_Widget */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly class WC_Widget_Product_Search extends WP_Widget { var $woo_widget_cssclass; var $woo_widget_description; var $woo_widget_idbase; var $woo_widget_name; /** * constructor * * @[USER=112288]Access[/USER] public * @[USER=23786]return[/USER] void */ function WC_Widget_Product_Search() { /* Widget variable settings. */ $this->woo_widget_cssclass = 'woocommerce widget_product_search'; $this->woo_widget_description = __( 'A Search box for products only.', 'woocommerce' ); $this->woo_widget_idbase = 'woocommerce_product_search'; $this->woo_widget_name = __( 'WooCommerce Product Search', 'woocommerce' ); /* Widget settings. */ $widget_ops = array( 'classname' => $this->woo_widget_cssclass, 'description' => $this->woo_widget_description ); /* Create the widget. */ $this->WP_Widget('product_search', $this->woo_widget_name, $widget_ops); } /** * widget function. * * @[USER=187543]SEE[/USER] WP_Widget * @[USER=112288]Access[/USER] public * @[USER=74751]param[/USER] array $args * @[USER=74751]param[/USER] array $instance * @[USER=23786]return[/USER] void */ function widget( $args, $instance ) { extract($args); $title = $instance['title']; $title = apply_filters('widget_title', $title, $instance, $this->id_base); echo $before_widget; if ($title) echo $before_title . $title . $after_title; get_product_search_form(); echo $after_widget; } /** * update function. * * @[USER=187543]SEE[/USER] WP_Widget->update * @[USER=112288]Access[/USER] public * @[USER=74751]param[/USER] array $new_instance * @[USER=74751]param[/USER] array $old_instance * @[USER=23786]return[/USER] array */ function update( $new_instance, $old_instance ) { $instance['title'] = strip_tags(stripslashes($new_instance['title'])); return $instance; } /** * form function. * * @[USER=187543]SEE[/USER] WP_Widget->form * @[USER=112288]Access[/USER] public * @[USER=74751]param[/USER] array $instance * @[USER=23786]return[/USER] void */ function form( $instance ) { global $wpdb; ?> <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'woocommerce' ) ?></label> <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id('title') ); ?>" name="<?php echo esc_attr( $this->get_field_name('title') ); ?>" value="<?php if (isset ( $instance['title'])) {echo esc_attr( $instance['title'] );} ?>" /></p> <?php } } Code (markup):