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.

[Waiting for user confirmation]Nearby Post using Author Location

Forums Nearby Posts Nearby Post using Author Location

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30433

    Hi, how can i make a post to use the author location by default?

    #30437

    Hello Leandro,
    I am not sure I understand your request. Do you want to apply the author’s location automatically to new posts that being created?

    #30436

    Exactly!

    #30435

    Hi?

    #30434

    Hi Leandro,
    GEO my WP does not support this feature out of the box.
    You will need to use a function provided by GEO my WP to dynamically update the post location based on the user’s location when the post is updated.

    Take a look at this page for information and usage of the function that you need.

    You will need to modify the function based on your needs. You will need to execute the function on save_post action hook. As well you will need to pull the user’s location and pass it to the address fields array.

    I hope that helps.

    #51035
    giilour
    Member

    the link to the page is broken – has this been updated to be able to do this out of the box or in pro?

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

You must be logged in to reply to this topic.