New, custom navbar
Okay, so I’m creating a new nav menu that integrates the adminbar and the navigation links. So, I need to re arrange the slugs from:
where XXX is Wire, Activity, Blogs, ect… and USERNAME is the username of the user. To:
Anyone know if this is possible and how I would do this?
I also need some PHP code:
Is there a specific PHP action to call the user’s username? For example, how would I have a link like:
<a href="<?php ' . site_url() . '/members/XXX/' . [PHP CODE TO GET USERNAME] . ' php?> ">LINK NAME</A>
Did I make any errors? Anaways, I could use some help.
You must be logged in to reply to this topic.