Hi there, I have this little problem. I'm sure there's an easy solution but I can't find it here. I'm probably searching for the wrong thing.
I want to use my CDN for some theme components, however I cannot use <?php get_theme_url(); ?> since my CDN is on a subdomain.
For example, my site is hosted on http://mydomain.com, and my CDN is http://cdn.mydomain.com. I want to use a <?php get_theme_url(); ?>, but instead of outputting http://mydomain.com/theme/..., I want it to output http://cdn.mydomain.com/theme/...
Is this possible at all? I tried cdn.<?php get_theme_url(); ?>, but that obviously outputs cdn.http://mydomain.com/theme/...
I want to use my CDN for some theme components, however I cannot use <?php get_theme_url(); ?> since my CDN is on a subdomain.
For example, my site is hosted on http://mydomain.com, and my CDN is http://cdn.mydomain.com. I want to use a <?php get_theme_url(); ?>, but instead of outputting http://mydomain.com/theme/..., I want it to output http://cdn.mydomain.com/theme/...
Is this possible at all? I tried cdn.<?php get_theme_url(); ?>, but that obviously outputs cdn.http://mydomain.com/theme/...