WordPress.org

Ready to get started?Download WordPress

Forums

Theme Switcher Funkiness (51 posts)

  1. dawg
    Member
    Posted 9 years ago #

    I too, as of this moment deleted default along with classic and the plug-in works flawlessly.

  2. Root
    Member
    Posted 9 years ago #

    So this is a Classic / Default thing . Well - assuming someone is using Classic as his code base - he gets set up - multiple themes - where is the bit that tells him he must not un install the default.?

  3. goodsnake
    Member
    Posted 9 years ago #

    There are days when I want to get a new blogging software because of the superiority complex of most people on the WordPress Forums. To clarify to JENN I tried to use themes I used in the 1.5 alpha stages with the theme switcher once 1.5 “the Stable Version� was released. This only broke my presentations menu for a week and I was stuck looking at that piece of crap that is WP Default. I could not change it, I could not make it reload. All this from that piece of PHP called the style switcher. I had to totally delete WP off my server and reload a 1.5.1 alpha version to get it to cooperate. Then I take Stuart’s Gemini templates fixed up for 1.5 and it goes screwy again. I posted my errors to the forums twice and I got no help. NONE! I had to find a workaround all by myself.

  4. baart
    Member
    Posted 9 years ago #

    I have also had problems with the theme switcher..I installed it, and checked out my site and there were the avaliable themes..However, after changing themes, I was unable to swap back..(so I had to deactivate the plug-in) for me, this happens using dropdown or list style..
    Any ideas why?
    I have three themes installed..(classic, default and soothe)

  5. baart
    Member
    Posted 9 years ago #

    Aha Dawg!

    That's why I can only change once, right?
    I must add the call to each theme?

  6. jennmiller
    Member
    Posted 9 years ago #

    If dawg is correct, then it appears that people aren't realizing that you have to put the code for the theme-switcher on EACH index page of each theme. As for superiority complex, I was the one a few months back who couldn't even get into her own site to fix a password goof, so I don't know where that came from. The Upgrade rules are very clear in saying that 1.2 styles won't work. I have no idea what nightlies are, but to say that the theme-switcher won't work without certain themes is just plain untrue.

  7. dawg
    Member
    Posted 9 years ago #

    and to goodsnake no one forced you to look at default for one week, all you had to do is de-activate the plug-in and select the correct presentation, hmm?? two mouse clicks does not a week make!

  8. dawg
    Member
    Posted 9 years ago #

    Yes to baart that will get your theme working right.

  9. Root
    Member
    Posted 9 years ago #

    No dawg. It is true for any theme to run the meta needs to be set up correctly. All my themes run fine thankyou. Until I uninstall Kubrick. And I do speak with some experience on this issue.

  10. dawg
    Member
    Posted 9 years ago #

    Take the meta from either kubrick/classic add it to your theme css and viola!

  11. vkaryl
    Member
    Posted 9 years ago #

    Add a third voice for no defaults on server but theme switcher hums along just fine.... in fact, neither the default theme nor the wpclassic theme were ever uploaded for this install. The only place I've ever had trouble with the switcher was where I tried to use a 1.2 style without realizing it.

    And yes, you absolutely must have the call to the switcher on every theme's index.php or sidebar.php or wherever you want the selector to appear. It would be nice if that sort of functionality could somehow be made "global"....

    [Edit: and Root's posts make me wonder.... there's a couple of people having a problem viewing themes period.... maybe they haven't the defaults installed? Root does know whereof he speaks normally, so the fact that there are a small percentage of us with a different experience does NOT mean he hasn't a clue, y'know? So I'm off to check on that other problem....]

  12. Root
    Member
    Posted 9 years ago #

    Well normally ...........

  13. vkaryl
    Member
    Posted 9 years ago #

    Heh, ev'body has an occasional "outbreak".... let's not get oofy here! I use your posts as markers for "normalcy", Root....

  14. Root
    Member
    Posted 9 years ago #

    The point is it is no good people repeating that 1.2 wont work. They do just fine if you follow the protocol for upgrading all your files. BUT is this a side effect ?
    Should we be adding something else? But I do know this. I am fed up with installing and uninstalling the default.

  15. vkaryl
    Member
    Posted 9 years ago #

    That's what's so strange, m'friend. I haven't "installed and uninstalled the default" even once. I wonder what's different about our setups? It can't be the distro....

  16. Root
    Member
    Posted 9 years ago #

    I am on 1.5 standard. Nothing fancy.

  17. vkaryl
    Member
    Posted 9 years ago #

    I as well. I don't do "fancy" mostly, other than a few plugins and some themes. No possibility this is something to do with differing versions of php?

  18. Marcos Sader
    Member
    Posted 9 years ago #

    On the first place, the theme switcher is as the name says a switcher so if you have only one the installed what would you switch?!
    Then, you need to add the following code to make the plugin work

    <?php if (function_exists('wp_theme_switcher')) { ?>
    <li>
    <h2><?php _e('Themes'); ?></h2>
    <?php wp_theme_switcher(); ?>
    </li>
    <?php } ?>

    So, that wil ensure you will get the site working even if there is no theme in the theme folder, and of course there is no neeed of kubrick or classic themes because when no theme is in the wp-content/thmes/ the defaul (in the root) is used so just use any theme.

    If you want a working example, i've se up a demo blog to try out my new theme, equiX... so check this and you will see demo.wp-themes

  19. Root
    Member
    Posted 9 years ago #

    So I go to your blog and what do I see in the theme switcher? Default and Classic.

  20. Keanuette
    Member
    Posted 8 years ago #

    Ummmmmmmm

    What my particular problem has been all along with style switcher/theme changer is it works fine on the index page of my site. However, when I click on any particular individual post, it defaults back to the old style and doesn't show the theme that I've chosen.

    I notice that 'ifelse's links are different to mine [same as what's on Alex King's site'] and I wanted to know what I need to do to change it.

    [My site theme link goes like this...]

    http://keanuholic.com/blog?ts_theme=coffeecup

    [ifelse's site theme link/Alex King's theme links go like this...]

    http://www.endturn.com/words/index.php?wptheme=Gespaa+theme+-+Two+Columns

    My point is, how do I get my link to show:

    "index.php?wptheme=blah+blah"

    and not

    "blog?ts_theme=blah"

    I'm thinking if I change the coding, wherever it needs to be changed, my blog themes will work nicely, just like yours.

    This has been driving me crazy for a loooooooong time, so any help you could give me would be greatly appreciated.

    Cheers!

  21. Kafkaesqui

    Posted 8 years ago #

    "Also...1.2 themes DO NOT WORK in 1.5. They need to be modified to be compatible."

    I'm not sure where this comes from, but to verify I just dropped my 1.2 templates (index.php, wp-comments.php and wp-layout.css) into a test setup of 1.5. Besides a few adjustments due to errors from non-existent functions (plugins I no longer use), I had no issues using my 1.2 "theme".

    Just stirring the pot.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.