Support » Fixing WordPress » Making themes Widget-Ready

  • Resolved missmooney


    I’ve downloaded a theme that matches the template for my website (andreas06 – 1.0), but the admin panel indicated that it didn’t support widgets. I’ve attempted to follow the directions it pointed to, but the code I kept trying to copy/paste into the “Sidebar.php” file just kept messing it up.

    I’ve been attempting to paste the new code immediately after the <div id=”leftside”> tag, but that doesn’t seem to be doing the trick. I’m a relatively new novice at this coding stuff (my HTML knowledge dates back to circa 3.0/4.0, and I have embryonic knowledge of CSS!), but I’m not afraid of diving into code if need be.

    Any help or friendly nudges in the right direction will be greatly appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alex


    Hey missmooney,

    The article you need is this:

    Basically all you need to do is paste this code into your sidebar.php file (I’ve included your [div id=”leftside”] tag:

    <div id="leftside">
    <ul id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
     <li id="about">
      <p>This is my blog.</p>
     <li id="links">
       <li><a href="">Example</a></li>
    <?php endif; ?>

    And in your theme’s functions.php file paste the following:

    if ( function_exists('register_sidebar') )

    This second bit is the part that tells WordPress there is a sidebar for it to manage, thus the [register_sidebar] bit 🙂

    Hope this works for you,



    I’ve just Googled for the theme your using and found this:

    Is this correct?

    Let me know where you downloaded the actual WordPress theme for this and I can fix it/repackage it for you.

    We can call it andreas06 2.0 😉



    Tell you what, give me 30 mins and I’ll post the URL to the fixed and working WordPress version of this theme.



    Well 30 mins became a bit longer, I got sidetracked with work.

    However, a port of the Andreas06 theme is available for download!

    You will need another theme called K2, which is a greatly updated version of the default WordPress theme. It supports “Styles” which basically re-skin your site even further.

    The ported Andreas06 theme which I just finished for you is a “Style” for K2. “Andreas06” and “K2” work together to re-skin your site.

    I posted some step-by-step instructions for you below:

    1. Remove all of the old Andreas06 files from your website, we won’t be needing these any more!
    2. Download K2
    3. Unzip this and upload it to your themes folder in WordPress. (wp-content/themes/)
    4. Activate this theme in the “Presentation” page.
      You now have K2 running, W00t!
    5. Download “Andreas06 for K2”
    6. Unzip this and upload it to your styles folder in K2. (wp-content/themes/k2/styles/)
    7. Go to the “K2 Options” page (click the “Presentation” tab, and then click “K2 Options”)
    8. About 3/4 the way down the page you will see “Styles”, and you will then see a dropdown box. Select that dropdown box and select the option that says “andreas06/andreas06.css”
    9. At the bottom of the page click “Update Options”
    10. Now check your homepage, it should now look like the old Andreas06 design, but working off of WordPress and K2

    To manage the sidebar in this theme you just go to:
    Presentation > K2 Sidebar Manager

    If you decide to use this, and you have any problems with it, let me know.

    Thank you, thank you, THANK YOU, hempsworth!! I tried the code option, but failed miserably. The K2 option was just what the doctor ordered! It looks beautiful!

    P.S. This is where I initially found the “andreas06 1.0” WordPress theme, FYI.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Making themes Widget-Ready’ is closed to new replies.