1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Running 2 themes within one installation

Discussion in 'WordPress' started by JakeThePeg, Oct 18, 2009.

  1. #1
    Howdy - I'm just wondering how hard it is to run 2 themes within one installation of Wordpress? I have one section in my blog which I'd like to use a completely different Wordpress template for..... is it possible, and if so, how do I go about it?
     
    JakeThePeg, Oct 18, 2009 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can do it using child Themes (I haven't done this) or apply an ID to the body tag and serve a separate stylesheet to it if you're just going to change the appearance.
     
    Dan Schulz, Oct 18, 2009 IP
  3. JakeThePeg

    JakeThePeg Active Member

    Messages:
    230
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    It's more than just changing the appearance, it's using an entirely different theme with a different layout and different navigation onscreen.

    Any ideas how you set a child theme?
     
    JakeThePeg, Oct 18, 2009 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    http://op111.net/53 <-- that'll cover the basics of creating a child Theme

    For the page that will have substantially different content, just use a conditional statement that detects the page, then serves the different content instead of the standard fare when that specific page is served.
     
    Dan Schulz, Oct 18, 2009 IP
  5. JakeThePeg

    JakeThePeg Active Member

    Messages:
    230
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Hmm...I don't think I want to use child themes after all.

    What I want is for one page, displaying one particular category of posts, to be a completely different theme to the rest of the site. Any idea how to do this (keeping in mind that I'm also hopeless at PHP scripting) :)
     
    JakeThePeg, Oct 20, 2009 IP
  6. b4db0y

    b4db0y Notable Member

    Messages:
    3,523
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    205
    #6
    well i think if that section is a page or a post using tags such as is_single and is_page could help.
     
    b4db0y, Oct 20, 2009 IP
  7. JakeThePeg

    JakeThePeg Active Member

    Messages:
    230
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7

    Hmmm ok...would it be possible to give me an example of how this code would be used to call a completely different wordpress template?
     
    JakeThePeg, Oct 21, 2009 IP
  8. dickieknee

    dickieknee Active Member

    Messages:
    441
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #8
    hey jake

    PM me, I may be able to do this, depends on which pages you want to be different
     
    dickieknee, Oct 22, 2009 IP
  9. addlinkurl

    addlinkurl Well-Known Member

    Messages:
    2,409
    Likes Received:
    129
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #9
    addlinkurl, Oct 22, 2009 IP