Home > WordPress > [WP] runPHP Plugin for WordPress

[WP] runPHP Plugin for WordPress

March 27th, 2006 Leave a comment Go to comments

워드프레스로 포스트나 페이지 작성시 php 태그를 사용할 수 있도록 해 주는 플러그인입니다. 테스트를 많이 해보지는 않았지만 간단한 태그는 별 무리없이 작동하는 것 같습니다.

Usage(사용법)

글쓰기 할 때, <?php ……php태그…… ?> 형식으로 작성해 주면 됩니다. 참고로 이 플러그인을 적용한 포스트의 경우, <code></code>보다 php 태그가 우선적으로 적용됩니다.

아래는 배포페이지에 있는 설치 방법을 번역한 것입니다.

Installation Instructions (설치설명서)

1. Download the latest version. 최근 버전을 다운로드 한다.

2. Unzip the contents (the entire runPHP directory) into /wp-content/plugins/
다운 받은 파일을 압축을 해제하고 runPHP 폴더를 통째로 워드프레스 플러그인 폴더(/wp-content/plugins/)에 업로드한다.

3. In Options > Writing 옵션 > 글쓰기에서 3-1. Turn off “WordPress should correct invalidly nested XHTML automatically”
"워드프레스는 잘못 표현된 XHTML 구문을 수정합니다."를 사용하지 않도록 체크표시를 없앤다.

3-2. Do not use this with the new visual rich editor
새로운 비쥬얼 리치 에디터와 함께 사용하면 안된다. 이 말은 Users > Your Profile 에 하단에 있는 "Use the visual rich editor when writing(글쓸때 비쥬얼 리치 에디터 사용)"를 사용하지 않도록 체크표시를 없애라는 말같습니다.

*** 원문에는 빠져있는데 4번을 하기 전에 플러그인을 사용할 수 있도록 Activate 상태로 해 줘야 합니다.

4. Visit the Options > runPHP page once and set who can use the plugin (default is Administrators)
옵션 > runPHP 페이지에서 이 플러그인을 사용할 수 있는 사람을 지정해 줍니다. (기본값은 Administrators즉, 관리자 입니다.)

5. Create a post and select the “run PHP code?” checkbox to enable PHP code to be dropped in to your post
글쓰기 페이지에서 “run PHP code?” 체크박스에 체크를 해주면, 글쓰기할 때 php 태그를 사용할 수 있습니다.

6. I10n support is available only if WP_LANG is defined in your wp-config.php file (An English translation is the only one included right now. You can use POEdit to make your own, though.)
I10n이 뭔지는 모르겠지만 대충 읽어보니 다국어를 지원한다는 얘기같네요. 물론 플러그인에는 영어만 되어있고, 다른 언어는 사용자가 만들어서 써야 된다고 합니다.

runPHP Plugin for WordPress 배포페이지 바로가기

Categories: WordPress Tags:
  1. No comments yet.
  1. No trackbacks yet.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes