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
December 11, 2024 at 12:32 pm
#52241
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"