corsonr
5/14/2013 - 8:11 AM

search form property results

search form property results

  		// Status
			if( isset($_POST['rc_repl_status']) && $_POST['rc_repl_status'] != '0' ) {

				$search_status = array(
						'taxonomy' => 'rc_repl_status',
						'field'    => 'id', // field to look at
						'terms'    => $_POST['rc_repl_status']
				);
				
				$tax_query = array_merge( $tax_query, array($search_status));

			}