📄 index.php
字号:
<?php get_header(); ?>
<?php if ( (function_exists('designby')) ) { ?>
<div id="primary" class="twocol-stories">
<div class="inside">
<div class="utom">
<?php include (TEMPLATEPATH . "/otherbar.php"); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="story">
<div class="datetime"><?php the_time('M') ?><span><?php the_time('jS') ?></span></div>
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="postin">
<span class="p_author"><?php the_author() ?></span>
<span class="p_category"><?php the_category(', ') ?></span>
<?php if ( (function_exists('UTW_ShowTagsForCurrentPost')) ) { ?><span class="p_tags"><?php UTW_ShowTagsForCurrentPost("commalist") ?></span><?php }?>
<span class="p_read"><a href="<?php the_permalink() ?>">Read on</a></span>
</div>
<?php the_content('Read the rest of this entry »'); ?>
<div class="details">
<div class="p_comments"><?php comments_popup_link('Add comments', '1 comment', '% comments'); ?></div>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<?php previous_posts_link('« Previous Entries') ?> | <?php next_posts_link('Next Entries »') ?>
</div>
</div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
<div class="clear"></div>
</div>
<!-- [END] #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php } else {
echo '</body>';
}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -