View Full Version : Question on theme switch in WordPress
02-29-2012, 10:40 PM
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.
03-01-2012, 03:00 AM
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.
03-01-2012, 03:33 AM
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.
03-01-2012, 01:28 PM
PM me with your URL so I can see it.
The WordPress one where you can switch themes.
03-01-2012, 01:39 PM
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.
03-01-2012, 09:29 PM
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?
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.