WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP Find Your Nearest] Working Samples please

[Resolved] [Plugin: WP Find Your Nearest] Working Samples please

Viewing 15 replies - 1 through 15 (of 22 total)
  • It’s currently only running with a demonstration of full capacity on a development site which my client might not be too happy to show, but when it goes live I’ll put the link up. In the mean time I’ll sort a demo on my own site over the weekend

    OK, you can test it on http://www.sitecoders.net/wordpress-plugins/wp-find-your-nearest/. I’ve populated it with five music venues in West Yorkshire UK, so best use a UK postcode such as the example I give on that page…

    Hi

    The plugin looks great so far!

    One question though it doesn’t detail how you get a search box on your site, have I missed this?

    Chris

    Oops… <facepalm> Thanks for the feedback… the search box is a widget called FYN – Search Form

    I’ll update the instructions tonight if I get a chance

    Hi Adam,

    Thanks for this!

    Hi

    I would like to just return one result the most relavent one. I know this isn’t an option (yet) but I assume you would just need to edit this in wp-find-your-nearest.php

    // Reset Post Data
    	wp_reset_postdata();
    	ksort($results);
    	foreach($results as $distance=>$content){
    		echo $contents;
    	}

    Any help would be very much appreciated.

    yes that should do it… replace

    foreach($results as $distance=>$content){
    		echo $contents;
    	}

    with

    echo reset($results);

    (I haven’t tested that btw… but if I get a chance I’ll add a “limit returned results” option too)

    Thanks for the suggestion

    Works like a charm thanks!

    Yes I think it would be a great extra.

    Let me know where you are using it so I can boast! 🙂

    I would love to see this incorporate at least to open in a new window with Google maps, so if I want to see the map, I could.

    Thanks for this great tool.

    nice idea… thanks 🙂

    OK… I’ve upgraded the plugin to include “limit search results” and a Google map pop up dialog

    Any way to allow the search box to go in a page instead of a widgetted area?

    test_page
    Only works using Chrome on a PC… Chrome on a mac or any other browser won’t do the trick. Same for mobile..
    It could’ve been such a nice piece of work 🙂

    Not having a mac I have only tested in PC (chrome, firefox and IE8) and linux (chrome and firefox)… how does it fail on mac, precisely?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘[Resolved] [Plugin: WP Find Your Nearest] Working Samples please’ is closed to new replies.