🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WP Geo search icon
Möglicherweise aufgegeben Tested up to 5.8.0 #5 in distance

WP Geo search

A plugin to add location-aware geographical search to WP_Query.

Aktive Installationen60+10+ Stufe
Downloads · 30d122▲ +71.8% vs prev. 30d
Wertung5/52 Bewertungen
Gesundheits-Score32/100In Gefahr
Downloads aller Zeiten2.3KSeit Dezember 2020
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 4.0PHP 7,0+
Downloads · 7d32▲ +10.3% week over week
Unser Urteil

Betrachten Sie eine Alternative

WP Geo search shows warning signs in 2026 — compare the alternatives below before installing. It runs on 60+ sites, is rated 5/5 and was last updated 5 years ago, and scores 32/100 on our health check.

  • Small user base (60+ active installs)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 5 Jahren
  • Nur getestet bis WordPress 5.8 (letzter IS 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

246Sep 3Oct 17Dec 1
Gestern5
Täglicher Durchschnitt (1 Jahr)2
Spitzentag14May 16, 2026
Letzte 12 Monate877

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where WP Geo search stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
distance >100 751 Best distance plugins →
geo >100 1,293 Best geo plugins →
haversine #3 6 Best haversine plugins →
Lage >100 8,241 Best location plugins →
nominatim >100 179 Best nominatim plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 0.1100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP Geo search

Aus der offiziellen Readme · V0.1

Beschreibung

A plugin to add location-aware geographical search to WP_Query.

You can use it to power location-aware apps, such as showing a user results near them.

🔎 Using it in a query

Adding a geo_query parameter to WP_Query will add a “distance” column to the returned results, provided they have the right metadata.

You can then display this in your templates.

You can use a location search parameter, which will be geocoded or directly provide latitude and longitude values:

$query = new WP_Query(array(
    "geo_query" => array(
            "location" => "London"
    )
))

$query = new WP_Query(array(
    "geo_query" => array(
            "latitude" => -52.005,
            "longitude" => 0.005,
    )
))

Optionally, you can then filter by search radius.

By default, distances are given in miles. You can provide "units" => "km" if you need kilometres.

$query = new WP_Query(array(
    "geo_query" => array(
            "latitude" => -52.005,
            "longitude" => 0.005,
            "radius" => 10
    )
))

Or order by nearness:

$query = new WP_Query(array(
    "geo_query" => array(
            "latitude" => -52.005,
            "longitude" => 0.005
    ),
    "orderby" => "geo"
))

Displaying distance in templates

In a WP_Query loop that includes a geo_query, you can use two extra functions to show distance away:

  • jhgs_get_the_distance(object $post) – which returns a rounded integer for the distance away, similar to get_the_title()
  • jhgs_the_distance(string $less_than_one, string $one, string $more_than_one) – which displays an approximate human-readable string, similar to the_title()

    jhgs_the_distance will show one of three messages depending on whether the rounded distance is less than one, one, or greater than one. By default these are:

  • “Less than a mile away”

  • “About a mile away”
  • “About %s miles away”

If you need to use different units or translations, can pass three printf-formatted strings to jhgs_the_distance() to override these messages. Put %s where you want the value.

If you need the exact, unrounded value, you can use $post->distance.

Geocoding

Nominatim‘s service is used for geocoding location searches.

Using it is subject to an acceptable use policy – if you use case will involve lots of API calls, you should replace it with a paid alternative, like Google‘s.

📍 Populating latitude and longitude data

It looks for two custom field values with the keys latitude and longitude on your posts.

It’s agnostic about how you supply this data. The simplest thing to do is type it in using WordPress’s built-in custom field editor.

You could also hook into the save_post action to populate meta whenever you create or change a post, by adding a snippet like this to your theme’s functions.php:

function example_update_latlngs($post){
    $location = get_field("location", $post);
    if(isset($location)){
        update_post_meta($post, "longitude", $location["lng"]);
        update_post_meta($post, "latitude", $location["lat"]);
    }
}

add_action("save_post", "example_update_latlngs", 10, 3);

This example assumes you are using an ACF Google Map field called “location”, but the data could come from anywhere, including a custom meta box you code yourself, so long as the post meta keys are right.

Bulk-updating existing posts

If you have many posts that you need to add longitude and latitude meta to in bulk, you could add something like this to functions.php, which will run on theme activation:

function example_update_all_latlngs(){
    $query = new WP_Query(array(
        "posts_per_page" => -1
    ));
    foreach($query->get_posts() as $post){
        // Function from above
        example_update_latlngs($post);
    }
}

add_action('after_switch_theme', 'example_update_all_latlngs');

Änderungsprotokoll

0.1

  • First release

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best WP Geo search alternatives

All distance plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Car Route Planner Plugin Car Route Planner Plugin Route planner for car travelers. Calculator of various values for route, such as length… by iGuk 300+ ★★★★★★★★★★ 3 (10) Vor 3 Jahren 30
2 Distance Rate Shipping For WooCommerce Distance Rate Shipping For WooCommerce Calculate WooCommerce shipping costs based on the real driving distance between your store… by Mitali Rajpurohit 300+ ★★★★★★★★★★ 3.3 (8) Vor 2 Wochen 74
3 BP Distance Search BP Distance Search Adds a Google Place Autocomplete profile field type for BuddyPress, and enables search by… by Andrea Tarantini 100+ ★★★★★★★★★★ 5 (6) Vor 3 Monaten 70
4 Distance Based Shipping Calculator Distance Based Shipping Calculator This plugin retrieves the distance between your shipping origins and your customer and… durch die enituretechnologie 100+ ★★★★★★★★★★ 3 (2) vor 7 Stunden 69
6 WP GeoPosts WP GeoPosts A simple Wordpress plugin for adding geographic data to posts. by fyaconiello 10+ ★★★★★★★★★★ 5 (1) Vor 14 Jahren 30
7 Devinlabs Unit Conventer Devinlabs Unit Conventer This Widget is use for calculate the length and distance conversions. in form of… by ravikumar1986ravi 10+ ★★★★★★★★★★ Keine Bewertungen Vor 9 Jahren 23
8 RMH Distance Master for WooCommerce RMH Distance Master for WooCommerce Control WooCommerce delivery by real driving distance. Set tiers, hours, blackout dates… by rabbitmarketinghouse 10+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Wochen 61
9 Store Manager Store Manager Store manager with control over opening hours, location, images and much more. by dirlikdesigns 10+ ★★★★★★★★★★ 4 (1) Vor 11 Jahren 27
10 Ship Distance Ship Distance Restrict WooCommerce shipping based on distance from your store location using Google Maps… by Kaleem Ullah <10 ★★★★★★★★★★ Keine Bewertungen Vor 2 Jahren 24
11 CRD Cab Fare Calculator CRD Cab Fare Calculator A simple taxi fare calculator with adjustable per-kilometre vehicle rates, minimum fares… by carrentaldelhiwithdriver <10 ★★★★★★★★★★ Keine Bewertungen Vor 4 Tagen 64

Fragen und Antworten

WP Geo search: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WP Geo search free?

Yes. WP Geo search is free to download and use from the official WordPress.org plugin directory.

Is WP Geo search safe to use in 2026?

WP Geo search shows warning signs in 2026 — compare the alternatives below before installing. It runs on 60+ sites, is rated 5/5 and was last updated 5 years ago, and scores 32/100 on our health check.

How many websites use WP Geo search?

WP Geo search is active on 60+ WordPress websites and has been downloaded 2,291 times since it launched in December 2020. It was downloaded 122 times in the last 30 days.

Does WP Geo search work with WordPress 7.1?

WP Geo search is officially tested up to WordPress 5.8.0, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does WP Geo search need?

WP Geo search requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP Geo search last updated?

The latest version, 0.1, was released on September 6, 2021 (5 years ago).

Who makes WP Geo search?

WP Geo search is developed and maintained by jhackett1.

What are the best alternatives to WP Geo search?

The most popular alternatives to WP Geo search are Car Route Planner Plugin (300+ installs), Distance Rate Shipping For… (300+ installs) and BP Distance Search (100+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen