mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
git-svn-id: https://develop.svn.wordpress.org/trunk@2032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
36
index.php
36
index.php
@@ -1,38 +1,4 @@
|
||||
<?php
|
||||
/* Don't remove this line. */
|
||||
require('./wp-blog-header.php');
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
<?php the_date('','<h2>','</h2>'); ?>
|
||||
|
||||
<div class="post">
|
||||
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
|
||||
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
|
||||
|
||||
<div class="storycontent">
|
||||
<?php the_content(__('(more...)')); ?>
|
||||
</div>
|
||||
|
||||
<div class="feedback">
|
||||
<?php wp_link_pages(); ?>
|
||||
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<?php trackback_rdf(); ?>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
<?php comments_template( is_single() ); // Get wp-comments.php template ?>
|
||||
|
||||
<?php endwhile; else: ?>
|
||||
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
?>
|
||||
Reference in New Issue
Block a user