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/classic/sidebar.php

    r4762 r5151  
    44
    55<ul>
     6<?php   /* Widgetized sidebar, if you have the plugin installed. */
     7        if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    68    <?php wp_list_pages('title_li=' . __('Pages:')); ?>
    79    <?php wp_list_bookmarks('title_after=&title_before='); ?>
     
    3335    </ul>
    3436 </li>
     37<?php endif; ?>
    3538
    3639</ul>
Note: See TracChangeset for help on using the changeset viewer.