Making WordPress.org


Ignore:
Timestamp:
05/30/2015 10:26:47 PM (7 years ago)
Author:
ocean90
Message:

Rosetta Theme: Enhancements

  • Move sidebar code to its own files.
  • Show blog section on front page only when show_on_front is posts.
  • Add some inline docs.

props ramiy.
fixes #1057, #1051.
see #1049.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php

    r1624 r1641  
    4141        </div>
    4242        <div class="col-3">
    43             <div class="blog-categories">
    44                 <h4><?php _e( 'Categories', 'rosetta' ); ?></h4>
    45                 <ul>
    46                     <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
    47                 </ul>
    48             </div>
     43            <?php get_sidebar( 'blog' ); ?>
    4944        </div>
    5045    </div>
Note: See TracChangeset for help on using the changeset viewer.