Ticket #4057: themes-widgets.diff
File themes-widgets.diff, 2.2 KB (added by , 18 years ago) |
---|
-
wp-content/themes/classic/functions.php
1 <?php 2 if ( function_exists('register_sidebars') ) 3 register_sidebar(array( 4 'before_widget' => '<li id="%1$s" class="widget %2$s">', 5 'after_widget' => '</li>', 6 'before_title' => '', 7 'after_title' => '', 8 )); 9 10 ?> 11 No newline at end of file -
wp-content/themes/classic/sidebar.php
3 3 <div id="menu"> 4 4 5 5 <ul> 6 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> 6 7 <?php wp_list_pages('title_li=' . __('Pages:')); ?> 7 8 <?php wp_list_bookmarks('title_after=&title_before='); ?> 8 9 <?php wp_list_categories('title_li=' . __('Categories:')); ?> … … 32 33 <?php wp_meta(); ?> 33 34 </ul> 34 35 </li> 36 <?php endif; ?> 35 37 36 38 </ul> 37 39 -
wp-content/themes/default/functions.php
1 1 <?php 2 if ( 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 )); 2 9 3 10 function kubrick_head() { 4 11 $head = "<style type='text/css'>\n<!--"; -
wp-content/themes/default/sidebar.php
1 1 <div id="sidebar"> 2 2 <ul> 3 3 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> 4 4 <li> 5 5 <?php include (TEMPLATEPATH . '/searchform.php'); ?> 6 6 </li> … … 66 66 </ul> 67 67 </li> 68 68 <?php } ?> 69 69 70 <?php endif; ?> 70 71 </ul> 71 72 </div> 72 73