Title: External Files
Author: adamh
Published: <strong>2009년 6월 21일</strong>
Last modified: 2009년 6월 21일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/external-files.svg)

# External Files

 작성자: [adamh](https://profiles.wordpress.org/adamh/)

[다운로드](https://downloads.wordpress.org/plugin/external-files.zip)

 * [세부사항](https://ko.wordpress.org/plugins/external-files/#description)
 * [평가](https://ko.wordpress.org/plugins/external-files/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/external-files/#installation)
 * [개발](https://ko.wordpress.org/plugins/external-files/#developers)

 [지원](https://wordpress.org/support/plugin/external-files/)

## 설명

External files provides a shortcode _[external]_ which can be used to insert the
contents of a file or url into the current post or page. The plugin will automatically
format the text based on the extension (for files) or mime type (for urls), using
Alex Gorbatchevs’ [Syntax Highlighter](http://alexgorbatchev.com) javascript.

The shortcode can accept three optional parameters:

 * _format_ can be used to specify a highlighting format, rather than letting the
   plugin decide which format to use
 * _start_ specifies a line number to output from, so sections of a file/url can
   be shown
 * _end_ specifies the line to stop at

See the installation page for usage examples.

The available formats are:

 * AS3
 * Bash
 * Cpp
 * CSharp
 * Css
 * Delphi
 * Diff
 * Groovy
 * Java
 * JavaFX
 * JScript
 * Perl
 * Php
 * Plain
 * PowerShell
 * Python
 * Ruby
 * Scala
 * Sql
 * Vb
 * Xml

### Future features

Following is a list of ideas and features to add:

 * _BASE\_PATH_ and _BASE\_URL_ options that can be used in the shortcode to avoid
   typing the same long path/url each time
 * a list of available formats with the checkboxes to enable/disable each individually,
   thus avoiding having to load all of them
 * an option for changing the theme of the syntax highlighter

## 설치

 1. Install the plugin and activate
 2. In a post or page, type [external]/path/to/your/script.txt[/external]

Examples:

[external]/path/to/file.php[/external]
 [external]http://my.website.com/about.html[/
external] [external start=10 end=20]/very/long/script.js[/external] [external format
=xml]/not/really/a-php-document.php[/external]

## FAQ

_My code isn’t being highlighted_

This might mean that the theme you are using doesn’t call wp_footer before the closing
body tag. The javascript that applies the highlighter is attached to the wp_footer
action – either try another theme (the default wordpress theme will work) or add
the theme by typing the following inside the closing body tag:

    ```
    <?php wp_footer(); ?>
    ```

_My code should be formatted as *x_, but is showing up as plain*

If you are specifying a format, are you using one from the available formats list(
see the Description page)? If you are not specifying a format, does the file have
a correct extension for the file type or is the web page returning with the correct
Content-Type header?

_I’m still stuck_

Get in touch, I’ll see what I can do!

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“External Files”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ adamh ](https://profiles.wordpress.org/adamh/)

[자국어로 “External Files”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/external-files)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/external-files/)는, [SVN 저장소](https://plugins.svn.wordpress.org/external-files/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/external-files/)
을 [RSS](https://plugins.trac.wordpress.org/log/external-files/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.1

_2009-06-21_
 * First version! Works for me, comments appreciated.

## 기초

 *  버전 **0.1**
 *  최근 업데이트: **17년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 2.5 또는 그 이상 **
 *  다음까지 시험됨: **2.8**
 *  언어
 * [English (US)](https://wordpress.org/plugins/external-files/)
 * 태그:
 * [code](https://ko.wordpress.org/plugins/tags/code/)[Highlight](https://ko.wordpress.org/plugins/tags/highlight/)
   [scripts](https://ko.wordpress.org/plugins/tags/scripts/)
 *  [고급 보기](https://ko.wordpress.org/plugins/external-files/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/external-files/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/external-files/reviews/)

## 기여자

 *   [ adamh ](https://profiles.wordpress.org/adamh/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/external-files/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://adamhopkinson.co.uk/)