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:
So the path I need returning would be ‘/’. If this was a 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.
- The topic ‘Get Blog Path with WordPress 3.0 Multisite’ is closed to new replies.