• Resolved sunes

    (@sunes)


    Hi!

    I would like to know how to get a list of the locations and content given by the users to these locations (I have a title and a description for each location added by the users, and I would like to show a table next to the map).

    Is this possible? I have purchased the PRO version.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author 100plugins

    (@100plugins)

    Hi sunes,

    A list/table or kind of query builder is not available at the moment. But you could build something on your own. There is a PHP function that returns the individual value for any field of a single location:

    oum_get_location_value( $value, $post_id )

    $value can be of any kind, also a custom field. Please see the “Help & Getting Started”-Section in the plugin settings for more info.
    So you could use this within a loop of all posts of type oum-location and fetch the necessary data. For sure you would need some PHP skills, but it is possible to do this.

    I’m planning to implement a shortcode to get this done in the future.

    Thanks,
    Daniel

    Thread Starter sunes

    (@sunes)

    Thanks a lot! I will give it a try.

    If you make a shortcode of this, it will be great too ??

    Cheers!

    philippdialoggestalter

    (@philippdialoggestalter)

    Hi,

    I would like to display all of the comments to markers added by users below the map. Is this possible by any chance?

    Plugin Author 100plugins

    (@100plugins)

    Hi @philippdialoggestalter,

    A function like that is not included. You will have to do this on your own with the help of PHP. I would recommend searching for “wordpress get all comments”.

    Best regards,
    Daniel

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Get list of locations’ is closed to new replies.