Title: insert
Author: ryanve
Published: <strong>2014년 1월 30일</strong>
Last modified: 2014년 1월 30일

---

플러그인 검색

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

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

# insert

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

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

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

 [지원](https://wordpress.org/support/plugin/insert/)

## 설명

### Usage

Use the `[insert]` shortcode inside posts or anywhere else that processes [shortcodes](https://codex.wordpress.org/Shortcode_API).

#### `[insert]` shortcode attributes

 * query – sets up a new [`WP_Query`](https://codex.wordpress.org/Class_Reference/WP_Query)
   via [`get_posts()`](https://codex.wordpress.org/Template_Tags/get_posts)
 * data – data to pass to actions
 * action – action to run, runs for each post if applicable
 * filter – filter to run, runs for each post if applicable
 * template – template to load via [`locate_template()`](https://codex.wordpress.org/Function_Reference/locate_template)

All attributes are optional and can be used in combination to yield powerful abilities.

### Abilities

Possibilities with `[insert]` are endless. Practical uses include:

 * Insert posts into posts
 * Insert hooks into posts
 * Insert posts into widgets
 * Run action hooks via widgets
 * Load templates via widgets

### Examples

#### Insert a template

    ```
    `
    ```

[insert template=”branding.php”]
 `

#### Insert an action

    ```
    `
    ```

[insert action=”dostuff”]
 `

#### Pass data to an action

    ```
    `
    ```

[insert data=”field=slug&value=example&tax=category” action=”dostuff”]
 `

The action receives data as an array.

    ```
    `
    ```

add_action(‘dostuff’, ‘print_r’);
 `

#### Insert a page via template

    ```
    `
    ```

[insert query=”name=about&post_type=page” template=”entry.php”]
 `

#### Insert a page via action

This sets up the query and triggers the action.

    ```
    `
    ```

[insert query=”name=about&post_type=page” action=”dostuff”]
 `

WP template tags are available inside the action.

    ```
    `
    ```

add_action(‘dostuff’, ‘the_title’);
 `

### Github

 * [github.com/ryanve/insert](https://github.com/ryanve/insert)

## 설치

Requires: PHP 5.3+

 1. Upload to the `/wp-content/plugins/` directory
 2. Activate through the Plugins menu in WordPress

## 후기

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

## 기여자 & 개발자

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

기여자

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

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

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

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

## 기초

 *  버전 **0.1.0**
 *  최근 업데이트: **12년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 2.7.0 또는 그 이상 **
 *  다음까지 시험됨: **3.8.0**
 *  언어
 * [English (US)](https://wordpress.org/plugins/insert/)
 * 태그:
 * [insert](https://ko.wordpress.org/plugins/tags/insert/)[shortcode](https://ko.wordpress.org/plugins/tags/shortcode/)
 *  [고급 보기](https://ko.wordpress.org/plugins/insert/advanced/)

## 평점

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

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

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

## 기여자

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

## 지원

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

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

## 기부

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

 [ 이 플러그인에 기부하기 ](http://gittip.com/ryanve)