Changeset 46283 for trunk/src/wp-content/themes/twentytwenty
- Timestamp:
- 09/23/2019 11:16:59 PM (7 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwenty
- Files:
-
- 3 edited
-
footer.php (modified) (2 diffs)
-
functions.php (modified) (2 diffs)
-
inc/starter-content.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/footer.php
r46271 r46283 90 90 91 91 92 <?php if ( is_active_sidebar( ' footer-one' ) || is_active_sidebar( 'footer-two' ) ) { ?>92 <?php if ( is_active_sidebar( 'sidebar-1' ) || is_active_sidebar( 'sidebar-2' ) ) { ?> 93 93 94 94 <div class="footer-widgets-outer-wrapper"> … … 96 96 <div class="footer-widgets-wrapper"> 97 97 98 <?php if ( is_active_sidebar( ' footer-one' ) ) { ?>98 <?php if ( is_active_sidebar( 'sidebar-1' ) ) { ?> 99 99 100 100 <div class="footer-widgets column-one grid-item"> 101 <?php dynamic_sidebar( ' footer-one' ); ?>101 <?php dynamic_sidebar( 'sidebar-1' ); ?> 102 102 </div> 103 103 104 104 <?php } ?> 105 105 106 <?php if ( is_active_sidebar( ' footer-two' ) ) { ?>106 <?php if ( is_active_sidebar( 'sidebar-2' ) ) { ?> 107 107 108 108 <div class="footer-widgets column-two grid-item"> 109 <?php dynamic_sidebar( ' footer-two' ); ?>109 <?php dynamic_sidebar( 'sidebar-2' ); ?> 110 110 </div> 111 111 -
trunk/src/wp-content/themes/twentytwenty/functions.php
r46271 r46283 335 335 array( 336 336 'name' => __( 'Footer #1', 'twentytwenty' ), 337 'id' => ' footer-one',337 'id' => 'sidebar-1', 338 338 'description' => __( 'Widgets in this area will be displayed in the first column in the footer.', 'twentytwenty' ), 339 339 ) … … 347 347 array( 348 348 'name' => __( 'Footer #2', 'twentytwenty' ), 349 'id' => ' footer-two',349 'id' => 'sidebar-2', 350 350 'description' => __( 'Widgets in this area will be displayed in the second column in the footer.', 'twentytwenty' ), 351 351 ) -
trunk/src/wp-content/themes/twentytwenty/inc/starter-content.php
r46271 r46283 24 24 'widgets' => array( 25 25 // Place one core-defined widgets in the first tooter widget area. 26 ' footer-one' => array(26 'sidebar-1' => array( 27 27 'text_about', 28 28 ), 29 29 // Place one core-defined widgets in the second tooter widget area. 30 ' footer-two' => array(30 'sidebar-2' => array( 31 31 'text_business_info', 32 32 ),
Note: See TracChangeset
for help on using the changeset viewer.