Updated code:
$cp_min_price = str_replace( ',', '', $wpdb->get_var( "SELECT min( CAST( meta_value AS UNSIGNED ) ) FROM $wpdb->term_relationships,$wpdb->postmeta WHERE object_id=post_id AND...
Updated code:
$cp_min_price = str_replace( ',', '', $wpdb->get_var( "SELECT min( CAST( meta_value AS UNSIGNED ) ) FROM $wpdb->term_relationships,$wpdb->postmeta WHERE object_id=post_id AND...
I went with a different approach. See my post in http://forums.appthemes.com/refine-price-category-22419/#post145236
But if you still want to use this version, the problem you are talking about...
Ok, it took me some time, but I think I have found a solution for this.
Try this code:
function cp_refine_search_builder($results,$catid) {
global $wpdb;
yep, Just found this out myself.
I imagine that there is a wp_reset_query(); that is being loaded by mistake when the refresh happens.
I will look into this and see if I can find a solution....
OK, I searched through the forums here about implementing newsletter support in Classipress and coudnt find anything specific. So I thought I would give it a go myself.
I used a plugin called...