Linux 软件免费装

Plugin Name

开发者 erigami
更新时间 2009年12月7日 10:29
PHP版本: 2.0.2 及以上
WordPress版本: 2.7

标签

widget twitter aside linkblog minipost

下载

0.6.10 0.6.11 0.6.12 0.6.13 0.6.14 0.6.8 0.6.9

详情介绍:

This plugin allows you to mark any post as a minipost. Miniposts are shown in a widget on your main page (or elsewhere). Features: NOTE: Version 0.6.8 and up requires Wordpress 2.7.

安装:

  1. Download and unzip.
  2. Copy the miniposts directory into your [wordpress-install]/wp-content/plugins directory.
  3. Activate the "Miniposts" plugin in your administrator panel.
  4. Add the "Miniposts" widget to your theme's sidebar.

常见问题:

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.

更新日志:

0.6.13 1.0 0.6.12 0.6.11