Published on Mar 6, 2020

How to add User Name with a Logout link to Nav Menu in Oxygen

Sridhar Katakam

Updated on July 15, 2020

This premium tutorial provides the steps to prepend (or append if needed) currently logged in user's display name linking to a /welcome/ page with a link to log out underneath in Oxygen for logged in users.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Filter nav menu items to prepend user display name and logout links

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right