Hi @nmerlier,
That’s not possible by default. I assume this can be done with the help of PHP (check if user is author of a location > hide “+” button) but that’s out of scope of Open User Map.
Best regards,
Daniel
Thread Starter
nakawa
(@nmerlier)
Thanks for your response !
In which file can I add this PHP code?
Thanks !
Hi @nmerlier,
You would need some expertise in PHP/WordPress programming. The code might be implemented in the functions.php of your theme.
Basically it should add a specific class to the body if the current user is already the author of any location. Based on the existence of the body class you could then hide the “+ Add location” button with CSS.
Best regards,
Daniel
Thread Starter
nakawa
(@nmerlier)
Hello,
Thanks, that is good for me π
Best regards,
Nicolas