Title: Include Me
Author: Stefano Lissa
Published: <strong>27 Tháng 4, 2010</strong>
Last modified: 5 Tháng 2, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/include-me/assets/banner-772x250.png?rev=3452726)

![](https://ps.w.org/include-me/assets/icon-256x256.png?rev=3452726)

# Include Me

 Bởi [Stefano Lissa](https://profiles.wordpress.org/satollo/)

[Tải về](https://downloads.wordpress.org/plugin/include-me.1.3.7.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/include-me/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/include-me/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/include-me/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/include-me/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/include-me/)

## Mô tả

Include Me helps to include in posts or pages external files usually to be shared

between different posts or pages or that contains PHP or other code that can be 
compromised by the visual editor.

The use is immediate: the shortcode [includeme] is all that you need (see the documentation

on [Include Me official page](https://www.satollo.net/plugins/include-me)).

The best way to use it is to include functionalities
 written in external PHP that
will be rendered in post body or to include pieces of javascript that will be hard
to add with WordPress editor.

Inclusions can be rendered with IFRAME if needed to create boxes that display
 external
web pages.

This plugin is made of few line of code, ultralite!

Other plugins by Stefano Lissa:

 * [Hyper Cache](https://www.satollo.net/plugins/hyper-cache)
 * [Newsletter](https://www.thenewsletterplugin.com)
 * [Header and Footer](https://www.satollo.net/plugins/header-footer)
 * [Thumbnails](https://www.satollo.net/plugins/thumbnails)

#### Translation

You can contribute to translate this plugin in your language on [WordPress Translate](https://translate.wordpress.org)

## Cài đặt

Once installed you can start to use the `[includeme]` shortcode to include external
file in your posts or pages.
 See the official page for example and options. The
inclusion folder is initially set to `WP_CONTENT_DIR/include-me`. You can change
it with a `define('INCLUDE_ME_DIR', '...')` in your `wp-config.php`. If you want
to enable the old behavior and be able to include from any location, use `define('
INCLUDE_ME_DIR', '*')`.

## Hỏi đáp

No questions have been asked.

## Đánh giá

![](https://secure.gravatar.com/avatar/69d3fba69471d81b8c1c7148086b30160b60eed88e5d3bfc0baf2dbda855c2e0?
s=60&d=retro&r=g)

### 󠀁[Works just fine in WP6](https://wordpress.org/support/topic/works-fin-in-wp6/)󠁿

 [nullx8](https://profiles.wordpress.org/nullx8/) 20 Tháng 7, 2022

using this plugin for forever, it just laks the feature to fetch external sources,
to accomplish this I added this in plugin.php if (isset($attrs['url'])) { return
file_get_contents($attrs['url'], 0, stream_context_create(["http"=>["timeout"=>3]]));}
this will fetch external URLs with the shortcode [includeme url=] With WP6 session
data is somewhat cached, which caused some issues, but overall it works just as 
expected.

![](https://secure.gravatar.com/avatar/7d28dcc151748f3c0e6fd545a893a2a207fc597a397577a129fd6c9980aa2b86?
s=60&d=retro&r=g)

### 󠀁[Great replacement for EasyPHP](https://wordpress.org/support/topic/great-replacement-for-easyphp/)󠁿

 [sleeplessinDC](https://profiles.wordpress.org/sleeplessindc/) 30 Tháng 12, 2021

I tried many plugins to find a plugin that would allow me to replace my PHP includes
statements with something that would work in the WordPress editor. This is the one!
Using the short code [includeme file=’/filename.php’] is all you need. And it works
with WordPress 5.8.2.

![](https://secure.gravatar.com/avatar/869926471d87ecf9a8cc8ff6fd26127fc0eae5048f8be21039394732a3f3b9e7?
s=60&d=retro&r=g)

### 󠀁[Last version broke my site! And no answer for the developer!](https://wordpress.org/support/topic/last-version-broke-my-site-and-no-answer-for-the-developer/)󠁿

 [ldeschenes](https://profiles.wordpress.org/ldeschenes/) 12 Tháng 8, 2021

The developer of this plugin released a buggy version and do not even care answering
the users for the last 3 weeks!!! Too bad! This plugin used to do the job for me
but not anymore. I am switching to the “Insert page” plugin which does the job and
is well manage.

![](https://secure.gravatar.com/avatar/72dee0ec763ebacf3648a1a204d8d6cce505d40f932592df3fe12db7fcef4552?
s=60&d=retro&r=g)

### 󠀁[Version control for pages](https://wordpress.org/support/topic/version-control-for-pages/)󠁿

 [rinogo](https://profiles.wordpress.org/rinogo/) 30 Tháng 7, 2021

I use this to enable version control (Git/GitHub) of custom code in vanilla WordPress
Pages. No more coding Pages in WordPress’ editor! 🎉

![](https://secure.gravatar.com/avatar/fdb7b89b5e0fe8ae27fbd37430bd4033ba0b292aa8172cf2750da2293de25b15?
s=60&d=retro&r=g)

### 󠀁[includeme posts](https://wordpress.org/support/topic/includeme-posts/)󠁿

 [davidjazz](https://profiles.wordpress.org/davidjazz/) 29 Tháng 7, 2021

Simple, easy to use when files are in the includeme folder. I use it to copy posts
into a page, works well, but… It would be nice if it had an option to copy the title
of the post as well. Dave

![](https://secure.gravatar.com/avatar/c80f922862846a18a93c0bb93479d3d34d83b84bcbdf8d4df4e9cb127653235d?
s=60&d=retro&r=g)

### 󠀁[Great plugin that does the job](https://wordpress.org/support/topic/great-plugin-that-does-the-job-4/)󠁿

 [asle](https://profiles.wordpress.org/asle/) 16 Tháng 7, 2021

So easy to use and does a great job including other php files and external sources.
So good I can almost not believe it is free 🙂

 [ Đọc tất cả 21 đánh giá ](https://wordpress.org/support/plugin/include-me/reviews/)

## Người đóng góp & Lập trình viên

“Include Me” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Stefano Lissa ](https://profiles.wordpress.org/satollo/)

“Include Me” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/include-me/contributors)
vì đóng góp của họ.

[Dịch “Include Me” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/include-me)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/include-me/), check out 
[SVN repository](https://plugins.svn.wordpress.org/include-me/), hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/include-me/)
qua [RSS](https://plugins.trac.wordpress.org/log/include-me/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.3.7

 * WP 6.9.1 check
 * Removed php execution of metafield content
 * Small code fix

#### 1.3.6

 * WP 6.9 check
 * PCP check

#### 1.3.5

 * Added filter to the post custom field content if unfiltered HTML is not allowed
 * Not clear why the post content if filtered by WP while the custom field is not.

#### 1.3.2

 * iframe fix

#### 1.3.1

 * Updated compatibility with WP 6.3.2

#### 1.3.0

 * Added an option to include files from any location

#### 1.2.2

 * Breaking change and security fix
 * includeme shortcode is executed only on posts owned by an administrator
 * includeme shortcode includes only files inside the blog folder (ABSPATH and below)

#### 1.2.1

 * Compatibility check with WP 5.7

#### 1.2.0

 * Compatibility check with WP 5.4.2
 * Increased minimum PHP version to 5.6

#### 1.1.8

 * Compatibility check with WP 5.2.4
 * Reorganized admin files

#### 1.1.7

 * General compatibility check with latest WP

#### 1.1.6

 * Add support for inclusion and execution of a post meta field

#### 1.1.5

 * Added support for inclusion of a post/page content

#### 1.1.4

 * Fixed a link

#### 1.1.3

 * Added usage search in posts and pages

#### 1.1.2

 * WP 4.4.2 compatibility check
 * Fixed few texts

#### 1.1.1

 * Added translation code

#### 1.1.0

 * Fixes

#### 1.0.9

 * Compatibility check for WP 4.0
 * readme.txt fix

#### 1.0.8

 * Compatibility check

#### 1.0.7

 * Performce improvements

#### 1.0.6

 * Improvements

#### 1.0.5

 * Added short codes execution feature on included content (by Rusty Eddy)

#### 1.0.4

 * Administrative styles and header

## Meta

 *  Phiên bản **1.3.7**
 *  Cập nhật lần cuối **2 tháng trước**
 *  Số lượt cài đặt **4.000+**
 *  Phiên bản WordPress ** 6.1 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Phiên bản PHP ** 7.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/include-me/) và [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/include-me/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/include-me)
 * Thẻ
 * [iframe](https://vi.wordpress.org/plugins/tags/iframe/)[include](https://vi.wordpress.org/plugins/tags/include/)
   [php](https://vi.wordpress.org/plugins/tags/php/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/include-me/advanced/)

## Đánh giá

 4.8 trên 5 sao.

 *  [  20 5-star reviews     ](https://wordpress.org/support/plugin/include-me/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/include-me/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/include-me/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/include-me/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/include-me/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/include-me/reviews/)

## Những người đóng góp

 *   [ Stefano Lissa ](https://profiles.wordpress.org/satollo/)

## Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

     0 trên 1

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/include-me/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.satollo.net/donations)