Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder Kevin_M_Schafer's Avatar
    Join Date
    Apr 2011
    Location
    Fairfax, Minnesota, U.S.A.
    Posts
    482
    Thanks
    97
    Thanked 17 Times in 17 Posts

    Question on theme switch in WordPress

    I'm new to WordPress and I have a question regarding a theme switch. I would like site visitors to read the same content on either theme -- their choice for their viewing pleasure.

    Am I correct in thinking that I need to install the switch in both themes?

    I have tried this over and over on a brand new install. When one widget is installed it works. When I install the second switch, the other one disappears.

    I renamed both themes to what I wanted to call them before ever uploading them. They initially had spaces in the names, but I corrected the css afterward using filezilla. The correct names now appear, and there is no difference -- it still doesn't work. One widget kills the other. Also, the second theme that's uploaded is always collapsed -- no default widgets present.

    If anyone has an idea what is causing my trouble, please let me know. I can answer any further questions.

    The WordPress is in my own hosting package.

    Thanks for reading.

    --Kevin

    .
    My keyboard is an IBM from 1993 and I like it that way. | Who is Dan Well? Everyone always says I know Dan Well.Building a web page is like building a birdhouse. Put it up there and watch 'em come. | Maintaining the aspect ratio of an image is more important than having a cold orange pop.

  • #2
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,378
    Thanks
    8
    Thanked 1,075 Times in 1,066 Posts
    Kevin ... did you make it through the winter storms?

    I have to ask why it's necessary to switch themes.
    It seems like a lot of work, not worth the result.

  • #3
    Regular Coder Kevin_M_Schafer's Avatar
    Join Date
    Apr 2011
    Location
    Fairfax, Minnesota, U.S.A.
    Posts
    482
    Thanks
    97
    Thanked 17 Times in 17 Posts
    Hi mlseim,

    Thanks for the reply. Yes, we made it through the storms. We had a lot of rain and only two inches of slush and snow. A lot of evergreen trees lost their boughs today, though.

    I have a newspaper and I have two themes that I recently bought online. One reminds me of a classic newspaper, and the other looks contemporary. With a newspaper, I could nail the categories down to a strict number, then use them in both themes. The contemporary site would have more articles (posts) showing in the widgets. I could keep the classic view having fewer articles allowed by the widgets and it would give the impression of a lighter read compared to the contemporary. Mostly because the articles would fall off sooner (go to archives and no longer appear). The contemporary view would hold more before falling off into archives.

    I saw one WordPress site last night that had at least 15 themes. It clicked along perfectly and was pretty fascinating. I spent no less than four hours last night trying to get at least four different widgets to work.

    Any ideas would be appreciated.

    --Kevin

    .
    My keyboard is an IBM from 1993 and I like it that way. | Who is Dan Well? Everyone always says I know Dan Well.Building a web page is like building a birdhouse. Put it up there and watch 'em come. | Maintaining the aspect ratio of an image is more important than having a cold orange pop.

  • #4
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,378
    Thanks
    8
    Thanked 1,075 Times in 1,066 Posts
    PM me with your URL so I can see it.
    The WordPress one where you can switch themes.

  • #5
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Kevin,

    Could you please list the plugins you've tried already for switching themes?

    If you could also explain the steps you took with them and the results, it may be helpful.

    The specifics of how you'd make it work would depend on the plugin, but generally I would think you'd either have to add some code to each theme or place something in a widget area of both themes.

    If placing something in the widget area, I would think both themes would have to reference the same widget area. Often themes name widget areas differently and contain multiple widget areas. If one theme calls a widget area "right sidebar" and you place something in it, such as a widget for the theme switcher, and the second theme doesn't have a widget area called "right sidebar", the widget won't appear in the second theme.

    Thanks,
    Todd

  • #6
    Regular Coder Kevin_M_Schafer's Avatar
    Join Date
    Apr 2011
    Location
    Fairfax, Minnesota, U.S.A.
    Posts
    482
    Thanks
    97
    Thanked 17 Times in 17 Posts
    Hi ToddH,

    I've tried four, but I only have three at the moment on my desktop. I think I deleted one.

    69451-advanced theme switcher-1.0.5

    theme switcher reloaded

    theme switcher 1.0

    It may not be just the theme widgets that disappear. I think the themes must be so different from each other that they aren't plotted the same or something.

    What I thought was a good idea is looking like it may not really happen.

    I installed the admin bar theme switcher and that works perfectly. It's when the widgets are implemented is where things go nutty.

    This is all in the setup stage, so it's not like I have to worry about breaking my site.

    In all the cases, I uploaded the theme switcher plugins using WordPress -- still in their zipped files. Once a plugin was uploaded, I activated it. Next, I went to Widgets and dragged a widget to the Sidebar area and saved it. I then went to view the site and it was there. I chose the other them from the drop down menu and was indeed taken there. Once there, I went to Widgets and installed the widget in what I thought to be the same sidebar area as the other theme. I save it. I view the site and it's there. I choose the other theme and once the page opens, the switch is gone from the initial theme.

    Also, the second them to be uploaded is all collapsed. I did an install in reverse -- uploaded one before the other, and in that instance, the other theme was collapsed. When I say collapsed, I mean that there were no default widgets present.

    Should I post a url of this test site and the password? The themes are right out of the box, so to speak. The only thing I did at all is rename the themes on their respective style sheets before uploading them.

    Maybe I should upload them in their native states, then change their names afterward using filezilla?

    --Kevin

    .
    Last edited by Kevin_M_Schafer; 03-01-2012 at 08:31 PM. Reason: text clarity
    My keyboard is an IBM from 1993 and I like it that way. | Who is Dan Well? Everyone always says I know Dan Well.Building a web page is like building a birdhouse. Put it up there and watch 'em come. | Maintaining the aspect ratio of an image is more important than having a cold orange pop.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •