WordPress.org

Support

Support » Multisite » [Resolved] Get Blog Path with WordPress 3.0 Multisite

[Resolved] Get Blog Path with WordPress 3.0 Multisite

  • I have a multisite installation and I need to be able to get the path of the blog in my functions.php file in my theme. For example the main blog is here:

    http://multisite.domain.com/

    So the path I need returning would be ‘/’. If this was a blog:

    http://multisite.domain.com/blog/

    Then I would need to return ‘/blog/’ I can see that the path is stored someone because clicking on edit site shows me it in the first option box.

    Any help with this would be appreciated.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Get Blog Path with WordPress 3.0 Multisite’ is closed to new replies.
Skip to toolbar