Thanks, Andrea.
Tried lots of variations from that source. Eventually thought <a href="<?php echo home_url( '/' ); ?>"><?php $user_blog->blogname; ?></a>
would work but no luck.
Not a coder. Just a mediocre Cut & Paster.
I’ve come up with this convoluted piece :
<a href="<?php
echo home_url( '/' );?>"
<?php
global $current_user;
get_currentuserinfo();
$user_id = $current_user->ID ;
$user_blogs = get_blogs_of_user( $user_id );
foreach ($user_blogs AS $user_blog) {$user_blog->blogname;}
echo home_url( '/' );echo $user_blog->blogname;
?>
While this returns https://your domain.com/logged_in_user_site_name
There are some problems.
1. Surely there is a neater way ?
2.The logged_in_user_site_name that is returned is capitalized. (If the site name is Techwizard, it returns Techwizard but the link is actually in lower case https://your domain.com/ techwizard/) so the returned blogname would have be be uncapitalized. Help!
3) It would have be conditional on a user being logged in, as otherwise it will return an error. Help!
4) I don’t know how to put the tag “My Site” on the above convolution. Help!
BTW I tried omitting the first and the second `echo home_url( ‘/’ );?’ but it didn’t appear to work without both.
Any better ideas or improvements on the above would really be appreciated