Echo path to sub-site or blog on multisite ?
-
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 in a page template as “most” sites paths match the username but if the path & the username are different? Whats the best alternative? It will be displayed for “logged in” users.
- <a href="https://bizconnect360.com/<?php echo $current_user->user_login?>">Your Website</a>
Thanks!!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Echo path to sub-site or blog on multisite ?’ is closed to new replies.