Is bloginfo(‘template_directory’) generated based on WP_SITEURL and WP_HOME in the settings?
The URL used by bloginfo(‘template_directory’) is based on various functions that determine the URL to the theme directory, which are ultimately based on the WP_CONTENT_URL constant, which is the URL to the wp-content/ directory. The initial value for this constant, if you don’t define it yourself, is based on the site URL set in the … Read more