Title: Widgetizing theme (box set 1.2)
Last modified: August 19, 2016

---

# Widgetizing theme (box set 1.2)

 *  Resolved [keyaziz](https://wordpress.org/support/users/keyaziz/)
 * (@keyaziz)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/)
 * I have tried widgetizing the box set 1.2 theme but with no luck.
 * This is how my side bar file looks (to me a mess):
 * [http://wordpress.pastebin.ca./855031](http://wordpress.pastebin.ca./855031)
 * and this is my functions file:
 * <?php
    if ( function_exists(‘register_sidebar’) ) register_sidebar(array( ‘before_widget’
   => ”, ‘after_widget’ => ”, ‘before_title’ => ‘<div class=”title”>’, ‘after_title’
   => ‘</div>’, )); ?>
 * I did search posts on here..but ive tried everything that i have read with no
   luck. Am i missing something.
 * Thank you for your help…really appreciate it.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680708)
 * Repaste your sidebar code to the pastebin and report back the link.
 *  Thread Starter [keyaziz](https://wordpress.org/support/users/keyaziz/)
 * (@keyaziz)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680745)
 * [http://wordpress.pastebin.ca./855215](http://wordpress.pastebin.ca./855215)
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680755)
 * Put this in functions.php:
 *     ```
       <?php
       if ( function_exists('register_sidebar') )
           register_sidebar(array(
               'before_widget' => '<div id="%1$s" class="widget %2$s">',
               'after_widget' => '</div>',
               'before_title' => '<h3 class="widgettitle">',
               'after_title' => '</h3>',
           ));
       ?>
       ```
   
 * And put this in as your sidebar.php:
    [http://wordpress.pastebin.ca/855231](http://wordpress.pastebin.ca/855231)
 * Note that the CSS will need some modification, because the existing sidebar was
   invalid. It had several items with ID’s of “box”, which is incorrect. You may
   want to change the CSS to replace `#box` with `.widget` instead.
 *  Thread Starter [keyaziz](https://wordpress.org/support/users/keyaziz/)
 * (@keyaziz)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680885)
 * Hey,
 * thank you so much for your help.
 * I did all this, and changed the css but it still doesnt lewt me use the widget
   tab in wordpress?
 * thanks very much.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680899)
 * Make sure that you have the latest version of WordPress.
 *  Thread Starter [keyaziz](https://wordpress.org/support/users/keyaziz/)
 * (@keyaziz)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680903)
 * i do!
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680916)
 * Well then I don’t know what to tell you. Go to Presentation->Sidebar Widgets 
   and arrange your widgets. That’s it. There’s nothing else to be done.
 *  Thread Starter [keyaziz](https://wordpress.org/support/users/keyaziz/)
 * (@keyaziz)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680923)
 * Ok but it says no sidebar is defined…
 * I will try and see if I can do something.
 * Thanks for all your help.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680942)
 * > _it says no sidebar is defined…_
 * Then you did not put that code above into your theme’s functions.php file. Make
   sure you spelled the name of the file correctly, it _must_ be “functions.php”
   and it must be in your active theme’s directory.
 *  Thread Starter [keyaziz](https://wordpress.org/support/users/keyaziz/)
 * (@keyaziz)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-680954)
 * awww thanksssssssssssssss tonnes.
 * the problem was the file was called functions(2).php – i had to create a functions
   file because the theme didnt have one and it was named that..i changed that and
   now it works.
 * thanks for your help and patience 🙂
 *  [venkman](https://wordpress.org/support/users/venkman/)
 * (@venkman)
 * [18 years ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-681145)
 * this helped me as well. thanks!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Widgetizing theme (box set 1.2)’ is closed to new replies.

## Tags

 * [widgetizing theme](https://wordpress.org/support/topic-tag/widgetizing-theme/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * 11 replies
 * 4 participants
 * Last reply from: [venkman](https://wordpress.org/support/users/venkman/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/widgetizing-theme-box-set-12/#post-681145)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
