How to link to multisite-base url via php coding?
Well all know that the standard code is as follows:
<?php get_site_url(); ?>
<?php echo network_site_url(); ?>
However, i created a few sites based off of wordpress's multisite functionality.
So I have the following.
If I place the above codes within any of the sites above, it just likes to the base domain - http://www.domain.com/
for example -
a href="<?php echo network_site_url(); ?>/about">Test Link</a>
How do I make it so that I get http://www.domain.com/site1/about/ ?
- - - Updated - - -
Not sure if this matters or will help, but I am using the Vantage theme. So I'm not sure if there's some type of function or call that has already been created to make this work?