SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php | |
| 2 | ||
| 3 | add_action( 'widgets_init', 'kmgilbert_widgets_init' ); | |
| 4 | ||
| 5 | function kmgilbert_widgets_init() {
| |
| 6 | register_sidebar( array( | |
| 7 | 'name' => 'Your Cool Sidebar Name', | |
| 8 | 'id' => 'some-sidebar-id', | |
| 9 | 'description' => 'A description of your sidebar.', | |
| 10 | 'before_widget' => '<div id="%1$s" class="bottom-module %2$s">', | |
| 11 | - | 'after_widget' => '</p></div></div>', |
| 11 | + | 'after_widget' => '</div></div></div>', |
| 12 | 'before_title' => '<h1 class="bottom-module-title"><span>', | |
| 13 | - | 'after_title' => '</span></h1><div style="margin-left:0px;" class="bottom-module-body"><p class="bottom-module-body-content">', |
| 13 | + | 'after_title' => '</span></h1><div style="margin-left:0px;" class="bottom-module-body"><div class="bottom-module-body-content">', |
| 14 | ) ); | |
| 15 | } |