Hello WordPress Com,
I’m reaching out for help with implementing different shortcodes based on user roles in my Elementor editor setup.
As shown in the screenshot https://capture.dropbox.com/hSHfEofl6ukky9u6, I need to apply specific shortcodes based on whether the user is an admin or a premium member. Here’s the breakdown:
**If the user role is Admin:**
[shortcode type="pile"] [shortcode2 map="state"] [shortcode3 type="pile"]**If the user role is Premium Member:**
[shortcode type="circle"] [shortcode2 map="google"] [shortcode3 type="pile"]
I’m looking for guidance on how to achieve this level of complexity within Elementor, while making sure the conditions work properly for role-based content display. Any suggestions or solutions from the community would be greatly appreciated!
Thank you in advance for your help.
You probably won’t be able too. You’re gonna need to code some php in order to do this.