Making WordPress.org


Ignore:
Timestamp:
05/30/2015 10:26:47 PM (10 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/index.php

    r1624 r1641  
    3232        </div>
    3333        <div class="col-3">
    34             <div class="blog-categories">
    35                 <h4><?php _e( 'Categories', 'rosetta' ); ?></h4>
    36                 <ul>
    37                     <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?>
    38                 </ul>
    39             </div>
     34            <?php get_sidebar( 'blog' ); ?>
    4035        </div>
    4136    </div>
Note: See TracChangeset for help on using the changeset viewer.