📄 index.php
字号:
<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php if (have_posts()) : ?>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<?php while (have_posts()) : the_post(); ?>
<tr>
<td class="header"><span id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span></td>
<td class="header"><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></td>
</tr>
<tr>
<td colspan="2"><?php the_content('Read the rest of this entry »'); ?>
<div class="comments">Posted in <?php the_category(', ') ?> <strong>||</strong> <?php edit_post_link('Edit','','<strong>||</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></div>
<?php comments_template(); ?>
<!--
<?php trackback_rdf(); ?>
-->
</td>
</tr>
<?php endwhile; ?>
</table>
<div class="navigation">
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
<?php get_footer(); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -