관리-도구
편집 파일: single.php
<?php get_header(); ?> <div class="websitez-container"> <?php if(have_posts()) : ?> <?php $i=0; ?> <?php while(have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-wrapper"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="post-title"><?php the_title(); ?></a> <?php if($websitez_options['general']['no_authors'] != 'yes'){ ?> <p class="post-author"><?php the_time('F j, Y') ?> <?php echo __("at"); ?> <?php the_time('g:i a')?> <?php echo __("by"); ?> <?php the_author(); ?></p> <?php } ?> <div style="clear: both;"></div> <div class="post-entry"><?php the_content(); ?></div> <?php wp_link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> <div style="clear: both;"></div> <?php if($websitez_options['general']['no_comments'] != 'yes'){ ?> <?php comments_template(); ?> <?php } ?> </div> </div> <?php $i++; ?> <?php endwhile; ?> <div class="navigation"> <?php posts_nav_link(' | ','« previous','next »'); ?> </div> <?php else : ?> <div class="post" id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h2><?php _e('No posts are added.'); ?></h2> </div> <?php endif; ?> </div> <?php get_footer(); ?>