説明
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’));?>
インストール
- 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.
評価
このプラグインにはレビューがありません。
貢献者と開発者
変更履歴
0.2
- Added description
- Bug fixes
0.1
- First release