WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Getting Blogname of subblog via $blog_id ? (3 posts)

  1. sepp88
    Member
    Posted 3 years ago #

    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?

  2. If you're calling the same site you're on, then the regular bloginfo calls should work

    http://codex.wordpress.org/Function_Reference/get_bloginfo

  3. sepp88
    Member
    Posted 3 years ago #

    thank you! that worked fine!

Topic Closed

This topic has been closed to new replies.

About this Topic