WP : 퀵태그 more 수정하기

워드프레스 한글판을 설치해도 몇몇 영문들은 수정이 되지 않는다. 그 중에서 more 퀵태그를 사용할 경우 화면에는 (…more) 라고 표시되는 것을 알 수 있다.

블로그 이용에 전혀 불편함은 없지만, 이 부분까지 한글이나 기타 단어로 수정할 수 있다. 자신의 http://블로그주소/wp-includes/template-functions-post.php 파일을 텍스트에디터 등으로 열어서 60번째 줄과 67번째 줄의 (more…)부분만 자신에 기호에 따라 수정하면 된다.

60번째 줄 :

function the_content($more_link_text = '(more...)', $stripteaser = 0, $more_file = '') {
    $content = get_the_content($more_link_text, $stripteaser, $more_file);
    $content = apply_filters('the_content', $content);
    $content = str_replace('', ']]>', $content);
    echo $content;
}

67번째 줄 :

function get_the_content($more_link_text = '(more...)', $stripteaser = 0, $more_file = '') {
 
    global $id, $post, $more, $single, $withcomments, $page, $pages, $multipage, $numpages;
    global $preview;
    global $pagenow;
    $output = '';


2개의 의견이 있습니다. | 당신의 의견을 바랍니다.

  1. 1. Gravatar suksim | 2005.04.10 , 오전 11:16 · permallink

    이거 바꾸고 싶었는데, 좋은 정보 얻어갑니다.

  2. 2. Gravatar hooney | 2005.04.11 , 오전 09:11 · permallink

    글만 보면 설명이 부족하지만, template-functions-post.php 파일을 열어보면 쉽게 이해할 수 있을 거라 생각됩니다.

    more 퀵태그만큼 요약문 쓰기 기능도 편리한 것 같아요.

당신의 의견을 기다립니다.

사용할 수 있는 HTML 태그 : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Aboout Author

조훈 Hooney라는 ID로 온라인에서 활동하는 조훈입니다.
자세히 보기 »

CSS Reference

Hooney와 함께 만드는 CSS Reference!


Be Friend~! 웹 접근성 향상 캠페인