WordPress.org

Making WordPress.org


Ignore:
Timestamp:
05/24/2015 08:06:47 PM (4 years ago)
Author:
ocean90
Message:

Rosetta Theme: Responsive and other improvements.

  • Add template for 404 error.
  • Add template for front page which was previously the index template.
  • Update index template to support static front page and page for posts.
  • Update comments template to use wp_list_comments() and comment_form().
  • Update styling of blog posts.

see #1049.

File:
1 edited

Legend:

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

    r465 r1615  
    1 <?php get_header(); ?>
    2     <div class="wrapper">
    3             <div class="section">
    41<?php
    5     while(have_posts()):
    6         the_post();
     2get_header();
     3
     4the_post();
    75?>
    8                 <div class="main">
    9                 <h3><?php the_title(); ?></h3>
    10 
    11                     <?php the_content(); ?>
    12                 </div>
    13 
    14                 <div class="sidebar">
    15 <?php
    16     include 'download-sidebar.php';
    17 ?>
    18                 </div>
     6    <div id="headline">
     7        <div class="wrapper">
     8            <h2><?php the_title(); ?></h2>
     9        </div>
     10    </div>
     11    <div id="pagebody">
     12        <div class="wrapper">
     13            <div class="col-9">
     14                <?php the_content(); ?>
     15            </div>
     16            <div class="col-3">
     17                <?php get_template_part( 'download-sidebar' ); ?>
    1918            </div>
    2019        </div>
     20    </div>
    2121<?php
    22     endwhile;
    23     get_footer();
    24 ?>
     22get_footer();
Note: See TracChangeset for help on using the changeset viewer.