php bloginfo('template_url') in multisite
-
In WordPress
<?php bloginfo('template_url'); ?>
returns the themes directory.i.e. https://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
https://www. myblog.com/subsite1/wp-content/themes/theme for subsite1
and for subsite 2
https://www. myblog.com/subsite2/wp-content/themes/theme for subsite2
whereas the actual template directory for each of these sites is
https://www. myblog.com/wp-content/themes/theme for subsite1
and
https://www. myblog.com/wp-content/themes/theme for subsite2Is 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.