Making WordPress.org

Ticket #114: wp-org-parent.diff

File wp-org-parent.diff, 2.0 KB (added by georgestephanis, 11 years ago)
  • wp-org-parent/footer.php

     
     1<?php
     2
     3require( WPORGPATH . 'footer.php' );
  • wp-org-parent/style.css

     
     1/*
     2Theme Name: WP.org Parent Theme
     3Theme URI: http://wordpress.org/
     4Description: This theme pulls in the default WordPress.org header and gives a handy starting point to building subdomain themes.
     5Author: WordPress.org Peeps
     6Author URI: http://make.wordpress.org/meta
     7Version: 1.0
     8License: GNU General Public License v2 or later
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html
     10*/
     11
  • wp-org-parent/index.php

     
     1<?php get_header(); ?>
     2
     3<div class="wrapper">
     4        <?php while( have_posts() ): the_post(); ?>
     5                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     6
     7                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
     8
     9                        <div class="entry-content">
     10                                <?php the_content(); ?>
     11                        </div><!-- .entry-content -->
     12
     13                </div><!-- #post-## -->
     14        <?php endwhile; ?>
     15</div><!-- /wrapper -->
     16
     17<?php get_footer(); ?>
  • wp-org-parent/header.php

     
     1<?php
     2$GLOBALS['pagetitle'] = wp_title( '&laquo;', false, 'right' ) . ' ' . get_bloginfo( 'name' );
     3require( WPORGPATH . 'header.php' );
     4?>
     5
     6<div id="headline">
     7                <div class="wrapper">
     8                                <h2><a href="<?php echo esc_url( home_url() ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
     9                </div>
     10</div>