开发者 | erigami |
---|---|
更新时间 | 2009年12月7日 10:29 |
PHP版本: | 2.0.2 及以上 |
WordPress版本: | 2.7 |
<!--more-->
tag.MiniPosts2 provides two functions, is_mini_post()
, and get_mini_posts()
.
is_mini_post()
- This function takes no arguments and can only be called from within the Loop. Returns true if the current post is a minipost, and false otherwise.
get_mini_posts($format = null, $limit = null)
- This function displays the existing miniposts. If either of the arguments are specified as non-null then the display is changed. The $format variable is used to specify a format, over-riding the values specified on the Options page.