• Okay, so I have a theme that is not widget ready, so I’m trying to MAKE it widget ready….. (I read automattic tute already).

    I’m doing something wrong. Here’s what the sidebar looks like now after trying and failing to make it widget ready with the mod below, which is obviously not right.

    Help?

    I changed 2 files:

    1. functions.php

    I added this code to it:

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar();
    ?>

    2. sidebar.php

    I added these lines of code to it:

    <?php if (!function_exists(’dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?> // added

    AND

    <?php endif; ?> // added

    That should be it, right? That’s how you do it? It’s not working for me.

    Help?

    .

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Making a Theme Widget Ready Using This Mod?’ is closed to new replies.