- 
		
			
				2005/04/27 1:49 오후 #681안녕하세요 제가 그 스킨을 받아 해 보았는데 목록형식으로 출력가능합니다. default의 archive.php을 아래와 같이 수정해 보세요 ^^ 
 (잘 못 해서 불품은 없습니다. ^^;)archive.php 
 —————-<?php get_header(); ?> <?php if (is_category()) { $posts = query_posts($query_string . ‘&showposts=10’); } ?> 
 <?php if (is_month()) { $posts = query_posts($query_string . ‘&nopaging=1’); } ?><?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> 
 <?php /* If this is a category archive */ if (is_category()) { ?>
 <h2>갈래 ‘<?php echo single_cat_title(); ?>’ 글모음</h2><?php /* If this is a daily archive */ } elseif (is_day()) { ?> 
 <h2><?php the_time(‘Y년 F j일’); ?> 글모음</h2><?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 
 <h2><?php the_time(‘Y년 F’); ?> 글모음</h2><?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 
 <h2><?php the_time(‘Y’); ?>년 글모음</h2><?php /* If this is a search */ } elseif (is_search()) { ?> 
 <h2>검색 결과</h2><?php /* If this is an author archive */ } elseif (is_author()) { ?> 
 <h2>글쓴이 글모음</h2><?php /* If this is a paged archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?> 
 <h2>블로그 글모음</h2><?php } ?> <?php while (have_posts()) : the_post(); ?> <p>      <a href=”<?php the_permalink() ?> <?php the_title(); ?> “><?php the_title(); ?> 
 <?php the_time(‘Y년 F j일 l’) ?></a></p><?php endwhile; ?> <div><?php posts_nav_link(”,”,’« 이전 글’) ?></div> 
 <div><?php posts_nav_link(”,’다음 글 »’,”) ?></div>
 </div><?php else : ?> <h2 class=”center”>찾을 수 없습니다.</h2> 
 <?php include (TEMPLATEPATH . ‘/searchform.php’); ?><?php endif; ?> </div> 
 <?php get_sidebar(); ?>
 <?php get_footer(); ?>
- 
		AuthorPosts
- 답변은 로그인 후 가능합니다.
