Hi I’m working on a store locator. I have a custom post “clinics” where I save clinic details (address,.., lat, lng). Each time I publish a new clinic I...
  • May 10, 2022
  • 0 Comments
I’m almost there on this one. On functions.php i have this: function base_home_product_post_type( $query ) { if($query->is_search() && $_POST['box'] == 'sku') { $query->query_vars['post_type'] = 'product'; $query->query_vars['meta_key'] = 'sku'; $query->query_vars['meta_value']...
  • May 9, 2022
  • 0 Comments