Skinner Plugin

« Back to WordPress

The Skinner Plugin adds skin selection and editing to WordPress for Skinner compatible themes. The Skinner plugin is based on the Theme Selector and Theme Editor that are built into WordPress, giving them the the same level of functionality, look and feel.

Download


CC-GNU GPL

This software is licensed under the CC-GNU GPL.

Tip Jar

Installing

  • copy the 'skinner' directory to your wp-contents/plugins directory.
  • Activate Skinner in your Plugins administration page.
  • Install and activate a Skinner compatible theme.
  • You will now see the 'Skins' and 'Skin Editor' entries in the 'Presentation' menu.

Screen Shots

  • Picking a skin
    Skinner Screen Shot
  • Editing a skin
    Skinner Editing Screen Shot

FAQ

I'm a theme user. Why would I create skins?

Using skins is more maintainable that editing the theme directly.

If you are editing the theme, then when a new version of the theme comes out, you need to remember all the changes you made previously and apply them to the upgraded theme. Tracking down the changes can be a real pain.

If instead of editing the theme, you create a skin, then when a new version of the theme comes out, you can just copy your skins into the new theme. A few tweeks of your skin and the upgrade should be complete. Nice!

Can I skin a skin?

Yes you can. Just create a skin for the same theme and in the header of the 'style.css' file add:

Parent Skin: skinname

How do I put a skin switcher on my page, without using widgets?

Edit the theme you are using and place

<?php skinner_skin_switcher() ?>

where you would like the skin switcher to appear.

I'm a theme maintainer. Why would I create skins?

Using skins for your themes allows you maintain a single code base for the theme, but have a number of variations to it's look and feel. e.g., your theme might be blue by default, but you could have a green, yellow and pink skin.

By providing skins for your theme, you can make it more applealing to a larger group of people, with very little extra work.

Vistered Little and JSBox are both great examples of skinned themes.

How do I find out what CSS selectors to use to modify a specific element on the page?

Go and grab Firebug is you are using Firefox, of IE Developer Toolbar if you are using IE. Both of these plugins will allow you to inspect an element to find out what id and/or class it has and what CSS is currently applied to the element.

« Back to WordPress

