Forum: Nearby Posts

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Nearby Posts premium extension please open a new premium support ticket.

[Resolved]WP User Frontend Pro and Geo my WP (+)

Forums Nearby Posts WP User Frontend Pro and Geo my WP (+)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49105
    anticosti
    Member

    Hi Eyal,

    Using WP User Frontend Pro, a user is able to enter his address on a single line and GEO my WP grabs it with this code in my theme functions.php file:

    Now I’d wish I could also be able to use the additional info fields: phone, fax, email, website.
    I have the feeling that the answer would be to use some code from geo-my-wp/plugins/posts/includes/gmw-pt-update-location.php:

    Thanks in advance for your help,

    Yves

    #49123

    Hi Yves,
    You can pass the additional information via array to the $args array.

    For example ( using your code above ):

    let me know if that helps.

    #49133
    anticosti
    Member

    Thumbs Up Eyal !!!!!
    It works perfect. Thank you so much 🙂
    For others who may benefit from your kind help, here’s my updated code for my theme functions.php:

    Kindly,

    Yves

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

You must be logged in to reply to this topic.