1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to use two themes on a (Wordpress) site?

Discussion in 'Web Design' started by neverquitting, Jan 9, 2015.

  1. neverquitting

    neverquitting Regular Member

    Joined:
    Nov 10, 2014
    Messages:
    410
    Likes Received:
    327
    Location:
    United States
    Home Page:
    So I've got a site running Wordpress and for the most part I want to use one theme on it. But for a specific section, I'd like to go for a more Pinterest-style layout. I know the PinThis theme is good for that, and I'd love to implement it, but I don't want to change the theme for the rest of my site. How can I make it so one category has a different layout from the rest? I'm thinking something to do with page templates, but I don't really know where to go from there.
     
  2. K.H.R

    K.H.R Jr. VIP Jr. VIP

    Joined:
    Dec 9, 2013
    Messages:
    3,154
    Likes Received:
    1,006
    Gender:
    Male
    Location:
    BHW
    You have to Design that template for that specific section.
     
  3. neverquitting

    neverquitting Regular Member

    Joined:
    Nov 10, 2014
    Messages:
    410
    Likes Received:
    327
    Location:
    United States
    Home Page:
    So I can design a template that calls a different theme? If so, I'll try and hunt for how to go about doing that. I'm not particularly knowledgeable about php, but I tinker with shit that's already coded when I need to modify it a bit.
     
  4. jms12

    jms12 Registered Member

    Joined:
    Apr 17, 2012
    Messages:
    96
    Likes Received:
    45
    When I want a different theme on a different page there always seems to be an even better plugin for the situation.
     
  5. Conor

    Conor Jr. VIP Jr. VIP

    Joined:
    Nov 7, 2012
    Messages:
    3,539
    Likes Received:
    5,857
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    • Thanks Thanks x 1
  6. ExpressFans

    ExpressFans Jr. VIP Jr. VIP

    Joined:
    Dec 11, 2011
    Messages:
    1,417
    Likes Received:
    552
    Occupation:
    Service Provider
    Location:
    Probably on GitHub
    Home Page:
    Why not simply install wordpress a second time on the directory you want to have a different theme.

    If for instance your main wordpress is installed on http://website.com/

    Then install it again on http://website.com/category-with-different-theme/

    You will have to login to each section seperately, but still have the full functionality you may loose with plugins.
     
    • Thanks Thanks x 1
  7. jimmyisso

    jimmyisso Newbie

    Joined:
    Dec 3, 2013
    Messages:
    12
    Likes Received:
    2
    Location:
    USA
    Home Page:
    There are several ways to do this. You can create a different header.php template file and switch out your CSS file links for your other theme that you want to use.

    Or, create a PHP if else statement to use a specific CSS file (cascading style sheet) for a specific page.

    If you are not that well-versed in coding WP sites, you might try to use a plug-in. However, I find plug-ins often slow down the load times the more that you add to the site. I usually code my own WP themes into HTML/PHP/CSS, so I would just create a different header template file and not use a plug-in. Whatever works easiest for you though.
     
  8. neverquitting

    neverquitting Regular Member

    Joined:
    Nov 10, 2014
    Messages:
    410
    Likes Received:
    327
    Location:
    United States
    Home Page:
    Thanks guys, some really great suggestions in here. Maybe I'll actually look into implementing this sooner rather than later.