Support » Networking WordPress » Home Page link to 'child blogs'

  • Hi All
    I have a ‘Home Page’ link on my theme for the child blogs, (all going to use the same theme)
    What code can i put there so when the user clicks ‘Home’ it goes to THAT child blogs home page, not the root folder which is the parent blog, any ideas would be appreciated!!

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • What code is there now? Cuz if it’s the simple php that leads to the blog url, that works for all subsites.

    Hi Andrea.
    Nothing at the moment, it’s come from a single WP blog we did earlier in the year and just using same template for their multi sites (to which i’m new to)

    There was just a / there before, but obviously that takes it to the root, not the ‘home page’ of that sub site

    Thanks again!

    In the template file, it should be something like:

    <a href="<?php bloginfo('url'); ?>"><?php _e('Home'); ?></a>

    Hi Andrea.
    That’s worked a treat, thanks ever so much!!!


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Home Page link to 'child blogs'’ is closed to new replies.