這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

評價

2017年5月6日
I personnally have avny problem with this plugin. It works for me 100%.
閱讀全部3個評價

貢獻者及開發者

“Embed Post” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Embed Post 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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