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

Mindvalley Include Post Content

描述

This shortcode will allow you to include the content from any posts or pages.

Shortcode usage:

  • [mv_include id=’4′] (best for performance)
  • [mv_include slug=’the-post-slug’]
  • [mv_include path=’http://www.example.com/parent-page/sub-page/’]
  • [mv_include path=’parent-page/sub-page’]

The plugin also create a special post type that can be used for content that are for inclusion only.

屏幕截图

  • Summary of Included Page
  • Summary of Included Page (with snippet)
  • Front-end Visual Tool

安装

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcode in your editor

常见问题

What if the included content has shortcodes?

It will be executed as well. The returned content is passed through the ‘the_content’ filter.

Why [mv_include path] doesn’t work with post?

[mv_include path] only works with Pages. Why you say? I say … why not? :p

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

更新日志

1.3.2

  • Remove short tag for servers that doesn’t support short tags. (Thanks to kvandekrol – https://wordpress.org/support/profile/kvandekrol)

1.3

  • Added custom hidden post type for content that are just for inclusion to prevent duplication in display (e.g. RSS).

1.2.2

  • Fix bug on metabox

1.2.2

  • Fix Include Content Metabox bug when visual editor is disabled

1.2.1

  • CSS bugs

1.2

  • Added support for page paths.
  • Added metabox to show summary of all included content on the page.
  • Added visual layer on front-end.

1.1

  • Added support for post / page slugs.

1.0

  • Initial Release.