I'm attempting to create a theme for WordPress MU that, for simplicity's sake needs to contain some links to the main home page for the site.
I wish to do this in a dynamic manner so, for instance, I could pull the logo from the main Blog, and not need to duplicate it within the theme.
What I've got so far is:
a href=" < ?php bloginfo('siteurl'); ?>"><?php bp_site_name() ?>/a>
Which would display as:
a href="http://domain.com">Site Name/a>
on the main blog, but displays as:
a href="http://example.domain.com">Site Name/a>
on example.domain.com.
(note... I took out the < arrows so the code would appear properly in this forum)
Is there a way (other than hard coding the main blog's URL into the theme itself) where I could alter that original code and display the main blogs url (http://domain.com) on the subdomains?