外掛說明
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.phpto 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