This plugin hasnt been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
WP Advanced Include
Description
WP Advanced Include creates an [include] shortcode which can be used to add content from any Post or Page on your site including Post Content, Post Excerpt and Post Meta
Shortcode Attributes:
content_id = [int] The id of the post or page you wish to include content from.
content_limit = [int] Limits the content if required, set to a value less than 1 to remove limiting – Default 0
content_limit_type [βwordsβ|βcharsβ] Sets the content limit to be words or characters – Default βwordsβ
content_limit_append [string|empty string] Text to be appended to the end of the content if limited – Default β&hellipβ
content_type [post_content|post_excerpt|post_title|βmeta nameβ] The content type to be included, if meta name, specify meta name. – Default βpost_contentβ
do_shortcode [true|false] Specify whether to parse shortcodes of not – Default βtrueβ
Caution
The use of [include] to include itself with do_shortcode set to true will create an infinite loop, use wisely.
Samples
simple include of post content
[include content_id=x]
include first 50 words of post content
[include content_id=x content_limit=50]
include first 150 characters of post content
[include content_id=x content_limit=150 content_limit_type=chars]
*include βcustom_meta_nameβ meta from post X
[include content_id=x content_type=βcustom_meta_nameβ]
Installation
- Download the plugin to your computer
- Extract the contents
- Upload (via FTP) to a sub folder of the WordPress plugins directory
- Activate the plugin in the admin dashboard.
FAQ
- No other questions yet!
-
π
Reviews
There are no reviews for this plugin.
Contributors & Developers
“WP Advanced Include” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP Advanced Include” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Initial Release
- No changes