Different content on different sites
-
I’m running a WP Network and everything works fine.
But I want to change some content based on which site a visitor is on.
For example, in the header of the theme there is an ad. It’s hardcoded in the theme-file. On all sites, it shows the same ad, but I want to be able to change the ad depending on which site you’re on.
Other example: now it says on my frontpage: top 10 datingsites. On my other site it should say: top 10 diets.
How do I implement this? I was looking at multilanguage support, but that’s not quite what I’m looking for.
Now I added some PHP in the theme files that filters based on the URL (<? if (HOME_URL == ‘http://domainA.com’) { ?>) but I don’t think is the best way to do it, expecially when the number of sites gets bigger.
Any help is welcome!
The topic ‘Different content on different sites’ is closed to new replies.