Join our new community forum for support & discussion

Join Now

Home Support General HivePress Geolocation | front end phone no showing as xxx,xxx,xxx – attribute

Geolocation | front end phone no showing as xxx,xxx,xxx – attribute

  • Author


    Superb theme and plugins !
    Have been looking for something like this for a few years.

    Problem with G maps showing on some of my listings, I know api key is working.

    When i add an attribute for Phone No. It shows as a number on the front end eg: xxx,xxx,xxx but shows as a phone number on the backend,

    My website is

    Hope you can help?



    ihor developer


    Thanks, glad you like it!

    I plan to add a separate “Phone” attribute, that will accept the country code and other symbols acceptable in the phone numbers, please use a text attribute until then. Currently any numeric attribute is treated as a number, because there’s no way to check if it’s a phone number or a price.


    Its already set as text in the attribute area.


    ihor developer

    Ah, so it’s impossible to set any numeric value without a thousand separator. I’ll fix this in a few days, if it’s urgent please remove line 223 from hivepress/includes/models/class-listing.php file:

    $field_value = number_format_i18n( $field_value, strlen( substr( strrchr( (string) $field_value, '.' ), 1 ) ) );

    ihor developer

    Please make sure that you select location from the drop-down list that Google suggests, only in this case latitude/longitude of a place are set correctly.

    ihor developer

    It seems that it’s a HTTPS issue, Google returns the following error:

    Deprecation] getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See for more details.

    Please check if your hosting provider offers switching your site to HTTPS.

    Thanks, I’ve taken out the line of code and will wait for the update.

    I’m just adding a ssl to the website.

    Will comment once ssl generated.

    This is a great script.

    So ssl is added, maps still not working except for first listing i created. This was created before the update.
    Maps stopped working after update.

    ihor developer

    Please make sure that both HivePress and HivePress Geolocation were updated, I just tried to add a test listing on the live demo and it worked If it’s possible to reproduce this issue you can send temporary WP access to and I’ll check it.


    Temporary wp access for sent by email.


    The email i sent bounced back to my account saying undelivered

    ihor developer

    Please try sending it to

    sent to new email

    Hi, i found an old api and the maps look as though they are working now. Will have a further look at these issues.

    ihor developer

    Ok, please let me know if you find any other issues.

    ihor developer

    Number formatting and attribute issues are fixed in the latest version, so closing this topic.

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

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.