Plugin Directory

Miniposts

What is the non-widget API?

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.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (1 reporting)

100%
100,1,1
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(6 ratings)