Display username in WordPress menu

So I’m extending WordPress with Toolset and adding all kinds of functionality. There are hundreds of little things that need to be in place for the experience to be ‘app-like’. Not all of the these things can be done with Toolset. One of the things is displaying the (logged in) username in the WordPress menu. A quick search on Google presented multiple answers. And yoohooplugins.com lists the exact code for what I wanted to realize. Now, I am not a real coder and implementing (and maintaining) custom code is something I struggled with for quite some time. But since I discovered a plugin called Code Snippets, things like this are a breeze.


Posted in: Plugins, WordPress tweaking