Plugin Support
Daniel
(@danielschoenherr)
Hi @benallgood,
That’s already possible. Checkout the Shortcode Guide where it describes content filtering by user. This is really powerful and would work with any member plugin. It does exactly what you’ve described.
Best regards,
Daniel
The only options I saw there were below. What I was wanting was for a visitor to see the listing of a user by variable (profile page). If a user had a profile page, there would be a link to view a map with that user’s location. That would use: user=”current”. But, if another user visited that link on that other member’s profile page, it would show their own locations instead of the locations for the profile page they were visiting. user-“123” would have to be hardcoded into each profile page.
user=”current”
user=”123″
user=”role:subscriber”
Plugin Support
Daniel
(@danielschoenherr)
Hi @benallgood,
Thanks for the clarification.
You’re right:
user="current" always shows the locations of the logged-in user. It does not automatically detect “the profile being viewed” on a member profile page.
However:
Most membership/profile plugins provide their own shortcode or template tag to output the profile owner’s user ID. You can simply insert that into the Open User Map shortcode.
Example
If your membership plugin has something like:
[profile_user_id]
You can use:
[open-user-map user="[profile_user_id]"]
This way, the map (or list) always shows the locations of the profile owner — no hardcoding required.
Best regards,
Daniel