2014-11-25, 09:42 PM
Hi there!,
I wish to use a diffrent theme based on what domain the user visits,
for example i have:
example.com
bf.example.com
cod.example.com
(no, my website is not related to any game whatsoever, just merely an example
)
Now I wish to have the default theme on example.com
a diffrent theme for bf.example.com
another diffrent theme for cod.example.com.
I do NOT wish a plugin for this,
one of my subdomains is running on a heavy modified version of mybb,
and "example.com" is running on default.
However, they share the same database.
I'd only like to set my subdomain to use a pre-defined theme id instead of loading default theme.
There is a way doing this by making a diffrent mysql-db and syncing example.com & bf.example.com's DB,
But I prefer not to
So.. in general, Is there a way to load up a diffrent theme based on domain-name?
Thank you in advance!
I wish to use a diffrent theme based on what domain the user visits,
for example i have:
example.com
bf.example.com
cod.example.com
(no, my website is not related to any game whatsoever, just merely an example

Now I wish to have the default theme on example.com
a diffrent theme for bf.example.com
another diffrent theme for cod.example.com.
I do NOT wish a plugin for this,
one of my subdomains is running on a heavy modified version of mybb,
and "example.com" is running on default.
However, they share the same database.
I'd only like to set my subdomain to use a pre-defined theme id instead of loading default theme.
There is a way doing this by making a diffrent mysql-db and syncing example.com & bf.example.com's DB,
But I prefer not to

So.. in general, Is there a way to load up a diffrent theme based on domain-name?
Thank you in advance!