Dec 20

Widget Gets Green

Author: s1n
Category: 01100011, Zero-blog

So you may have noticed that the theme changed for the first time in the last year. It wasn’t a major overhaul, just a theme change. I grew a little tired of the tried and true Dusk, and hunted for a decent replacement.

Since I use the widget plugin, I found it hard to find a compliant theme. I did find one theme though that caught my eye: Grey Gets Green. The problem was the theme was it lacked widget support.

So poof! I added Widget support (notice the side). I even allowed for the preservation of the original search widget (titled: Original Search Widget). I also fixed the annoying page link hover color (was nearly black, now matches the green). The whole process took a meager 1.5 hours! I just followed this guide and I was done in no time.

According to the stylesheet, this theme was released under the GPL, which gives me the right to distribute my changes. Without further ado, you can download the original theme here and my patch for this theme here.

To all of you out there in radio land, let me know what you think of this new theme.

Update: So there has been a request for the full sources. Since the original theme was released under the GPL license, I will release the full sources with my modifications and a credit to the original author, Fred Banuelos. Without further ado, I give you Widget Gets Green.


14 comments

14 Comments so far

  1. s1n December 20th, 2006 5:22 am

    I just noticed the stupid image wrap problem that most themes seem to suffer from. Add the following to your stylesheet if you have any large images:

    img {
    max-width: 490px;
    }

    You could probably even order that (so that it falls under #content) to prevent any background/header problems. I won’t include it in the patch because it may or may not be an issue on everyone else’s blog.

  2. jonathan woodley January 3rd, 2007 7:32 pm

    Hi thanks for this i too love this theme, except from the lack of widget support. But i dont know how to install it.

    Could you please help me out. Thank you. :)

  3. jonathan woodley January 3rd, 2007 7:41 pm

    i should of mentioned i mean the patch, not the actual theme :)

  4. s1n January 4th, 2007 1:47 am

    Use the standard Unix patch application. You can read a very brief how-to here:

    http://www.ethereal.com/docs/edg_html_chunked/ChSrcPatchApply.html

    If you’re not running Linux/Unix, I don’t really know what Windows uses to apply arbitrary differences to a directory/file.

    I can post the sources if need be, the theme has a GPL license. Perhaps we could propagate these changes to the author and then back to the WordPress theme page.

  5. jonathan woodley January 4th, 2007 9:02 am

    Yes, i’m running windows so i cant use that. Could you please post the source files.

    Thanks

  6. s1n January 4th, 2007 12:18 pm

    I’ll post an update to this post with the full sources tonight (I don’t have time before work).

  7. jonathan woodley January 4th, 2007 12:29 pm

    thanks :)

  8. s1n January 6th, 2007 12:29 am

    I updated the post with the modified sources. Let me know if there are thing you would like to see fixed on the theme (and if you actually use the theme).

    Enjoy.

  9. s1n January 6th, 2007 7:33 am

    If you downloaded the sources since my last comment, download them again. There was a bug in the CSS that prevented images from sizing correctly outside of the content.

    If there are any future changes, I will start to version the downloads as well as the stylesheet CSS comment.

  10. jonathan woodley January 6th, 2007 10:49 am

    YAY!!! THANKS! Now my site can finally have widget support! :D :D

  11. Andra March 28th, 2007 8:49 am

    Thanks, this is cool!! :-) May I ask for 3 column version for this theme? I really like the dark color… :-D

  12. s1n March 28th, 2007 11:37 am

    Andra,

    I actually only added widget support to the theme. You want to contact the author of the original theme. The link is provided in the footer of every page.

  13. ManiKomiO April 17th, 2007 9:31 am

    Very very nice theme. I like it very, but I have a big problem: I want to include the WP-postviews in the sidebar but it’s impossible. I am desperating.

    Yes, I can activate the plugin, but it doesn’t appear in the “Available Widgets” section. Why?? I tried everything…

    The only way I found, was with the “King Text” but it looks horrible.

    Can someone help me please?????

    Thank you very much

  14. s1n April 17th, 2007 11:10 pm

    I’m glad you like the theme (even though I only added widget support).

    The problem you are having with WP-Postviews doesn’t have anything to do with this theme. WP-Postviews is not a widget. Therefore, it will not show up as an available widget.

    Secondly, if you read the Usage for that plugin, you’ll find that you have to manually edit your PHP. If you have widgets turned on and you are editing your sidebar.php, it will not work. Widget support disables the traditional sidebar.php code.

    Read the Usage on the WP-Postviews README.

Leave a comment