64 comments.

  1. Comment on March 17th, 2007. Reply

    So.. is there a demo for this plugin? Because it shounds cool.

  2. Comment on March 17th, 2007. Reply

    Well, I’m not sure how to provide a demo as it requires admin access to a wordpress blog. Not something you can let anyone access. In the meantime, your best bet is to install the vistered little 1.7 theme and the plugin and go from there.

  3. brew
    Comment on March 24th, 2007. Reply

    how u freeze the top header bro?

  4. Comment on March 24th, 2007. Reply

    Hi brew,

    I fix the header at the top by using the following css

    position: fixed;

    for most browsers and

    position:absolute; top:expression(eval(document.documentElement.scrollTop));

    in a style sheet that is only included by IE 6

  5. ZB Mowrey
    Comment on May 9th, 2007. Reply

    It could just be a combination of plugins, but I’ve noticed that the latest Skinner (0.0.2) is causing Wordpress to output a “are you sure you want to enable/disable/edit x?” dialog that can’t be avoided. I know it’s this plugin because moving the Skinner directory outside of the /plugins root fixes the issue, but then the skin gets broken. My solution has been to move the directory, make the necessary changes, then restore the directory and re-enable the plugin to keep things looking smooth.

  6. Comment on May 9th, 2007. Reply

    Hi ZB, do you happen to have WordPress installed in a sub-directory?

  7. ZB Mowrey
    Comment on May 9th, 2007. Reply

    No sir, it’s installed in my web root. It took me a while to figure out what was causing the issue (generally speaking), though I have no clue as to specifically what could do that. For clarification purposes, please see the main page of my blog - zbmowrey.com. I’ve posted a couple of images showing the Wordpress Dialog that’s being invoked, as well as a detailed write up. If there’s anything else I can do to help you troubleshoot this, please let me know… Vistered Little is by far the coolest WP theme ever, and if I can help you out a little, I think it’s worth it.

  8. Comment on May 10th, 2007. Reply

    Hi ZB, I’m having problem reproducing this problem. Can you tell me, without the skinner plugin installed, are you still asked to confirm the (de)activation of plugins? From what you wrote on your blog, I’m guessing the answer is no.

  9. ZB mowrey
    Comment on May 10th, 2007. Reply

    Right - without the plugin installed, everything works without a hitch as you’d expect it to. As soon as I activate the Skinner plugin, I start getting those dialogs for other plugins.

    For reference purposes, I have the following plugins installed: Akismet, AllinOne SEO Pack, Google Sitemaps, Presentation Toolkit (from here), Skinner, WP-Cache.

    I wouldn’t suspect Google Sitemaps or AllinOne, since the problem was around before I installed those. Maybe this is something related to the WP install Dreamhost uses?

    It is 2.1.3, but perhaps there’s some php tweak they’ve used that is causing skinner to go crazy? Not really sure how to proceed, so I’ll just keep doing the workaround since it’s worth it.

  10. Comment on May 10th, 2007. Reply

    Hi ZB, thanks for all the information. I’m going to keep trying various things to see what I can do to reproduce the problem. One thing I should point out however, is that you should only need the Skinner plugin if you don’t want to use the default skin, which when I last looked at your site, is the case.

  11. Comment on May 16th, 2007. Reply

    Will this work with WP 2.2, which was just released?

  12. Comment on May 27th, 2007. Reply

    I installed wordpress v2.2 tonight and this theme seems to be working perfectly (at 1.7.3). I even figured out how to change the wallpapers to add some of my custom favorites. Nice work, guys!

    Is there any way to make it seem like it’s not chugging my system (more than capable computer) when I use the mouse wheel to scroll?

  13. Comment on May 27th, 2007. Reply

    Hi -drew-, You’re the first person to complain about this, but I’m guessing you are using IE 6 and you have the header fixed to the viewport (stays visible at the top when you scroll). Correct?

  14. Comment on May 27th, 2007. Reply

    correct on both points, Tom. i’m on my mobile right now so I can’t test it with firefox but i’ll try that when I get home. i’ll also look into adjusting the banner so it’s not fixed. I played w/that a bit last night and didn’t notice a change but that was in ie6.

  15. Comment on May 27th, 2007. Reply

    IE 6 uses “expressions” in the css (have a look for headerfixed in style-ie.css.php) and these can put a bit of a load on the CPU. The strange thing I’ve found is that sometimes it’s really slow and chews up a lot of CPU and other times, there’s no noticeable slowness at all.

  16. Comment on June 8th, 2007. Reply

    hi. i’m using the skinner plugin together with the theme switcher.
    i’ve found a problem that may be considered a bug:
    when using another template (with the theme switcher) the skinner inserts the .css from vistered little into the page, crashing the layout.
    is it possible to tell the skinner to insert the VL-css only, wehen VL is active?
    thanks for the help.

    1. Comment on June 11th, 2007. Reply

      I haven’t tried it with the theme switcher. I’ll test it let you know what I find.

    2. Comment on July 2nd, 2007. Reply

      I’ve just updated the Skinner Plugin and Presentation toolkit to support the theme switcher. Let me know if you have any problems.

      1. Comment on July 4th, 2007. Reply

        nope. sorry. there were no changes detectable.
        i tried the actual versions of VL, skinner and the presentation toolkit.
        perhaps it helps describing the combinations i tried:
        if VL is the main theme (with skinner & PT) the skinner inserts its .CSS into the other themes that are selectable by the themeswitcher.
        if VL is not the primary theme (selectable by the user, with active skinner & PT) the settings are ignored completely not even borders are drawed. but other themes remain untouched.

        the only way to use VL as secondary (selectable) theme without problems is to use it without the skinner. but then all other settings are ignored - even the ones made by the presentation toolkit.
        thanks for your dedication but i guess i have to use this very nice plugin without any customizations. keep up the good work.

        1. Comment on July 4th, 2007. Reply

          I’ll look into it further to see what is going wrong. I had it setup on a dev installation of wordpress and was able to switch between VL, classic and default.

        2. Comment on July 4th, 2007. Reply

          ah. i had a inspiration.
          when i copy the VL-”skins”-folder into the the folder of the primary theme, the borders are drawed. so there seem to be problems with the pathes.
          i hope this helps a little bit.

          1. Comment on July 4th, 2007. Reply

            but i have to add, that - if the VL-skins are copied to the maintheme - the CSS of the skins is inserted to all other themes.

            so the summary of the problem would be:
            - the skinner tries to get its VL-skins from the direcorty of the main theme.
            - the skinner inserts the CSS everytime. not only when VL is active.

            perhaps it is possible to add some sort of a hook or “jump-in-point” for the skinner. i’m not that keen in programming.

  17. Comment on June 20th, 2007. Reply

    Hi, you must correct the URL for Skinner 0.0.4, just 0.0.3 works ;)

    1. Comment on June 21st, 2007. Reply

      Thanks. It’s fixed now.

  18. marlon
    Comment on June 21st, 2007. Reply

    i installed skinner the newest version from wordpress to 2.2 version and its not showing in “skins” or “skin editor” in the presentation area.

    does anyone else have this problem?

    1. Comment on June 21st, 2007. Reply

      What theme are you using?

  19. Comment on August 3rd, 2007. Reply

    This is a great plugin. This type of is priceless for the new kid on the block.

    Thanks

    Vic

  20. jack
    Comment on August 18th, 2007. Reply

    this plug-in has stopped working for me on the Mac, using either Firefox or Safari. selecting Citrus, for example takes me to a blank page with an address which is my url + /index.php?wpskin=Citrus.

    1. Comment on September 4th, 2007. Reply

      Sounds like the redirect after the skin change is failing. Do you have an error log on the server? Also what version of WordPress are you using?

      1. jack
        Comment on September 5th, 2007. Reply

        per the skin switching issue:

        I’m using WP 2.2.1 & the vistered-little theme. i have two osx computers & only get the error on one.

        not working on osx 10.4.1 desktop: firefox 2.0.0.6 + safari 2.0.4. working on osx 10.4.1 laptop: firefox 2.0.0.1 & safari 2.0.4.

        i see no errors in the server log.

        1. Comment on September 5th, 2007. Reply

          I think I’ve found and fixed the problem. Try 0.1.1.

  21. Christer
    Comment on August 28th, 2007. Reply

    I want a skinswither (without themeswitcher) and i’m not using widgets.

  22. Christer
    Comment on August 28th, 2007. Reply

    Fixed it myself. Just…

    1. Comment on September 4th, 2007. Reply

      Sorry for the delay, I’ve added a FAQ above for your question.

  23. Christer
    Comment on August 30th, 2007. Reply

    Same problem as Jack describes in MSIE 6.0. I disable the skinswitcher until the problem is solved

    1. Comment on September 4th, 2007. Reply

      What version of WordPress are you using?

  24. Comment on September 4th, 2007. Reply

    I can’t get it to work for me. everything in the admin works fine, but it won’t switch the skins for me on the blog.
    wordpress 2.2.2

    1. Comment on September 5th, 2007. Reply

      I’ll be testing it against 2.2.2 over the next few days.

    2. Comment on September 5th, 2007. Reply

      Please try 0.1.1

  25. Comment on September 14th, 2007. Reply

    I get an ‘fatal error’ when I try and install the pugin so that I can use it with the Js Theme v2 - PolarLight. The fate I get does not do any harm to my wordpress installation but the plugin is not activated.

    I’m using wordpress 2.2.2 and the skinner version is 0.1.3.

    Thank you for the help and it seems your work is making blogging more interesting for quite a few people.

    1. Comment on October 4th, 2007. Reply

      Can you provide more details about the error Or does it just say “fatal error” and that’s it?

  26. Comment on October 2nd, 2007. Reply

    WP 2.3 and Skinner 0.1.3

    Fatal error: Cannot redeclare kubrick_head() (previously declared in /home/zecompad/public_html/www/wp-content/themes/default/functions.php:11) in /home/zecompad/public_html/www/wp-content/themes/default/functions.php on line 10

    1. Comment on October 4th, 2007. Reply

      Dang. I’m trying to get some time to upgrade to 2.3 and as soon as I do I’ll try to upload a fix.

  27. Comment on October 4th, 2007. Reply

    :) ok !

    i forgot but this error is when i try to activate the skinner just with the default skin and k2 .

  28. Comment on October 9th, 2007. Reply

    it isnt working..fatal error appears have wordpress 2.3

  29. Darren
    Comment on October 16th, 2007. Reply

    I get fatal error on Wordpress 2.3 as well. An error about K2 being re-declared…

  30. Comment on October 23rd, 2007. Reply

    Add me to that list of 2.3 fatal errors. It’s a brilliant theme otherwise. We know you’ll pull through Tom!

  31. Comment on October 23rd, 2007. Reply

    i think this is not reade for 2.3 ! didn’t work for me too !

    1. Comment on October 23rd, 2007. Reply

      I’ve just release 0.1.4. Give that a go and let me know if if still doesn’t work.

  32. Comment on October 23rd, 2007. Reply

    tks tom !

    gona try !

    let u know then !!

  33. Chris
    Comment on October 25th, 2007. Reply

    Hey wicked idea for plugin.. exactly what I was after as we have different colour flavours/skins for our company’s WP theme, based on the same base code. I only want the admin to be able to decide/choose the skin, and not the end user.

    Question tho: how does one make their theme “Skinner compatible” ? when I click on the link above it doesn’t go anywhere? (linked to anchor #skinner-themes)

    Also, in your latest realease 0.1.4, in the comments in the PHP it still says 0.1.3, is this just an oversite?

    I have the latest skinner plugin installed, then under presentation tab in wp admin I select “create your own skin” name it, then nothing happens ?

  34. Comment on October 26th, 2007. Reply

    now i think is fine !

    tks tom !

    btw :
    - JSBox do you know him ?

    1. Comment on October 28th, 2007. Reply

      Great. Thanks for letting me know.
      RE: JSBox. I know JSBox uses skinner, but I don’t know the author.

  35. Darren
    Comment on November 5th, 2007. Reply

    It would seem the author of JSBox has given up, JSBox.net has gone walkabout…

    shame :(

    1. Comment on November 7th, 2007. Reply

      jsbox.net still works for me. Maybe it was only down for a while.

      1. Darren
        Comment on November 7th, 2007. Reply

        Yeah looks like it is back up, I’ve updated Jay’s theme to be more Wordpress 2.3 compatible, but it still needs work and I am not a developer, so fingers crossed, Jay sorts it out soon

  36. Comment on November 7th, 2007. Reply

    jsbox.net is slow ! sometime even doesnt load !

  37. Comment on November 12th, 2007. Reply

    My ubuntu Linux choose a different skin when i first loaded the blog. Is it a bug or a feature?

    :-)

  38. O
    Comment on February 6th, 2008. Reply

    Can this plugin be installed at blogsavy.com? If so, I need help because I can’t figure it out… :S

  39. Comment on February 16th, 2008. Reply

    Thank you for the skinner. Am going to try it!

  40. Comment on February 26th, 2008. Reply

    Is there a more detailed readme/instruction? I wanted to try to use this to create a new skin for my theme, but it just redirects me to the index.php without changing a thing about the look and feel. What am I missing?

  41. Comment on May 4th, 2008. Reply

    I selected your template for my edublog blog and as I changed pages, the background changed. All the pages had different backgrounds. It was very cool.

    Then, I selected 1 of the small boxes at the top of the page and manually changed the background.

    Now the backgrounds don’t change automatically and they are all the same.

    Can you tell me how to set the background so that it will change as I navigate through my blog? I cannot figure it out.

    Thanks,
    Antoinette
    http://presentingbloggingatkms.edublogs.org/

  42. Comment on June 27th, 2008. Reply

    I am on WP 2.5.1 and skinner 0.1.4. On the blog, I have placed skinner widget (JSTheme). This shows the list of available skins but clicking on the skin name doesn’t change the skin.
    http://the-geek.in

  43. Comment on June 27th, 2008. Reply

    Update : If I change the skin, nothing happens. But after changing the skin, I click ‘Home’ or ‘Achieve’ etc links, the skin is changed.

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>