Forums

php bloginfo('template_url') in multisite (2 posts)

  1. valuser
    Member
    Posted 9 months ago #

    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'); ?> ?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 9 months ago #

    http://core.trac.wordpress.org/ticket/14774

    IT is expected behaviour, looking through trac.

    The URLs get rewritten apparently

Reply

You must log in to post.

About this Topic