Make WordPress Core


Ignore:
Timestamp:
03/31/2007 04:57:50 PM (18 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/sidebar.php

    r5127 r5151  
    11    <div id="sidebar">
    22        <ul>
    3 
     3            <?php   /* Widgetized sidebar, if you have the plugin installed. */
     4                    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    45            <li>
    56                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
     
    6768                </li>
    6869            <?php } ?>
    69 
     70           
     71            <?php endif; ?>
    7072        </ul>
    7173    </div>
Note: See TracChangeset for help on using the changeset viewer.