Apraksts
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.
Uzstādīšana
- Upload plugin folder to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the shortcode in your editor
BUJ
- 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
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Mindvalley Include Post Content” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Mindvalley Include Post Content” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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.