Fresh & Clean 테마 검색결과 페이지에 페이징 추가하기
이 블로그에서 사용 중인 Fresh & Clean Free Minimal WordPress Theme에는 검색 결과 페이지에 페이징이 추가되어 있지 않아 검색 결과가 모두 표시되지 않는다. 그래서 퇴근하고 잠시 시간을 내서 코드를 수정했다. 아래는 테마의 search.php 파일의 원래 코드이다. <div id=”post” class=”col span_8 clr”> <header id=”page-heading” class=”clr”> <h1 id=”search-results-title”><?php _e(‘Search Results For’,’wpex’); ?>: <?php the_search_query(); ?></h1> </header><!– #page-heading –> …