WordPress.org

Ready to get started?Download WordPress

Forums

How to get name and address of the main blog (2 posts)

  1. federal
    Member
    Posted 3 years ago #

    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?

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.