Changeset 43571 for trunk/src/wp-includes/theme-compat/sidebar.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-compat/sidebar.php
r42343 r43571 21 21 /* Widgetized sidebar, if you have the plugin installed. */ 22 22 if ( ! function_exists( 'dynamic_sidebar' ) || ! dynamic_sidebar() ) : 23 23 ?> 24 24 <li> 25 25 <?php get_search_form(); ?> … … 32 32 --> 33 33 34 <?php35 if ( is_404() || is_category() || is_day() || is_month() ||34 <?php 35 if ( is_404() || is_category() || is_day() || is_month() || 36 36 is_year() || is_search() || is_paged() ) : 37 ?>37 ?> 38 38 <li> 39 39 40 <?php if ( is_404() ) : /* If this is a 404 page */ ?>40 <?php if ( is_404() ) : /* If this is a 404 page */ ?> 41 41 <?php elseif ( is_category() ) : /* If this is a category archive */ ?> 42 42 <p> … … 112 112 113 113 </li> 114 <?php endif; ?>114 <?php endif; ?> 115 115 </ul> 116 116 <ul role="navigation"> 117 <?php wp_list_pages( 'title_li=<h2>' . __( 'Pages' ) . '</h2>' ); ?>117 <?php wp_list_pages( 'title_li=<h2>' . __( 'Pages' ) . '</h2>' ); ?> 118 118 119 119 <li><h2><?php _e( 'Archives' ); ?></h2> … … 123 123 </li> 124 124 125 <?php126 wp_list_categories(127 array(128 'show_count' => 1,129 'title_li' => '<h2>' . __( 'Categories' ) . '</h2>',130 )131 );132 ?>125 <?php 126 wp_list_categories( 127 array( 128 'show_count' => 1, 129 'title_li' => '<h2>' . __( 'Categories' ) . '</h2>', 130 ) 131 ); 132 ?> 133 133 </ul> 134 134 <ul> 135 <?php if ( is_home() || is_page() ) { /* If this is the frontpage */ ?>136 <?php wp_list_bookmarks(); ?>135 <?php if ( is_home() || is_page() ) { /* If this is the frontpage */ ?> 136 <?php wp_list_bookmarks(); ?> 137 137 138 138 <li><h2><?php _e( 'Meta' ); ?></h2>
Note: See TracChangeset
for help on using the changeset viewer.