I’m a WP and PHP newbie and I need a little guidence 😉
I have 2 sites (site1.com and site2.com) and I would like to use one WordPress instance with 2 different CSS files (each website has unique color scheme – site1.css and site2.css).
In a header I have 2 logos and when the user presses on one logo, CSS file should change accordingly (logo site1 -> site1.css and logo site2 -> site2.css). On the same time I would like to add some links to static pages (now I do this with get_page() and guid…).
What is the best way to achieve this? Could I use domain names? (if user is on site1.com do this else do that)?
- The topic ‘2 Websites in one WP => How to dynamically load different css’ is closed to new replies.