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:
http://example.com/members/USERNAME/XXX
where XXX is Wire, Activity, Blogs, ect… and USERNAME is the username of the user. To:
http://example.com/members/XXX/USERNAME
or
http://example.com/XXX/USERNAME
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.
Thanks.