function widget_price_range($args) { global $wpdb, $table_prefix; extract($args); $title = empty($options['title']) ? __(TXT_WPSC_PRICE_RANGE) : $options['title']; echo $before_widget . ""; $full_title = $before_title . $title . $after_title; echo $full_title . "<br>"; nzshpcrt_price_range(); echo $after_widget; }
function widget_price_range($args) { global $wpdb, $table_prefix; extract($args); $options = get_option('wpsc-widget_price_range'); $title = empty($options['title']) ? __(__('Price Range', 'wpsc')) : $options['title']; echo $before_widget . ""; $full_title = $before_title . $title . $after_title; echo $full_title . ""; nzshpcrt_price_range(); echo $after_widget; }