Beskrivning
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.
Skärmdumpar
Installation
- Upload plugin folder to the
/wp-content/plugins/
directory - Activate the plugin through the ’Plugins’ menu in WordPress
- Use the shortcode in your editor
Vanliga frågor
- 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
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Mindvalley Include Post Content” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Mindvalley Include Post Content” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
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.