Making WordPress.org

Ticket #1047: rosetta-page-title.patch

File rosetta-page-title.patch, 778 bytes (added by ramiy, 11 years ago)
  • page.php

     
    11<?php get_header(); ?>
     2<?php if (have_posts()) : ?>
     3        <?php while (have_posts()) : the_post(); ?>
     4        <div class="outer" id="mid-wrapper">
     5                <div class="wrapper">
     6                        <div class="section">
     7                                <h3><?php the_title(); ?></h3>
     8                        </div>
     9                </div>
     10        </div>
    211        <div class="wrapper">
    312                        <div class="section">
    4 <?php
    5         while(have_posts()):
    6                 the_post();
    7 ?>
    813                                <div class="main">
    9                                 <h3><?php the_title(); ?></h3>
    10 
    1114                                        <?php the_content(); ?>
    1215                                </div>
    1316
     
    1821                                </div>
    1922                        </div>
    2023                </div>
    21 <?php
    22         endwhile;
    23         get_footer();
    24 ?>
     24        <?php endwhile; ?>
     25<?php endif; ?>
     26<?php get_footer(); ?>