Support » Networking WordPress » How to get name and address of the main blog

  • federal

    (@federal)


    Hi
    my main blog is on mysite.com and I created another blog on blog.mysite.com by the network.
    Now I want to create a theme for blog.mysite.com and I need to get name and address of the main blog in the theme.
    Is there any function for it?

Viewing 1 replies (of 1 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    If you’re not creating the theme for public release, just hardcode the URL, no function, just a link with the main address. It’d be one less db call.

Viewing 1 replies (of 1 total)
  • The topic ‘How to get name and address of the main blog’ is closed to new replies.