• In WordPress <?php bloginfo('template_url'); ?> returns the themes directory.

    i.e. http://www. myblog.com/wp-content/themes/mytheme

    However in a Network installation I am finding that it is site/blog based.

    it returns for say subsite 1

    http://www. myblog.com/subsite1/wp-content/themes/theme for subsite1

    and for subsite 2

    http://www. myblog.com/subsite2/wp-content/themes/theme for subsite2

    whereas the actual template directory for each of these sites is
    http://www. myblog.com/wp-content/themes/theme for subsite1
    and
    http://www. myblog.com/wp-content/themes/theme for subsite2

    Is there a multisite/network equivalent of <?php bloginfo('template_url'); ?> ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘php bloginfo('template_url') in multisite’ is closed to new replies.