Description
Returns the excerpt outside the loop.
Usage:
where $attr
is an array with any of these keys:
- num_words: number of words
- more: replacement for […]
- length: number of letters to display, userful for multibyte string
Example:
’55’, ‘more’=>’.. Read more’));?>
Installation
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
return_excerpt($post_id, $attr);
returns excerpt.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Return Excerpt” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Return Excerpt” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change log
0.2
- Added description
- Bug fixes
0.1
- First release