Support » Networking WordPress » Getting Blogname of subblog via $blog_id ?

  • Resolved sepp88

    (@sepp88)


    hey guys,
    how can i query the the blogname of a subblog when i have the $blog_id.

    e.g. i’m on a subblog of my multisite setup and i have

    echo $blog_id;

    This just works fine – it echoes the ID of the current blog. However i don’t want to echo the ID, but the Name of the blog.

    How can i do that?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Blogname of subblog via $blog_id ?’ is closed to new replies.