Making WordPress.org

Ticket #1047: rosetta-title-v2.patch

File rosetta-title-v2.patch, 1.2 KB (added by ramiy, 11 years ago)

better patch

  • page.php

     
    11<?php get_header(); ?>
     2<?php if (have_posts()) : ?>
     3        <?php while (have_posts()) : the_post(); ?>
     4        <div id="headline">
     5                <div class="wrapper">
     6                        <h2><?php the_title(); ?></h2>
     7                </div>
     8        </div>
    29        <div class="wrapper">
    310                        <div class="section">
    4 <?php
    5         while(have_posts()):
    6                 the_post();
    7 ?>
    811                                <div class="main">
    9                                 <h3><?php the_title(); ?></h3>
    10 
    1112                                        <?php the_content(); ?>
    1213                                </div>
    1314
     
    1819                                </div>
    1920                        </div>
    2021                </div>
    21 <?php
    22         endwhile;
    23         get_footer();
    24 ?>
     22        <?php endwhile; ?>
     23<?php endif; ?>
     24<?php get_footer(); ?>
  • single.php

     
    11<?php get_header(); ?>
    2         <div class="outer" id="mid-wrapper">
     2        <div id="headline">
    33                <div class="wrapper">
    4                         <div class="section blog">
    5                                 <h3><?php _e('Blog', 'rosetta');?></h3>
    6                         </div>
     4                        <h2><?php _e('Blog', 'rosetta');?></h2>
    75                </div>
    86        </div>
    97        <?php if (have_posts()) : ?>