GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Resolved]Count Wrapper Text

Forums Support Count Wrapper Text

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #54570
    Alan Green
    Member

    Is there any way to change this

    <?php gmw_results_message( $gmw, false ); ?>

    from “Showing 30 out of 300 results” to something else i.e. 30 of 300 businesses”

    Thanks.

    #54657

    Hi Alan,

    This should work:

    I hope that helps.

    #54662
    Alan Green
    Member

    Hi.

    That’s great but on entry to the page it still shows the existing text. It’s only when I then perform a search that this new text appears. Also, when it does come up it says “Showing 30 of 347 businesses within 200 mi from mylocation”

    Can I change “mi” to “miles”

    On a slightly different note is there any way to change the distance dropdown? It currently says

    Miles
    5
    10 etc

    Whereas it’d love it to say:

    Distance
    5 miles
    10 miles
    etc

    Thanks.

    #54676

    That’s great but on entry to the page it still shows the existing text. It’s only when I then perform a search that this new text appears.

    I just tested the search page of your site and the text seems to be working fine both on page entry and on form submission. Unless I am looking at the wrong search page?

    Also, when it does come up it says “Showing 30 of 347 businesses within 200 mi from mylocation”
    Can I change “mi” to “miles”

    Yes. Change the first function I provided you with with the function below:

    On a slightly different note is there any way to change the distance dropdown?

    That’s, unfortunately, won’t be very easy to tweak. It is possible, but will require you to rebuilt the radius dropdown function and place it in the search form template file.

    I will look into adding an easier solution for this in a future update of the plugin.

    Let me know if the above helps.

    #54678
    Alan Green
    Member

    Thanks for this. All works perfectly now.

    #54865

    Just to +1, I would also love a way to change the distance dropdown. Ideally, I’d have the list look something like this:

    • Within 5 miles
    • Within 10 miles
    • Within 30 miles
    • Within 60 miles

    And have the ability to have it default to one of the selections.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.