This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Fetching a URL parameter from within an asp_query_args callback function

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Fetching a URL parameter from within an asp_query_args callback function Reply To: Fetching a URL parameter from within an asp_query_args callback function

#52241
Ernest MarcinkoErnest Marcinko
Keymaster

The core is almost correct, this is the one you are looking for:


$args['post_primary_order'] = "customfp DESC";
$args['_post_primary_order_metakey'] = "evcal_srow";
$args['post_primary_order_metatype'] = "numeric"; // "string" or "numeric"