게시판 답변이 생성됐습니다
-
2005/04/23 6:28 오전 #678
(수정)
1. 관리자 모드의 일반 설정에서 워드프레스 주소와 블로그 주소를 확인해 보세요
2. 퍼머링크 설정이 잘못된었을지도 모릅니다.
관리자 모드의 설정 (Option)>변하지 않는 링크 (permanent link)로 가서
설정이 어떻게 되어있는지 보고 설정되어있는 태그를 우선 삭제해 보고 정상적으로 작동하는지 확인해 보세요.
계속 동작이 이상하다면 다시 글을 올려주세요. ^^2005/04/20 12:48 오전 #657방법1 모든 테마에 모두 적용
index.php (루트에 있는 index.php에)
를 열어 blog header 를 includ 하기 전
(즉 require(‘./wp-blog-header.php’); 앞부분을 말합니다.)에다음을 넣어주세요
——————————————-$posts_per_archive_page = 10;
——————————————–
(여기서 page=10에서 10 은 목록 수입니다. 100개로 하려면 100,
모든 목록을 표시하려면 하려면 -1 늘 넣어주세요)모든 테마에 적응 시킬수 있습니다.
방법 2 해당 테마만 적용
archive.php 의 loop (<?php if (have_posts()) : ?>) 앞 에 다음을 넣어준다
————————————————————————–
<?php if (is_category()) { $posts = query_posts($query_string . ‘&showposts=10’); } ?><?php if (is_month()) { $posts = query_posts($query_string . ‘&showposts=10’); } ?>
———————————————————–
여기서 showposts=10 에서 10은 목록수입니다.
만약 모든 목록을 표시하려면 nopaging=1을 넣어주세요
2005/04/20 12:48 오전 #663방법1 모든 테마에 모두 적용
index.php (루트에 있는 index.php에)
를 열어 blog header 를 includ 하기 전
(즉 require(‘./wp-blog-header.php’); 앞부분을 말합니다.)에다음을 넣어주세요
——————————————-$posts_per_archive_page = 10;
——————————————–
(여기서 page=10에서 10 은 목록 수입니다. 100개로 하려면 100,
모든 목록을 표시하려면 하려면 -1 늘 넣어주세요)모든 테마에 적응 시킬수 있습니다.
방법 2 해당 테마만 적용
archive.php 의 loop (<?php if (have_posts()) : ?>) 앞 에 다음을 넣어준다
————————————————————————–
<?php if (is_category()) { $posts = query_posts($query_string . ‘&showposts=10’); } ?><?php if (is_month()) { $posts = query_posts($query_string . ‘&showposts=10’); } ?>
———————————————————–
여기서 showposts=10 에서 10은 목록수입니다.
만약 모든 목록을 표시하려면 nopaging=1을 넣어주세요
2005/04/19 9:21 오후 #655안녕하세요
제가 질문을 바르게 이해한것인지 모르겠네요
탬플렛 파일중에 archive.php 과 관계가 있습니다.
archive.php은
wp-content/themes/테마폴더/ 에 있습니다.
archive.php를 보시면
본문 내용을 출력하는 부분을 삭제 해 주시면 됩니다.
예들 들면 default 테마의 경우
42 번째 줄 정도에
<div class=”entry”>
<?php the_excerpt() ?>
</div>
<p class=”postmetadata”><?php the_category(‘, ‘) ?> <strong>|</strong> <?php edit_post_link(‘?섏젙’,”,'<strong>|</strong>’); ?> <?php comments_popup_link(‘?듦? ?놁쓬 »’, ‘1媛쒖쓽 ?듦? »’, ‘% 媛쒖쓽 ?듦? »’); ?></p><!–
<?php trackback_rdf(); ?>
–>
</div>
부분이 있습니다.이 부분을 삭제 해 주세요
그러면 목록으로 볼수 있습니다.
2005/04/19 9:21 오후 #661안녕하세요
제가 질문을 바르게 이해한것인지 모르겠네요
탬플렛 파일중에 archive.php 과 관계가 있습니다.
archive.php은
wp-content/themes/테마폴더/ 에 있습니다.
archive.php를 보시면
본문 내용을 출력하는 부분을 삭제 해 주시면 됩니다.
예들 들면 default 테마의 경우
42 번째 줄 정도에
<div class=”entry”>
<?php the_excerpt() ?>
</div>
<p class=”postmetadata”><?php the_category(‘, ‘) ?> <strong>|</strong> <?php edit_post_link(‘?섏젙’,”,'<strong>|</strong>’); ?> <?php comments_popup_link(‘?듦? ?놁쓬 »’, ‘1媛쒖쓽 ?듦? »’, ‘% 媛쒖쓽 ?듦? »’); ?></p><!–
<?php trackback_rdf(); ?>
–>
</div>
부분이 있습니다.이 부분을 삭제 해 주세요
그러면 목록으로 볼수 있습니다.
2005/04/14 12:21 오후 #496“트랙백 게시판”으로 링크를 클릭하세요
트래백이 되었습니다.
phpbb에서 트랙백 게시판을 만드는 법을 알지 못해 다른 보드를 통해 링크하였습니다.
2005/04/14 12:19 오후 #651웹호스팅에서 한 계정에서 여러개의 워드프레스의 설치가 가능한것으로
알고 있습니다.wp-config.php 에 있는 $table_prefix 를 수정해야 합니다.
예를 들어 기존 설치된 워드프레스가
$table_prefix = ‘wp_’; 라고 설정했다면
$table_prefix = ‘wp2_’; 이런 식으로 다르게 해야 합니다. ^^
2005/04/14 12:19 오후 #648웹호스팅에서 한 계정에서 여러개의 워드프레스의 설치가 가능한것으로
알고 있습니다.wp-config.php 에 있는 $table_prefix 를 수정해야 합니다.
예를 들어 기존 설치된 워드프레스가
$table_prefix = ‘wp_’; 라고 설정했다면
$table_prefix = ‘wp2_’; 이런 식으로 다르게 해야 합니다. ^^
2005/04/12 12:26 오전 #488(wp-config.php 설정 후 저장 할때는 ANSI 인코딩으로 하여야 합니다.)
처음 Word Press를 설치 할때 계속 아래와 같은 에러가 발생했습니다.
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…/wp-login.php on line 7
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…./wp-login.php on line 8
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…/wp-login.php on line 9
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…/wp-login.php on line 10
http://www.wordpress.org 의 포럼에 같은 에러를 발생한 유저들이 몇명 있었지만 해결책을 찾지 못했습니다.. (공백을 제거해라 ASCII 모드로 업로드하라는 했지만 계속 에러가 발생했습니다.)
알고 보니 원인은 바로 wp-config.php 파일에 있었습니다. wp-config.php 환경 설정하고 저장 할때 인코딩을 UTF-8 로 하여 에러가 발생했던 것입니다.
wp-config.php을 저장 할때 ANSI 인코딩으로 되어있는지 확인하여야 합니다.
2005/04/12 12:26 오전 #490(wp-config.php 설정 후 저장 할때는 ANSI 인코딩으로 하여야 합니다.)
처음 Word Press를 설치 할때 계속 아래와 같은 에러가 발생했습니다.
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…/wp-login.php on line 7
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…./wp-login.php on line 8
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…/wp-login.php on line 9
Warning: Cannot modify header information – headers already sent by (output started at /home/fromto/public_html/wordpress/wp-config.php:1) in /…/wp-login.php on line 10
http://www.wordpress.org 의 포럼에 같은 에러를 발생한 유저들이 몇명 있었지만 해결책을 찾지 못했습니다.. (공백을 제거해라 ASCII 모드로 업로드하라는 했지만 계속 에러가 발생했습니다.)
알고 보니 원인은 바로 wp-config.php 파일에 있었습니다. wp-config.php 환경 설정하고 저장 할때 인코딩을 UTF-8 로 하여 에러가 발생했던 것입니다.
wp-config.php을 저장 할때 ANSI 인코딩으로 되어있는지 확인하여야 합니다.
-
AuthorPosts