설명
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.
설치
- Upload plugin folder to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the shortcode in your editor
FAQ
- 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.