Making WordPress.org


Ignore:
Timestamp:
10/04/2017 06:38:13 PM (7 years ago)
Author:
obenland
Message:

Main: Introduce cube grid to manage small sceens

Adds a comfortable way to manage page structure and widget arrangement on small
screens.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/sidebar.php

    r5892 r5998  
    1717        dynamic_sidebar( 'sidebar-1' );
    1818    else: ?>
    19         <h4><?php _e( 'Categories', 'wporg' ); ?></h4>
    20         <ul>
    21             <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
    22         </ul>
     19        <div class="widget">
     20            <h4><?php _e( 'Categories', 'wporg' ); ?></h4>
     21            <ul>
     22                <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
     23            </ul>
     24        </div>
    2325
    24         <h4><?php _e( 'Blog Archives', 'wporg' ); ?></h4>
    25         <ul>
    26             <?php wp_get_archives( 'type=monthly&limit=12' ); ?>
    27         </ul>
     26        <div class="widget">
     27            <h4><?php _e( 'Blog Archives', 'wporg' ); ?></h4>
     28            <ul>
     29                <?php wp_get_archives( 'type=monthly&limit=12' ); ?>
     30            </ul>
     31        </div>
    2832    <?php endif; ?>
    2933</aside><!-- #secondary -->
Note: See TracChangeset for help on using the changeset viewer.