Support » Fixing WordPress » mutliple themes on same website

  • Resolved Nessdufrat


    I know there is at least a plugin which does that, but I’d like to do it on my own. I would like to have different themes (3 of them) on different pages/sections of my website.
    I’ve worked with templates already, and I’ve done a website where each category had its own css, but the main website was the same ( The main layout is the same, but each category has different colors).
    Here, I want the general layout to be different, so I’ll need to call a different header and a different footer. My main concern is: how do I do that? If I do some conditional statement with the loop, like “if this page, then load this or that”, it means I have to wait for the loop. What do I do with the header call? Or is it any other way to do it?
    If I need a specific header and footer and css for the contact page, I’ll have to use the “is_page( ‘contact’ ) ” and then load the stuff I need. But that query comes after the get_header() call since it does inside the loop, doesn’t it?
    How should I code it so that I don’t risk calling the header once it’s already been called?

Viewing 1 replies (of 1 total)
  • Ok, I found out part of the solution, I was looking at it the wrong way. Anyway, I still have one question: what if I want to have a secondary “blog” (post loop) with a new design? I can select templates for pages, but I can’t do it for articles. How do I do that?
    I’m looking at the same problem I had with the header thingie. If I use a conditional statement to check the categories, how can I then call another header?

Viewing 1 replies (of 1 total)
  • The topic ‘mutliple themes on same website’ is closed to new replies.