WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/31/2007 04:57:50 PM (13 years ago)
Author:
rob1n
Message:

Add widget support (if plugin is available) to default themes. Props Otto42. fixes #4057

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/functions.php

    r4990 r5151  
    11<?php
     2if ( function_exists('register_sidebar') )
     3    register_sidebar(array(
     4        'before_widget' => '<li id="%1$s" class="widget %2$s">',
     5        'after_widget' => '</li>',
     6        'before_title' => '<h2 class="widgettitle">',
     7        'after_title' => '</h2>',
     8    ));
    29
    310function kubrick_head() {
Note: See TracChangeset for help on using the changeset viewer.