Which function would I use if I wanted to echo the path to the subsite or folder name and NOT the username?
I have a site using this link below in a page template but if the path & the username are different it does not work? Whats the best alternative to display the path shown in the network settings?
From admin: `<input id=”path” type=”text” value=”/fwhite/” name=”blog[path]”>
It will be displayed for “logged in” users only.
Here is the link in use now:
<a href="http://domain.com/<?php echo $current_user->user_login?>">Your Website</a>
See how that just adds the username to the url link? But I need the actual path instead.
If possible could I trouble you for an example as well?