the answer for all question about Oxygen Builder plugin and WordPress

Hey Folks! Quick question about pulling user data and showing/hiding elements.


Hey Folks! Quick question about pulling user data and showing/hiding elements.

I have a text block in Beaver Builder I’m working on remaking in Oxygen. Not sure how to accomplish it. Here’s what I’ve got:

Welcome [wpbb site:user_name type=”first”]!
[wpbb-if site:logged_in role=’administrator’ user=’current’] You are logged in as an Administrator[/wpbb-if]
[wpbb-if site:logged_in role=’wholesale’ user=’current’]You are logged in as an Wholesale user[/wpbb-if]
[wpbb-if site:logged_in role=’customer’ user=’current’]You are logged in as an Retail user [/wpbb-if]

It’s pretty self explainatory… but when I remove Beaver Builder I’ll loose the [wpbb-….] shortcodes.

Can I accomplish something simlar with Oxygen? I’ve already figured out how to conditionally show/hide elements based on logged in status. I figure I can build the “You are logged in as” with that functionality.

How would I pull the users first name into a text block?


Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs