Title: Embed Post
Author: Ghanshyam Khanal
Published: <strong>2013 年 1 月 6 日</strong>
Last modified: 2020 年 2 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Embed Post

 作者：[Ghanshyam Khanal](https://profiles.wordpress.org/gskhanal/)

[下载](https://downloads.wordpress.org/plugin/embed-post.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/embed-post/#description)
 * [评价](https://cn.wordpress.org/plugins/embed-post/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/embed-post/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/embed-post/#developers)

 [支持](https://wordpress.org/support/plugin/embed-post/)

## 描述

Embed a Post title or excerpt or featured image or content within another Post or
Page. Use the shortcode([embed_post post_id=”123″ type=”content”])

## 安装

 1. Upload `embed-post` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[embed_post post_id="123" type="content"]` in posts or pages where `post_id`
    is the id of post you want to embed and type is what you want to embed, if you 
    do not define type then by default `excerpt` will get embeded. `content`, `title`
    and `image` are other options you can embed.
 4. For `type="content"` you can limit no of words to display by adding one more option
    e.g. `[embed_post post_id="123" type="content" limit_word="10"]` will embed 10 
    words of content of post_id 123
 5. Embed featured image: `[embed_post post_id="123" type="image" size="medium" hide_more
    ="1"]`

## 常见问题

Q. Can I embed unpublished posts?
 A. No, this plugin only embeds post which is 
published.

Q. What will happen if I do not specify `post_id`?
 A. Nothing will happen if you
do not specify `post_id` in Shortcode.

Q. What will happen if I do not specify `type`?
 A. By default, `post excerpt` will
be embedded if you do not specify `type` in Shotcode.

## 评价

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

### 󠀁[Tested](https://wordpress.org/support/topic/tested-12/)󠁿

 [Klodd65](https://profiles.wordpress.org/klodd65/) 2017 年 5 月 6 日

I personnally have avny problem with this plugin. It works for me 100%.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/embed-post/reviews/)

## 贡献者及开发者

「Embed Post」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ghanshyam Khanal ](https://profiles.wordpress.org/gskhanal/)

[帮助将「Embed Post」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/embed-post)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/embed-post/)，查看[SVN仓库](https://plugins.svn.wordpress.org/embed-post/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/embed-post/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/embed-post/)。

## 更新日志

#### 1.1

 * Added support for embedding featured image: `[embed_post post_id="123" type="
   image" size="medium" hide_more="1"]`.

#### 0.3

 * Added support of removing read more link: [embed_post post_id=”123″ type=”content”
   hide_more=”1″].

#### 0.2

 * Added support of limiting number of words in content.

#### 0.1

 * First Release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.6 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  语言
 * [English (US)](https://wordpress.org/plugins/embed-post/)
 * 标签
 * [content](https://cn.wordpress.org/plugins/tags/content/)[embed](https://cn.wordpress.org/plugins/tags/embed/)
   [excerpt](https://cn.wordpress.org/plugins/tags/excerpt/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/embed-post/advanced/)

## 评级

 4.3 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/embed-post/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/embed-post/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/embed-post/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/embed-post/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/embed-post/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/embed-post/reviews/)

## 贡献者

 *   [ Ghanshyam Khanal ](https://profiles.wordpress.org/gskhanal/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/embed-post/)