Menubar › Dynamic Labels
-
AuthorPost
-
JosephGuest
Nice plugin!
Not being a PHP developer, I was trying to make some more dynamic labels, but I fail terribly. Dynamic Labels, for example, “Welcome, USERNAME” “Manage Account.” More specifically the “Welcome, USERNAME” should not be link. Either way, I have tried many lines of code found from around the web, and nothing works. I even tried using a code help website, in which I chatted with a PHP developer.
Also confused why we’re not writing 100% PHP in these fields.
<?php global $current_user; get_currentuserinfo(); ?> <a href="<?php echo get_settings('home'); ?>/">Home</a> <<?php echo $current_user->display_name; ?>
This doesn’t work. Can’t mix HTML and PHP? Again, I’m no PHP developer…
Any help is appreciated.
andreaPlugin AuthorHi Joseph,
Are you using the Menubar PHP type? If so, please have a look at the documentation page The Menubar PHP type and, if you still have questions, feel free to ask on this forum again.
-
AuthorPost