Is there a way to retrieve the blog owner's name in a php function or something? I tried looking at the codex and couldn't find anything. In other words, is there a way to get the value of the blog owner's "Display name publicly as" field?
Is there a way to retrieve the blog owner's name in a php function or something? I tried looking at the codex and couldn't find anything. In other words, is there a way to get the value of the blog owner's "Display name publicly as" field?
The search over there is awful.
That's for the post author though.
Do you want the post author or the actual blog owner's nice name?
blog owner baby.
Hmm, the other issue would be that a blog can have more than one owner.
I'm going to have to fiddle with this one as well.
Thanks andrea_r, I looked at that and I was able to use it, but if I could get the actual blog owner's name, that would be great. Thanks everyone :D
the_author('display_name');
always returns the value set in profile.php for my blogs.(I use this in a site-wide footer)
Thanks dsader, it worked well enough for me :)
We probably should come up with a way to list the admins (and other levels?) of the blogs though.
I marked this thread along with the other two that I promised scripts on and I'll see what I can do with them later today.
Has there been any progress with this? I just want to be able to pull the admin userlist for the blog i'm viewing and display it anywhere within that blog.
Query the database. Simple as that.
I no longer release my code publicly. You may want to review how the admins are displayed on the wp-admin/users.php page as wpmu is already doing this. You just have to modify the code yourself.
Thanks for the info and tip!